GriddedField1

class pyarts.arts.GriddedField1

A 1 dimensional gridded set of Numeric data

The grid is 1 Vector or ArrayOfString

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.

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

Empty field

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

Empty named field

  1. __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

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

Copy instance

  1. __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 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 GriddedField1 from file

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

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

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