The ERA5Dataset
superType
ERA5 reanalysis data is stored on the Climate Data Store in several different categories, so different people with different needs may access different data types depending on their research. In ERA5Reanalysis, we defined these datasets as ERA5Dataset
Types.
When defining an ERA5Dataset
container, we also indicate the start and end dates of the dataset that we want to work on.
ERA5Reanalysis.ERA5Dataset
— TypeERA5Dataset
Abstract supertype for ERA5 reanalysis datasets.
All ERA5Dataset
Types contain the following fields:
e5dID
: The module ID, that also acts as a prefix to filenameseroot
: The specified directory in which to save the datastart
: The date for which downloads/analysis beginsstop
: The date for which downloads/analysis finishesdtext
: Is it the preliminary back extension from 1950-1978?
The ERA5MonthlyHour
subType also has the field hours
that specifies the hour(s) of day for which monthly data is downloaded
Available Modules in ERA5Reanalysis.jl
The following datasets are currently supported by ERA5Reanalysis.jl:
- Hourly reanalysis data (
ERA5Hourly
) - Monthly reanalysis data, which is further broken down in
- Monthly-averaged data (
ERA5Monthly
) - Monthly-averaged hourly data (i.e. a monthly average of the diurnal cycle) (
ERA5MonthlyHour
)
- Monthly-averaged data (
ERA5Reanalysis.ERA5Hourly
— TypeERA5Hourly <: ERA5Dataset
Specifies that the dataset to be analyzed contains hourly data. All fields are the same as that specified in the ERA5Dataset
docstring.
ERA5Reanalysis.ERA5Monthly
— TypeERA5Monthly <: ERA5Dataset
Specifies that the dataset to be analyzed contains monthly-mean data. All fields are the same as that specified in the ERA5Dataset
docstring.
Missing docstring for ERA5MonthlyHour
. Check Documenter's build log for details.
There are other potential modules that could be incorporated into ERA5Reanalysis.jl, such as
- ERA5-Land data
- Ensemble model averages, individual members, and standard deviations
Functions to create ERA5Dataset
s
There are two functions used to create ERA5Dataset
s:
ERA5Hourly()
, which creates theERA5Hourly
subtypeERA5Monthly()
, which creates either theERA5Monthly
orERA5MonthlyHour
subtypes depending on inputs
ERA5Reanalysis.ERA5Hourly
— MethodERA5Hourly(;
start :: TimeType,
stop :: TimeType,
path :: AbstractString = homedir(),
) -> ERA5Hourly <: ERA5Dataset
A function that creates an ERA5Hourly
module. All possible hours are downloaded, and data is saved month-by-month.
Keyword Arguments
path
: The specified directory in which to save the datastart
: The date for which downloads/analysis begins, automatically rounded to the nearest monthstop
: The date for which downloads/analysis finishes, automatically rounded to the nearest month
ERA5Reanalysis.ERA5Monthly
— MethodERA5Monthly(;
start :: TimeType,
stop :: TimeType,
path :: AbstractString = homedir(),
hours :: Bool = false,
) -> ERA5Monthly <: ERA5Dataset or ERA5MonthlyHour <: ERA5Dataset
A function that creates an ERA5Monthly
or ERA5MonthlyHour
module depending on the input arguments of hours
. Data is saved year-by-year.
Keyword Arguments
path
: The specified directory in which to save the datastart
: The date for which downloads/analysis begins, automatically rounded to the nearest yearstop
: The date for which downloads/analysis finishes, automatically rounded to the nearest yearhours
: If false, download monthly-averaged data. If true, download monthly-averaged data for each hour