Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Welcome to the esd wiki!
The esd R package or library is made freely available by the Norwegian Meteorological Institute (MET Norway) and is for use by the climate community (see documentation). It was primarily built for statistical downscaling of climate variables and parameters form global climate models (e.g. ENSEMBLEs, CMIP3/5 model results), and has recently been extended to deal with data I/O (e.g. global climate datasets), statistical analysis, and visualization.
If you use esd and want to register, please use our form. If we know that there are many who use it, then it will give us stronger justification to spend our effort on further developement. We also have a Facebook page where we announce changes etc.
Please cite the esd package as following: Benestad et al.. (2015). esd V1.0. Zenodo. 10.5281/zenodo.29385 (http://dx.doi.org/10.5281/zenodo.29385).
The esd is a new generation of analysis and downscaling tool that originated from clim.pact, and the compendium on downscaling still applies to esd in general, but the examples are old and specific to clim.pact.
It consists in i) retrieving and manipulating large samples of climate and model data from various sources, ii) computing Empirical Orthogonal Functions (EOFs), Principal Component Analysis (PCA), and Multi-Variate Regressions (MVRs) using very simple R commands and procedures (See Examples).
The esd library has been built with the emphasis of traceability, compatibility, and transparency of the data, methods, procedures, and results.
As the library has been built on R system, it inherits from the large number of R built-in functions and procedures.
The esd library can be easily tailored to various downscaling projects with few adaptations such as the few examples shown here. Further examples are presented as Rmarkdown files and Rshiny apps also available on github.com.
The main functionalities of the
- Formatted datasets (
- Select weather station from meta data (stationmeta) based on a list of selection criteria (
- Retrieving data from observational weather stations included in the package (
- Retrieving field data from a netcdf file (
- Regridding (
- Subsetting (
- Aggregating - Spatial and temporal aggregation (
- Empirical Orthogonal Functions for fields' objects (
- Principal component Analysis for stations' objects (
- Downscale an ensemble of stations (
- Downscale an ensemble of stations from an ensemble of gcms (
- Plots for esd objects (
- Maps for esd objects (