xoa.accessors.SigmaAccessor¶
- class xoa.accessors.SigmaAccessor(ds, cfspecs=None)[source]¶
Dataset accessor to compute depths from sigma-like coordinates
This follows the CF cnventions.
Example
>>> ds = xr.open_dataset('croco.nc') >>> ds = ds.decode_sigma()
Methods
decode([rename, errors])Compute depth from sigma coordinates
Get the internal
CFSpecsinstance used by this accessorget_sigma_terms([loc, rename])Call
get_sigma_terms()on the datasetset_cf_specs(cfspecs)Set the internal
CFSpecsused by this accessorAttributes
The CFSpecs instance