View source: R/precipAggregate.R
Aggregate daily precipitation to monthly.
1 2 3 4 5 6 7 8 9 10 | precip_daily2month(
start_day,
end_day,
dirDay,
inFormat,
dirOUT,
outFormat,
min_frac = 0.9,
long_name = "Merged AWS-Radar monthly rainfall"
)
|
start_day, end_day |
start and end date of the period to aggregate with format YYYY-mm-dd |
dirDay |
full path to the directory containing the NetCDF files |
inFormat |
format of the input file name. Ex: "precip_mrg_%s%s%s.nc" |
dirOUT |
full path to the directory to save the aggregate data |
outFormat |
format of the output file name. Ex: "precip_mrg_%s%s.nc" |
min_frac |
minimum fraction of non missing values |
long_name |
long name for the NetCDF variable precip |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.