Skip to content

Identity

GlobalNVIDIAPyTorch

Import path: earth2studio.models.dx.Identity

View source on GitHub

Documentation

Bases: Module

Identity diagnostic that is coordinate insensitive. Typically used for testing.

__call__

__call__(x: DataArray) -> DataArray

Return the labelled field, preserving its device and metadata.

Parameters:

  • x (DataArray) –

    Input field with arbitrary labelled dimensions.

Returns:

  • DataArray –

    The input field, with unchanged values, coordinates and metadata.