home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 2010425950

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
2010425950 I_kwDOAMm_X8531Kpe 8482 `Filter error` using `ncdump` on `Zarr` datasets created by XArray 50383939 closed 0     2 2023-11-25T01:30:39Z 2023-11-25T01:36:04Z 2023-11-25T01:36:04Z NONE      

What is your issue?

I have trouble getting values of variables inside Zarr stores created using XArray. The ncdump -v variable-name file://path/to/zarr/store#mode=zarr gives me the following error: ```console foo@bar:~$ ncdump -v variable-name 'file:///path/to/zarr/store#mode=zarr' %%% HEADER STUFF %%%

NetCDF: Filter error: undefined filter encountered Location: file /path/to/netcdf-c/ncdump/vardata.c; fcn print_rows line 478 variable-name = ```

Here is a typical header of such Zarr stores that I create:

console netcdf test3 { dimensions: rlat = 628 ; rlon = 655 ; bnds = 2 ; bounds = 4 ; variables: double lat(rlat, rlon) ; lat:long_name = "latitude" ; lat:standard_name = "latitude" ; lat:units = "degrees_north" ; double lon(rlat, rlon) ; lon:long_name = "longitude" ; lon:standard_name = "longitude" ; lon:units = "degrees_east" ; float pr(rlat, rlon) ; pr:_QuantizeBitRoundNumberOfSignificantDigits = 12 ; pr:cell_methods = "area: mean time: mean" ; pr:coordinates = "lon lat" ; pr:grid_mapping = "crs" ; pr:long_name = "Precipitation" ; pr:standard_name = "precipitation_flux" ; pr:units = "kg m-2 s-1" ; double rlat(rlat) ; rlat:actual_range = -33.625, 35.345 ; rlat:axis = "Y" ; rlat:long_name = "latitude in rotated pole grid" ; rlat:standard_name = "grid_latitude" ; rlat:units = "degrees" ; double rlon(rlon) ; rlon:actual_range = -34.045, 37.895 ; rlon:axis = "X" ; rlon:long_name = "longitude in rotated pole grid" ; rlon:standard_name = "grid_longitude" ; rlon:units = "degrees" ; float tas(rlat, rlon) ; tas:_QuantizeBitRoundNumberOfSignificantDigits = 12 ; tas:cell_methods = "area: mean time: point" ; tas:coordinates = "lon lat height" ; tas:grid_mapping = "crs" ; tas:long_name = "Near-Surface Air Temperature" ; tas:standard_name = "air_temperature" ; tas:units = "K" ; double time_bnds(bnds) ; time_bnds:calendar = "proleptic_gregorian" ; time_bnds:units = "days since 1950-01-01" ; double vertices_latitude(rlat, rlon, bounds) ; double vertices_longitude(rlat, rlon, bounds) ; I have compiled the netcdf-c v4.9.3-development version from the latest commit of the netcdf-c's GitHub repository. I assured to have the plugins installed during the compiling procedure, as I understood certain shared libraries need to be installed for HDF5.

I understand this issue does not have an MCVE, but let me know if a test case is needed. I would be more than happy to upload one here and share.

By the way, XArray has no problem reading these Zarr stores back again.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8482/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 0 rows from issue in issue_comments
Powered by Datasette · Queries took 0.596ms · About: xarray-datasette