Skip to content

Atlas

GlobalMRF202680 GBNVIDIAPyTorch

Import path: earth2studio.models.px.Atlas

View source on GitHub View install commands

Documentation

Bases: Module, AutoModelMixin, PrognosticMixin

Atlas prognostic model for ERA5 variables on a 0.25° global lat-lon grid.

Atlas consumes two input lead times (t-6h and t) and predicts a single step at t+6h on a 721x1440 latitude-longitude grid.

Note

For more information see the following references:

Parameters:

  • autoencoders (ModuleList) –

    List of autoencoders for the full-resolution physical state.

  • autoencoder_processors (ModuleList) –

    List of autoencoder processors for the full-resolution physical state.

  • model (Module) –

    Model for the full-resolution physical state.

  • model_processor (Module) –

    Model processor for the full-resolution physical state.

  • sinterpolant (Module) –

    Stochastic interpolant for the low-resolution latent state.

  • sinterpolant_sample_steps (int, default: 60 ) –

    Number of steps to sample for the stochastic interpolant.

Note

The model performs autoregressive timestepping using a full-resolution physical state and an internal low-resolution latent state. For rollouts longer than one step use create_iterator or initialize followed by repeated step calls, which carry the latent and random-stream state forward. Chaining __call__ does not carry this state and will not reproduce the model rollout.

Note

For best inference performance, set the environment variable TORCH_ALLOW_TF32_CUBLAS_OVERRIDE=1. This is on by default in NGC containers, but other environments may need to set it manually.

__call__

__call__(x: DataArray) -> DataArray

Sample a six-hour forecast from two input frames, without hooks.

Parameters:

  • x (DataArray) –

    Initial history matching input_coords().

Returns:

  • DataArray –

    First forecast matching output_coords(x). Use initialize to retain latent state for continuation.

create_iterator

create_iterator(
    x: DataArray,
) -> Generator[DataArray, None, None]

Yield six-hour forecasts starting with the first prediction.

Parameters:

  • x (DataArray) –

    Initial history matching input_coords().

Yields:

  • DataArray –

    Forecasts after the rear hook. The front hook runs before subsequent steps; public-field edits feed recurrence alongside retained latents.

load_default_package classmethod

load_default_package() -> Package

Load the default package for the Atlas model.

load_model classmethod

load_model(package: Package) -> PrognosticModel

Instantiate and load Atlas from a package.

Examples using earth2studio.models.px.Atlas