xoa.accessors.CFDataArrayAccessor

class xoa.accessors.CFDataArrayAccessor(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_cf_specs()

Get the internal CFSpecs instance used by this accessor

get_coord(name[, loc, single])

Search for a CF coord with CFCoordSpecs.search()

get_depth()

Get the depth

get_dim(dim_type)

infer_coords(**kwargs)

Infer coordinates and set them as coordinates

set_cf_specs(cfspecs)

Set the internal CFSpecs used by this accessor

Attributes

attrs

cfspecs

The CFSpecs instance

coords

Sub-accessor for coords only

da

data_vars

Sub-accessor for data_vars only

dim

fdim

name

tdim

xdim

ydim

zdim