shoot.meta.get_depth#
- shoot.meta.get_depth(obj, errors='ignore')[source]#
Get depth coordinate from dataset or data array
- Parameters:
obj (xarray.Dataset or xarray.DataArray)
errors ({"raise", "warn", "ignore"}, default "ignore")
- Returns:
Depth coordinate if found.
- Return type:
xarray.DataArray or None