Skip to content

Invalid zarr.json #67

@tschaub

Description

@tschaub

Running eopf-geozarr convert, we are seeing zarr.json produced that includes "fill_value": NaN, making it invalid JSON.

Here is an example:

eopf-geozarr convert https://objects.eodc.eu/e05ab01a9d56408d82ac32d69a5aae2a:202510-s02msil2a-eu/25/products/cpm_v256/S2A_MSIL2A_20251025T095111_N0511_R079_T33SVB_20251025T121315.zarr ./s2l2_test.zarr --groups /measurements/reflectance/r20m /measurements/reflectance/r60m --crs-groups /conditions/geometry --spatial-chunk 512 --min-dimension 256 --tile-width 256 --max-retries 2 --verbose --enable-sharding

The resulting s2l2_test.zarr/zarr.json has 21 "fill_value": NaN members. This looks like it would come from something like float('nan') in python.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions