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.
ERA5Reanalysis.ERA5Variable — Type
ERA5VariableAbstract supertype for ERA5 variables, with the following subtypes
SingleLevel <: ERA5Variable
PressureLevel <: ERA5VariableAll ERA5Variable Types contain the following fields:
ID: The variable ID, that is also the identifier in the NetCDF filesname: The full-name of the variablelong: The variable long-name, which is used to specify retrievals from CDSdataset: The full-name of the variableunits: The units of the variable
All PressureLevel Types contain the following fields:
hPa: The pressure level (in hPa) of the pressure-variable of interest
SingleLevel and PressureLevel variables
There are two main ERA5Variable types in ERA5 reanalysis:
SingleLevelvariables, such as surface temperature, or total cloud cover, that are provided in the (lon,lat) spacePressureLevelvariables, such as atmospheric temperature, or specific humidity, that are provided in the (lon,lat,pressure) space
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, where XXVariable represents a variable that is available directly from CDS, and XXCustom variables are user-defined variables. XXCustom variables therefore 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.
ERA5Reanalysis.SingleCustom — Type
SingleCustom <: SingleLevelSubtype for custom user-defined Single-Level variables, which can only be calculated and not downloaded from the Climate Data Store.
ERA5Reanalysis.PressureVariable — Type
PressureVariable <: PressureLevelSubtype for Pressure-Level variables that can be directly retrieved from the Climate Data Store.
ERA5Reanalysis.PressureCustom — Type
PressureCustom <: PressureLevelSubtype for custom user-defined Pressure-Level variables which can only be calculated and not downloaded from the Climate Data Store.