-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Inhttps://github.com/arviz-devs/InferenceObjects.jl/issues/3, @visr wrote:
Though there is https://github.com/JuliaIO/JLD2.jl which has quite a good subset of HDF5. It could be interesting to see how much is needed to use JLD2 to do (a subset of) netCDF 4 I/O.
Note that being able to read netCDF4 files written by Python ArviZ/xarray is already a much smaller subset than "any valid HDF5 file found out in the wild". And I would expect netCDF files written through JLD2 to be fine for xarray to read. But still, it would need testing. I spoke to one of the JLD2 devs on Slack a while back and I think they thought it was worth a shot for sure.
netCDF 4 files are HDF5 files but only use a subset of the HDF5 spec. Currently opening netCDF files with jldopen errors with: "... is not a JLD2 file". Would it be possible to make JLD2 open netCDF files?