Variable Types in ERA5Reanalysis.jl
In order to download data from the Climate Data Store, we need to specify at least a variable to download. This variable can be one found directly from CDS, or it can be a custom user-defined variable (in which case it has to be calculated by the user). Information regarding this variable will be loaded into an ERA5Variable.
Setup
using ERA5ReanalysisThe ERA5Variable Type
Missing docstring.
Missing docstring for ERA5Variable. Check Documenter's build log for details.
SingleLevel and PressureLevel Variables
There are two main ERA5Variable types in ERA5 reanalysis:
SingleLevelvariables - such as surface temperature, or total cloud cover, provided in the (lon, lat) spacePressureLevelvariables - such as atmospheric temperature, or specific humidity, provided in the (lon, lat, pressure) space
| SuperType | CDS Variable | Custom Variable |
|---|---|---|
SingleLevel | SingleVariable | SingleCustom |
PressureLevel | PressureVariable | PressureCustom |
ERA5Reanalysis.SingleLevel Type
SingleLevel <: ERA5VariableAbstract supertype for Single-Level variables, with the following subtypes:
SingleVariable <: SingleLevel
SingleCustom <: SingleLevelERA5Reanalysis.PressureLevel Type
PressureLevel <: ERA5VariableAbstract supertype for Single-Level variables, with the following subtypes:
PressureVariable <: PressureLevel
PressureCustom <: PressureLevelCustom ERA5Variables
Each of these supertypes are further broken down into XXVariable and XXCustom subtypes:
XXVariablerepresents a variable that is available directly from CDSXXCustomvariables are user-defined variables
Warning
XXCustom variables cannot be downloaded - trying to do so will result in a method error - and can only be calculated from existing variable data.
ERA5Reanalysis.SingleVariable Type
SingleVariable <: SingleLevelSubtype for Single-Level variables that can be directly retrieved from the Climate Data Store.
sourceERA5Reanalysis.SingleCustom Type
SingleCustom <: SingleLevelSubtype for custom user-defined Single-Level variables, which can only be calculated and not downloaded from the Climate Data Store.
sourceERA5Reanalysis.PressureVariable Type
PressureVariable <: PressureLevelSubtype for Pressure-Level variables that can be directly retrieved from the Climate Data Store.
sourceERA5Reanalysis.PressureCustom Type
PressureCustom <: PressureLevelSubtype for custom user-defined Pressure-Level variables which can only be calculated and not downloaded from the Climate Data Store.
source