View source: R/precipAggregate.R
Aggregate hourly precipitation to daily.
1 2 3 4 5 6 7 8 9 10 11 12 | precip_hour2daily(
start_hour,
end_hour,
dirHour,
inFormat,
dirOUT,
outFormat,
obs_hour = 8,
min_frac = 0.9,
time_zone = "Africa/Kigali",
long_name = "Merged AWS-Radar daily rainfall"
)
|
start_hour, end_hour |
start and end time of the period to aggregate
same time zone as |
dirHour |
full path to the directory containing the NetCDF files |
inFormat |
format of the input file name. Ex: "precip_adj_%s%s%s%s.nc" |
dirOUT |
full path to the directory to save the aggregate data |
outFormat |
format of the output file name. Ex: "precip_adj_%s%s%s.nc" |
obs_hour |
observation hour in local time. Default 8h for Rwanda |
min_frac |
minimum fraction of non missing values |
time_zone |
the time zone of |
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.