pyarts.arts_ext

This module contains Python extension functions for ARTS types.

pyarts.arts.GriddedFieldExtras

extract_slice(g[, s, axis])

Return a new gridded field containing a slice of the current one.

refine_grid(gin, new_grid[, axis, type, ...])

Interpolate GriddedField axis to a new grid.

to_xarray(g)

Convert gridded field to xarray.DataArray object.

from_xarray(cls, da)

Create gridded field from a xarray.DataArray object.

to_dict(self)

Convert gridded field to dict.

pyarts.arts.XsecRecordExtras

to_xarray(self)

Convert XsecRecord to xarray dataset

from_xarray(cls, ds)

Set XsecRecord from xarray dataset

to_netcdf(self, filename)

Save XsecRecord to NetCDF file

from_netcdf(cls, filename)

Read XsecRecord from NetCDF file