Learn R Programming

rSQM (version 1.3.14)

GhcnDailyUpdate: Update Observation Data from GHCN(Global Historical Climatology Network)

Description

When user does not have own observation dataset, one can download it from GHCN. However, not recommended since NA values are too many.

Usage

GhcnDailyUpdate(NtlCode, stndir, syear_obs, eyear_obs)

Arguments

NtlCode

2 digit country(national) code, EnvList$NtlCode

stndir

directory where downloaded data from GHCN located, EnvList$stndir

syear_obs

start year of observation, EnvList$syear_obs

eyear_obs

end year of observation, EnvList$eyear_obs

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
## You can download observation data of Myanmar(MY) from 1969 to 2005 into current working directory
GhcnDailyUpdate(NtlCode="MY", stndir=getwd(), syear_obs=1969, eyear_obs=2005)
# }

Run the code above in your browser using DataLab