xoa.accessors.XoaDataArrayAccessor¶
-
class
xoa.accessors.XoaDataArrayAccessor(dsa, cfspecs=None)[source]¶ -
__init__(dsa, cfspecs=None)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
auto_format([loc, standardize])Auto-format attributes with
CFSpecs.auto_format()decode(**kwargs)Rename variables and coordinates to generic names
encode(**kwargs)Rename variables and coordinates to specialized names
fill_attrs([loc, standardize])Fill attributes with
CFSpecs.fill_attrs()get(name[, loc, single, errors])Search for a CF item with
CFSpecs.search()Get the internal
CFSpecsinstance used by this accessorget_coord(name[, loc, single])Search for a CF coord with
CFCoordSpecs.search()get_dim(dim_type)infer_coords(**kwargs)Infer coordinates and set them as coordinates
set_cf_specs(cfspecs)Set the internal
CFSpecsused by this accessorAttributes
The
CFDataArrayAccessorsubaccessorThe CFSpecs instance
Sub-accessor for coords only
Sub-accessor for data_vars only
-