pyarts.griddedfield.GriddedField5¶
-
class
pyarts.griddedfield.GriddedField5(*args, **kwargs)[source]¶ Implements a GriddedField5.
Methods
__init__(*args, **kwargs)Create a GriddedField object.
check_atm_fields_compact([check_gridnames])Checks the consistency of grids and data.
check_dimension()Checks the consistency of grids and data.
copy()Return a deepcopy of the GriddedField.
extract_slice([s, axis])Return a new GriddedField containing a slice of the current one.
from_nc(inputfile, variable[, fill_value])Create GriddedField from variable in netCDF files.
from_xarray(da)from_xml(xmlelement)Load a GriddedField from an ARTS XML file.
get(key[, default, keep_dims])Return data from field with given fieldname.
refine_grid(new_grid[, axis, fun])Interpolate GriddedField axis to a new grid.
scale(key, factor[, dtype])Scale data stored in field with given fieldname.
set(key, data)Assign data to field with given fieldname.
to_atmlab_dict()Returns a copy of the GriddedField as a dictionary.
to_dict()Convert GriddedField to dictionary.
to_xarray()write_xml(xmlwriter[, attr])Save a GriddedField to an ARTS XML file.
Attributes
dataThe data matrix stored in the GriddedField.
datanameName of the data array.
dimensionDimension of the GriddedField.
gridnamesA list or tuple that includes a name for every grid.
gridsList of grids defining the GriddedField.
nameName of the GriddedField.
shapeShape of the data array.