glidertools.utils.mask_above_depth

glidertools.utils.mask_above_depth(ds, depths)

Masks all data above depths.

Parameters:
  • df (xarray.Dataframe or pandas.Dataframe)

  • mask_depths (float (for constant depth masking) or pandas.Series as) – returned e.g. by the mixed_layer_depth function