Reads an 0.5-degree daily precipitation file produced by the CPC Gauge-Based Analysis of Global Daily Precipitation project, as described at ftp://ftp.cpc.ncep.noaa.gov/precip/CPC_UNI_PRCP/GAUGE_GLB/DOCU/PRCP_CU_GAUGE_V1.0GLB_0.50deg_README.txt

read_ncep_daily_precip(fname, mv = -999)

Arguments

fname

filename to read

mv

NODATA value

Value

a matrix of daily precipitation values in 0.1 mm/day

Details

The files are in a GrADS format. URL to download an example file: ftp://ftp.cpc.ncep.noaa.gov/precip/CPC_UNI_PRCP/GAUGE_GLB/RT/2017/