cf_xarray.geometry.GeometryNames

class cf_xarray.geometry.GeometryNames(suffix='', grid_mapping_name=None, grid_mapping=None)[source]

Helper class to ease handling of all the variable names needed for CF geometries.

__init__(suffix='', grid_mapping_name=None, grid_mapping=None)[source]

Methods

__init__([suffix, grid_mapping_name, ...])

coords(*, dim, x, y[, crdX, crdY])

Construct coordinate DataArrays for the numpy data (x, y, crdX, crdY)

Attributes

coords(*, dim, x, y, crdX=None, crdY=None)[source]

Construct coordinate DataArrays for the numpy data (x, y, crdX, crdY)

Parameters:
x: array

Node coordinates for X coordinate

y: array

Node coordinates for Y coordinate

crdX: array, optional

Nominal X coordinate

crdY: array, optional

Nominal X coordinate

property geometry_container_attrs: dict[str, str]