xoa.accessors.SigmaAccessor.decode#
- SigmaAccessor.decode(rename=False, ref='datum', errors='raise')[source]#
Compute depth from sigma coordinates
- Parameters:
rename (bool) – Rename and format arrays to make them compliant with
xoa.metaref ({"datum", "surface"}) – Reference of the heights, see
xoa.sigma.decode_sigma().errors ({'ignore', 'warn', 'raise'}) –
In case of errors
'ignore': silently ignore'warn': emit a warning'raise': raise an exception
- Returns:
xarray.Dataset
See also