decode.load module#

atm(*, type: Literal['eta', 'tau'] = 'tau') DataArray[source]#

Load an ALMA ATM model as a DataArray.

Parameters:

type (Literal['eta', 'tau']) – Type of model to be stored in the DataArray. Either 'eta' (transmission) or 'tau' (opacity).

Returns:

DataArray that stores the ALMA ATM model.

Return type:

DataArray

dems(dems: Path | str, /, **options: Any) DataArray[source]#

Load a DEMS file as a DataArray.

Parameters:
  • dems (Path | str) – Path of the DEMS file.

  • options (Any)

Keyword Arguments:

options – Arguments to be passed to xarray.open_dataarray.

Returns:

Loaded DEMS DataArray.

Raises:

ValueError – Raised if the file type is not supported.

Return type:

DataArray