metadata
QuantityMetadata
dataclass
origin
instance-attribute
The start of the computational domain.
extent
instance-attribute
The shape of the computational domain.
n_halo
instance-attribute
Number of halo-points used in the horizontal.
dims
instance-attribute
Names of each dimension.
units
instance-attribute
Units of the quantity.
data_type
instance-attribute
ndarray-like type used to store the data.
dtype
instance-attribute
dtype of the data in the ndarray-like object.
backend
instance-attribute
NDSL backend. Used for performance optimal data allocation.
dim_lengths
property
Mapping of dimension names to their lengths.
np
property
numpy-like module used to interact with the data.
__init__(origin, extent, n_halo, dims, units, data_type, dtype, backend)
duplicate_metadata(metadata_copy)
QuantityHaloSpec
dataclass
Describe the memory to be exchanged, including size of the halo.