Description Usage Arguments Details Value Author(s) Examples
mHM_checkT
proves if minimum air temperature is lower than maximum air temperature.
If it is not the case values are interchanged.
1 | mHM_checkT(nc.tmin, nc.tmax)
|
nc.tmin |
netCDF of minimum air temperature. |
nc.tmax |
netCDF of maximum air temperature. |
Runing mHM the first time for some netCDF products (e.g. Spain02, E-OBS) the warning Tmax smaller than Tmin (or wise versa) will be printed. This function makes consistant minmum and maximum air temperature fields in netCDF format.
re-write input netCDF files with consistent air temperature extremes.
Johannes Brenner johannes.brenner@ufz.de
1 2 3 4 5 | pkg_path <- path.package("mHMr")
tmin_netcdf <- file.path(pkg_path, "inst/ext_data", "tmin.nc")
tmax_netcdf <- file.path(pkg_path, "inst/ext_data", "tmax.nc")
mHM_checkT(nc.tmin = tmin_netcdf, nc.tmax = tmax_netcdf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.