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

ndarray/xarray based Composite Key Checker #22

Open DocOtak opened 2 years ago

DocOtak commented 2 years ago

As part of the "fast" reader work, functions/methods are needed to directly check an xr.Dataset or potentially ndarrays for valid exchange coordinates. This include:

This will allow us to check arbitrary input netcdf files for CCHDO flavored CF/netCDF validity not just the ones created by this software.

DocOtak commented 2 years ago

This was not closed in https://github.com/cchdo/hydro/pull/27 because, while that checks the keys while converting, we still need a checker function that tells us if the xr.Dataset is correct outside of the exchange conversion context.