precip_daily2month: Precipitation aggregation from daily to monthly

Description Usage Arguments

View source: R/precipAggregate.R

Description

Aggregate daily precipitation to monthly.

Usage

 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"
)

Arguments

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


rijaf-iri/mtorwdata documentation built on March 9, 2021, 6:36 a.m.