-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Round-tripping with hsload and hsget #38
Comments
There are some updates in the v0.2.7 that enable files with dimension scales to be correctly uploaded to the HSDS service. There is still a problem with downloading the files which will require some HSDS updates to resolve. Also, I noticed that there are some attributes in the sand.nc file that can't be read with h5py. These appear to be related to this issue: h5py/h5py#719. |
Looks like this was fixed in NetCDF on September 1: Unidata/netcdf-c@4dd8e38 and released in version 4.5.0 on Oct 20 https://github.com/Unidata/netcdf-c/releases/tag/v4.5.0 I will try converting those files to netcdf4 again and see if that fixes the problem. |
Ok thanks. For cases where a netcdf file with the bug is used, I've added a check so that hsload just prints a warning message and continues on with other attributes. |
I used
and then used
|
When I try to load the HSDS dataset using
I get the following error:
This was after changing |
@rsignell-usgs We are aware of this problem with h5netcdf and h5pyd. h5pyd currently cannot return the HDF5 path name for HDF5 objects that are not accessed following the file's hierarchy. Returning HDF5 dimension scale datasets as Are you working on enabling h5netcdf to work with h5pyd? I'm asking because I just started working on this in the last couple of days. No need for us to duplicate the effort. |
@ajelenak-thg, no, I'm not working on it. I just forked |
@rsignell-usgs That's how far I was able to progress, too. 😃 I think @jreadey is working on a fix. |
@jreadey, you used
hsload
to put our Hurricane Sandy netcdf4 file on HSDS:If I try to use
hsget
to get that dataset back, I get errors:And although I do end up with a
sandy.nc
file, if I try to ncdump it, it doesn't work (see below). I guess that is not too surprising in light of #32, right?But do you think one day we will be able to round-trip a dataset using
hsload
andhsget
?The text was updated successfully, but these errors were encountered: