precip_5min2hour: Precipitation aggregation to hourly

Description Usage Arguments

View source: R/precipAggregate.R

Description

Aggregate precipitation accumulation from single scan to hourly.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
precip_5min2hour(
  start_time,
  end_time,
  dir5MIN,
  dirOUT,
  min_frac = 0.75,
  time_zone = "Africa/Kigali",
  in_file_prefix = "qpe_",
  out_file_prefix = "precip_"
)

Arguments

start_time, end_time

start and end time of the period to aggregate same time zone as time_zone, format "YYYY-mm-dd HH:MM"

dir5MIN

full path to the directory containing the single scan NetCDF files

dirOUT

full path to the directory to save the aggregate data

min_frac

minimum fraction of non missing values

time_zone

the time zone of start_time, end_time, the input and output netCDF files. Options: "Africa/Kigali" or "UTC". Default "Africa/Kigali"

in_file_prefix

prefix of the input file names. Default "qpe_"

out_file_prefix

prefix of the output file names. Default "precip_"


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