credit.datasets.era5_singlestep#

Attributes#

Classes#

Module Contents#

class credit.datasets.era5_singlestep.ERA5_and_Forcing_SingleStep(varname_upper_air, varname_surface, varname_dyn_forcing, varname_forcing, varname_static, varname_diagnostic, filenames, filename_surface=None, filename_dyn_forcing=None, filename_forcing=None, filename_static=None, filename_diagnostic=None, history_len=2, forecast_len=0, transform=None, seed=42, skip_periods=None, one_shot=None, max_forecast_len=None, sst_forcing=None)#

Bases: credit.data.ERA5_and_Forcing_Dataset

Deprecated A Pytorch Dataset class that works on the following kinds of variables.

  • upper-air variables (time, level, lat, lon)

  • surface variables (time, lat, lon)

  • dynamic forcing variables (time, lat, lon)

  • forcing variables (time, lat, lon)

  • diagnostic variables (time, lat, lon)

  • static variables (lat, lon).

__getitem__(index)#

Get single item from the dataset.

credit.datasets.era5_singlestep.conf#