cchdo / hydro

The big ol CCHDO netCDF-CF project
https://hydro.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Profile Ordering Checker #23

Closed DocOtak closed 2 years ago

DocOtak commented 2 years ago

The rules for the XYZT variables longitude, latitude, pressure, and time, are a little more relaxed than #22. There only needs to be a value which labels each point or profile (depending on dimensionality of the coordinate). However, there is an expected order for data to appear in the files:

These checks should operate directly on the xr.Dataset or underlying ndarray objects.

DocOtak commented 2 years ago

This was not closed in #27 because, while that sorts things while converting, we still need a checker function that tells us if the Dataset is correct.