GriddedField2

class pyarts.arts.GriddedField2

A 2 dimensional gridded set of Numeric data

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

Both the data and the grid may be named

Workspace methods that can generate GriddedField2

Workspace methods that require GriddedField2

Workspace variables of type GriddedField2

__init__(*args, **kwargs)

Overloaded function.

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

Empty field

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

Empty named field

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

Complete field

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

Copy instance

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

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

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

Saves GriddedField2 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