GriddedField1
- class pyarts.arts.GriddedField1
A 1 dimensional gridded set of
Numeric
dataThe grid is 1
Vector
orArrayOfString
Both the data and the grid may be named
Workspace methods that can generate GriddedField1
Workspace methods that require GriddedField1
Workspace variables of type GriddedField1
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.GriddedField1) -> None
Empty field
__init__(self: pyarts.arts.GriddedField1, arg0: pyarts.arts.String) -> None
Empty named field
__init__(self: pyarts.arts.GriddedField1, grids: Annotated[List[Union[pyarts.arts.Vector, pyarts.arts.ArrayOfString]], FixedSize(1)], data: pyarts.arts.Vector, gridnames: Optional[Annotated[List[pyarts.arts.String], FixedSize(1)]] = None, name: pyarts.arts.String = None) -> None
Complete field
__init__(self: pyarts.arts.GriddedField1, val: pyarts.arts.GriddedField1) -> None
Copy instance
__init__(self: pyarts.arts.GriddedField1, wsv: pyarts.arts.WorkspaceVariable) -> None
Automatic conversion from a workspace variable
Methods
__init__
(*args, **kwargs)Overloaded function.
checksize
(self)Check the grid and return its state.
checksize_strict
(self)Check the grid and throw if bad
extract_slice
(self, slice[, axis])from_xarray
(arg0)fromxml
(file)Create
GriddedField1
from fileget
(self, key[, default, keep_dims])Get a grid
get_grid
(self, i)Get the grid at position i
get_grid_name
(self, i)Get the grid name at position i
readxml
(self, file)Read
GriddedField1
from filerefine_grid
(self, new_grid[, axis, type])savexml
(self, file[, type, clobber])Saves
GriddedField1
to filescale
(self, key, factor)Scale the data
set
(self, key, data)Set a grid
set_grid
(self, i, new_grid)Set the grid at position i
set_grid_name
(self, i, new_grid_name)Set the grid name at position i
to_dict
(self)to_xarray
(self)Attributes
Data of field
Index
Dimensionality of fieldString
Grid names of the fieldlist
Grids of the fieldString
Name of fieldlist
Shape of the gridded field