xarray.DataArray.xoa.encode

xarray.DataArray.xoa.encode#

DataArray.xoa.encode(**kwargs)#

Rename variables and coordinates to specialized names

This makes use of the MetaSpecs() instance was set at initialisation or inferred with xoa.meta.infer_meta_specs(). If no specialized name is declared in the specs, generic names are used.

Returns:

xarray.Dataset, xarray.DataArray

See also

xoa.meta.MetaSpecs.encode(), xoa.meta.MetaSpecs.decode(), Metadata, CF and naming conventions