GriddedField4

class pyarts.arts.GriddedField4

A 4 dimensional gridded set of Numeric data

The grid is a combination of 4 Vector and/or ArrayOfString

Both the data and the grid may be named

Workspace methods that can generate GriddedField4

Workspace methods that require GriddedField4

Workspace variables of type GriddedField4

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyarts.arts.GriddedField4) -> None

Empty field

  1. __init__(self: pyarts.arts.GriddedField4, arg0: pyarts.arts.String) -> None

Empty named field

  1. __init__(self: pyarts.arts.GriddedField4, grids: Annotated[List[Union[pyarts.arts.Vector, pyarts.arts.ArrayOfString]], FixedSize(4)], data: pyarts.arts.Tensor4, gridnames: Optional[Annotated[List[pyarts.arts.String], FixedSize(4)]] = None, name: pyarts.arts.String = None) -> None

Complete field

  1. __init__(self: pyarts.arts.GriddedField4, val: pyarts.arts.GriddedField4) -> None

Copy instance

  1. __init__(self: pyarts.arts.GriddedField4, 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 GriddedField4 from file

get(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 GriddedField4 from file

refine_grid(self, new_grid[, axis, type])

savexml(self, file[, type, clobber])

Saves GriddedField4 to file

scale(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

Data of field

dim

Index Dimensionality of field

gridnames

String Grid names of the field

grids

list Grids of the field

name

String Name of field

shape

list Shape of the gridded field