xoa.accessors.XoaDataArrayAccessor¶
- class xoa.accessors.XoaDataArrayAccessor(obj, cfspecs=None)[source]¶
- __init__(obj, cfspecs=None)¶
Initialize self. See help(type(self)) for accurate signature.
Methods
auto_format([loc, standardize])Rename variables and coordinates and fill their attributes
decode(**kwargs)Rename variables and coordinates to generic names
encode(**kwargs)Rename variables and coordinates to specialized names
fill_attrs([loc, standardize])Fill missing attributes
get(name[, loc, single, errors])Search for a data array or coordinate knowing its generic name
Get the internal
CFSpecsinstance used by this accessorget_coord(name[, loc, single, errors])Search for a coordinate knowing its generic name
get_depth([errors])Get the depth as computed or recognized by the
CFSpecs()get_dim(dim_type[, loc])Get a dimension name knowing its type
infer_coords(**kwargs)Infer coordinates and set them as coordinates
set_cf_specs(cfspecs)Set the internal
CFSpecsused by this accessorAttributes
Get the generic attributes that matches this array
The
CFDataArrayAccessorsubaccessorThe CFSpecs instance
Sub-accessor for coords only
Sub-accessor for data_vars only
F (forecast) dimension name
Get the generic name that matches this array
T (time) dimension name
X dimension
Y dimension name
Z dimension name