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:
- The variables of
expocode, station, cast, sample are compatible numpy (or xarray) broadcasting.
- After broadcasting, the elementwise concatenation of values of the above variables is either unique or empty.
- Data (after broadcasting) exists only if and only if the above elementwise is not empty.
This will allow us to check arbitrary input netcdf files for CCHDO flavored CF/netCDF validity not just the ones created by this software.
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,sampleare 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.