gr_read_rean | R Documentation |
The function reads meteorological variables (temperature and precipitation) from grwat reanalysis for using with gr_join_rean()
. Reanalysis covers the East European Plain with 0.75 degrees spatial resolution and is obtained based on CIRES-DOE (1880-1949) and ERA5 (1950-2021) data.
gr_read_rean(file_prec, file_temp)
file_prec |
Character string path to precipitation NetCDF file. |
file_temp |
Character string path to temperature NetCDF file. |
Download the reanalysis archive from here.
list
containing time series, precipitation series, temperature series
and spatial points (sf)
if (require("sf") && require("ncdf4")) {
library(grwat)
# read reanalysis data
## Not run:
rean = gr_read_rean(
'/Volumes/Data/Spatial/Reanalysis/grwat/pre_1880-2021.nc',
'/Volumes/Data/Spatial/Reanalysis/grwat/temp_1880-2021.nc'
)
str(rean)
## End(Not run)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.