cerfacs-globc/icclim

Can't use NETCDF4 (HDF5) files as input even if there is only one input file

Closed this issue · 2 comments

A number of points in the code use MFDataset to open multiple input files as one dataset. However MFDataset doesn't support NETCDF4 files. It would be great to revert to just using Dataset to open files if there is only one input file. I'm aware things might change with the shift using xarray, but in the interim this is useful functionality.

Yes this is a good fix! Will validate the merge request later today.

bzah commented

Closing. With icclim 5.0.0 we are now fully relying on xarray to open files so NETCDF4 should work naturally.