hydro.sorting¶
Functions¶
|
Sorts the data values in the dataset |
Module Contents¶
- hydro.sorting.sort_ds(dataset)[source]¶
Sorts the data values in the dataset
Ensures that profiles are in the following order:
Earlier before later (time will increase)
Southerly before northerly (latitude will increase)
Westerly before easterly (longitude will increase)
The two xy sorts are esentially tie breakers for when we are missing “time”
Inside profiles:
Shallower before Deeper (pressure will increase)
- Parameters:
dataset (xarray.Dataset)
- Return type: