Open ashiklom opened 11 months ago
Thanks @ashiklom for posting this issue. I am not sure why there is an issue reading the variable - especially if it is able to read the metadata. It looks like I am able to read the bucket on our machines in us-west-2, so I'll see if I can reproduce the problem.
@ashiklom, I've finally had some time over the past few months to invest in h5coro and address the issues you've raised here.
The problem was that the h5coro code did not implement all of the necessary specification features, nor did it implement higher dimensionality reads. This has been addressed now in the pure Python implementation of h5coro that can be found at: https://github.com/ICESat2-SlideRule/h5coro. The code now correctly reads and subsets the 2d variables, as well as certain attributes found in NetCDF files.
There is work still to be done which is being led by @ksharonin. She is implementing the updates needed to the C++ version of h5coro and has made progress on implementing features of the HDF5 specification used by certain variable attributes. Her work will need to be pulled into the pure Python implementation in the months to come.
I'm trying to use H5Coro to read some NetCDF-4 (underlying storage is HDF5) data in an S3 bucket. But, I'm running into some errors.
Here's the code:
This works:
But this doesn't:
I get similar errors trying to read other variables from this file.
The full NetCDF header for this file is included in the Details below. Note that
Power
is a stricly 2-dimensional variable, so it should work with just a row-col retrieval.Any thoughts on what's going on?