Open DocOtak opened 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.
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:
expocode
,station
,cast
,sample
are compatible numpy (or xarray) broadcasting.This will allow us to check arbitrary input netcdf files for CCHDO flavored CF/netCDF validity not just the ones created by this software.