exactextract
exactextract copied to clipboard
Compatibility with NetCDFs written with h5netcdf engine?
Hi,
In processing and saving n-dimensional datasets with xarray, the 'h5netcdf' engine results in vastly faster read/write times for NetCDF files. I love exact_extract's ability to perform zone stats on NC paths, but it doesn't seem to be compatible with NCs written with the h5 engine.
ds.to_netcdf(filepath, engine='h5netcdf')
Any tips or plans to integrate this as a feature?
Thanks.
That's weird, they should be compliant netCDF files, h5netcdf just uses h5py directly instead of netCDF4.
- What is the error you are seeing?
- Can you
ncdump -hthe file you're working with?