Skip to content

DLESyMv0_ISCCP_ERA5Atmos

GlobalCM202440 GBNVIDIAPyTorch

Import path: earth2studio.models.px.DLESyMv0_ISCCP_ERA5Atmos

View source on GitHub View install commands

Documentation

Bases: _TTRInput, DLESyMAtmos

Atmosphere component of DLESyMv0_ISCCP_ERA5, as a standalone prognostic model.

Couples with DLESyMv0_ISCCP_ERA5Ocean under [CoupledRunner][earth2studio.coupling.CoupledRunner] the way DLESyMAtmos couples with its ocean. Like the fused model, when use_ttr=True (default) it accepts ERA5 ttr in its initial history and converts it to ISCCP-distributed OLR before the first forward pass; outputs report rlut.

Parameters:

  • *args (Any, default: () ) –

    Positional arguments forwarded to DLESyMAtmos.

  • use_ttr (bool, default: True ) –

    If True, declare ttr as the radiative input variable and apply the TTR -> OLR transform internally. If False, declare rlut directly. Defaults to True.

  • ttr_clim_mean (ndarray | None, default: None ) –

    Per-day-of-year mean of ERA5 TTR, shape (D, F, H, W). Required when use_ttr=True.

  • ttr_clim_std (ndarray | None, default: None ) –

    Per-day-of-year std of ERA5 TTR (same shape as ttr_clim_mean).

  • olr_clim_mean (ndarray | None, default: None ) –

    Per-day-of-year mean of ISCCP OLR (same shape).

  • olr_clim_std (ndarray | None, default: None ) –

    Per-day-of-year std of ISCCP OLR (same shape).

  • olr_floor (float, default: 0.0 ) –

    Lower bound applied to the transformed OLR. Defaults to 0.0.

  • **kwargs (Any, default: {} ) –

    Keyword arguments forwarded to DLESyMAtmos.

Note

See DLESyMv0_ISCCP_ERA5 for more information about the model.

load_default_package classmethod

load_default_package() -> Package

Default DLESyMv0_ISCCP_ERA5 model package on HuggingFace.

load_model classmethod

load_model(
    package: Package,
    use_ttr: bool = True,
    atmos_model_idx: int = 0,
) -> PrognosticModel

Load the atmosphere component from a package.

Parameters:

  • package (Package) –

    Model package, the one DLESyMv0_ISCCP_ERA5 loads.

  • use_ttr (bool, default: True ) –

    See DLESyMv0_ISCCP_ERA5Atmos. Defaults to True.

  • atmos_model_idx (int, default: 0 ) –

    Index into cfg.models.atmos_model_checkpoints. Defaults to 0.

Returns:

  • PrognosticModel –

    Loaded DLESyMv0_ISCCP_ERA5Atmos instance.