Unidata / netcdf-c

Official GitHub repository for netCDF-C libraries and utilities.
BSD 3-Clause "New" or "Revised" License
502 stars 262 forks source link

cannot open zgroup on ubuntu #2235

Open gdkrmr opened 2 years ago

gdkrmr commented 2 years ago

I am trying to open a zgroup on current master compiled on ubuntu 20.04 and get an error. The same works fine with the repository packages on Manjaro:

$ ./ncdump/ncdump -h "file:///scratch1/DataCube/v2.1.1/esdc-8d-0.25deg-184x90x90-2.1.1.zarr/#mode=zarr,file"
./ncdump/ncdump: file:///scratch1/DataCube/v2.1.1/esdc-8d-0.25deg-184x90x90-2.1.1.zarr/#mode=zarr,file: No such file or directory

when doing the same on the arrays in the dataset I get the corresponding metadata:

$ ./ncdump/ncdump -h "file:///scratch1/DataCube/v2.1.1/esdc-8d-0.25deg-184x90x90-2.1.1.zarr/Rg#mode=zarr,file"
netcdf Rg {

// global attributes:
                :ID = 2b ;
                :esa_cci_path = "" ;
                :long_name = "Downwelling shortwave radiation" ;
                :orig_attrs = "{\'long_name\': \'Downwelling shortwave radiation\', \'project_name\': \'BESS\', \'references\': \'Ryu, Y.*, Jiang, C., Kobayashi, H., & Detto, M. (2018). MODIS-derived global land products of shortwave radiation and diffuse and total photosynthetically active radiation at 5 km resolution from 2000. Remote Sensing of Environment, 204, 812-825\', \'source_name\': \'surface_downwelling_shortwave_flux_in_air\', \'standard_name\': \'surface_downwelling_shortwave_flux_in_air\', \'units\': \'W m-2\', \'url\': \'http://environment.snu.ac.kr/bess_rad/\'}" ;
                :orig_version = "15.10.2017" ;
                :project_name = "BESS" ;
                :standard_name = "surface_downwelling_shortwave_flux_in_air" ;
                :time_coverage_end = "2010-12-31" ;
                :time_coverage_resolution = "P8D" ;
                :time_coverage_start = "2000-03-01" ;
                :units = "W m-2" ;
                :url = "http://environment.snu.ac.kr/bess_rad/" ;
}

You can find the dataset here

DennisHeimbigner commented 2 years ago

The dataset link does not work for me; can you re-check it?

gdkrmr commented 2 years ago

Here are updated links for the zgroup: http://data.rsc4earth.de:9000/EarthSystemDataCube/v2.1.1/esdc-8d-0.25deg-184x90x90-2.1.1.zarr/ https://s3.bgc-jena.mpg.de:9000/esdl-esdc-v2.1.1/esdc-8d-0.25deg-184x90x90-2.1.1.zarr/

and for a single zarray: http://data.rsc4earth.de:9000/EarthSystemDataCube/v2.1.1/esdc-8d-0.25deg-184x90x90-2.1.1.zarr/Rg https://s3.bgc-jena.mpg.de:9000/esdl-esdc-v2.1.1/esdc-8d-0.25deg-184x90x90-2.1.1.zarr/Rg