NetCDF: Malformed URL with zarr URL (netcdf 4.9.2) #2818
Replies: 4 comments
-
I assume you are using aws-sdk-cpp library. As far as I know, that library will not work with non-amazon servers. |
Beta Was this translation helpful? Give feedback.
-
Yes, I am using the aws-sdk-cpp library. The server is indeed public (I can access the data without providing credentials in xarray), but I have no special insights how this server is configured. |
Beta Was this translation helpful? Give feedback.
-
When I stick that URL in a browser, I get the response below. So it may actually require credentials.
|
Beta Was this translation helpful? Give feedback.
-
I do not have thes configurations files:
I can manually get the metadata using curl, for example:
Surprisingly the server returns a
I can manually download a chunk of the variable
But it seems that the first 16 chunks (along the depth dimension), are actually below the ocean floor and are filled with fill values (as checked in python). The first actual chunk is the chunk 17, which I can also download via curl:
This seems to be conformant with the OGC spec:
Ref: https://portal.ogc.org/files/100727 Zarr is all new to me, and still full or surprises :-). |
Beta Was this translation helpful? Give feedback.
-
I am trying to access with ncdump the following URL.
ncdump (version 4.9.2) tells me that the URL is bad, but I do not see how to correct it.
I compiled netcdf from source using cmake:
I can read the data with xarray in python (without providing credentials):
How can I access this data using the NetCDF API? Any help would be greatly appreciated. Also other example how to use netcdf + zarr would be useful.
Beta Was this translation helpful? Give feedback.
All reactions