You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to open a local copy of one of the files comprising the CWorthy OAE atlas (xref #132) (stored in the cloud here) with @sharkinsspatial 's HDF reader raises an error
The error message is not very helpful. Numpy could have at least told me what the type it received was, and the HDF reader could have added context about which variable it was trying to parse when it failed (so that I could choose to load it instead).
The text was updated successfully, but these errors were encountered:
@TomNicholas This will be fixed in an upcoming PR. Based on our discussions with @rabernat I have been misinterpreting the semantic relationship between the HDF definition of fillvalue and the Zarr definition of fillvalue (which as @rabernat elaborated has changed over time and has been further complicated by v3 changes, see pydata/xarray#5475 for an excellent discussion of the topic). To repeat @rabernat 's advice
The HDF fillvalue definition is reserved for the return value for uninitialized chunks so in the case of partially written chunks or
when a dataset is created but not yet populated with actual data.
In the virtualzarr context we should be using CF convention _FillValue (if present) to populate our zarray metadata fillvalue.
☝ @TomNicholas This is a good point that we hit when dealing with the other null fillvalue we hit. I'll try to wrap exceptions with additional per variable information so that users can have an easier diagnosis in a separate PR.
Trying to open a local copy of one of the files comprising the CWorthy OAE atlas (xref #132) (stored in the cloud here) with @sharkinsspatial 's HDF reader raises an error
The error message is not very helpful. Numpy could have at least told me what the type it received was, and the HDF reader could have added context about which variable it was trying to parse when it failed (so that I could choose to load it instead).
The text was updated successfully, but these errors were encountered: