Skip to content

Dummy Datasets

Dummy datasets are meant to specify the paths to the ERA5 data root directory and LandSea folder, without needing inputs for date.

Setup

julia
using ERA5Reanalysis

Creating a Dummy Dataset

julia
e5ds = ERA5Dummy(path=homedir())
The ERA5Monthly Module has the following properties:
    Mask Directory (emask) : /home/runner/emask
julia
isdir(e5ds.emask)
true

Use Cases

Dummy datasets are particularly useful for:

  • Retrieving Land-Sea masks without specifying date ranges

  • Setting up directory structures before downloading data

  • Testing path configurations

API

ERA5Reanalysis.ERA5Dummy Type
julia
ERA5Dummy <: ERA5Dataset

The ERA5Dummy dataset contains only information on the data and mask paths.

source
ERA5Reanalysis.ERA5Dummy Method
julia
ERA5Dummy(;
    path  :: AbstractString = homedir(),
) -> ERA5Dummy <: ERA5Dataset

A function that creates a dummy ERA5Dataset that contains only information on the path of the ERA5 LandSea mask

Keyword Arguments

  • path : The specified directory in which to save the data
source