Description Usage Arguments Value Examples
Processing routines applied to ERAINT reanalysis to estiamte global evaporation and atmospheric moisture content
1 2 3 | evaporation(fname = "~/Downloads/ERAINT_t2m.nc", R.s = 18.02)
moistflux(fname = "~/Downloads/ERAINT_Qs.nc")
columnH2O(fname = "~/Downloads/ERAINT_Q-columntotal.nc")
|
fname |
File name |
R.s |
specific gas constant for water vapour |
time series objects Es
, Rho
, Qs
, and H2O
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (fname = "~/Downloads/ERAINT_t2m.nc", R.s = 18.02)
{
t2m <- retrieve(fname)
es <- C.C.eq(mask(t2m, land = TRUE))
rho <- es/(R.s * (t2m + 273.15))
es.50S50N <- aggregate.area(subset(es, is = list(lon = range(lon(es)),
lat = c(-50, 50))), FUN = "mean")
es.90S50S <- aggregate.area(subset(es, is = list(lon = range(lon(es)),
lat = c(-90, -50))), FUN = "mean")
es.50N90N <- aggregate.area(subset(es, is = list(lon = range(lon(es)),
lat = c(50, 90))), FUN = "mean")
rho.50S50N <- aggregate.area(subset(rho, is = list(lon = range(lon(es)),
lat = c(-50, 50))))
rho.90S50S <- aggregate.area(subset(rho, is = list(lon = range(lon(es)),
lat = c(-90, -50))))
rho.50N90N <- aggregate.area(subset(rho, is = list(lon = range(lon(es)),
lat = c(50, 90))))
Es <- combine.stations(es.50S50N, es.90S50S, es.50N90N)
Rho <- combine.stations(rho.50S50N, rho.90S50S, rho.50N90N)
save(Es, file = "Es.rda")
save(Rho, file = "Rho.rda")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.