-
-
Notifications
You must be signed in to change notification settings - Fork 379
Closed
Labels
bugPotential issues with the zarr-python libraryPotential issues with the zarr-python library
Description
Zarr version
v3.1.2
Numcodecs version
v0.16.2
Python Version
3.12.11
Operating System
Linux
Installation
Pip into virtual environment
Description
Concatenated geotiff datasets across two dimensions, attempted to save using .to_zarr() method. Gives the error message:
TypeError: Group.create_array() got an unexpected keyword argument 'exists_ok'
Discovered that this happens with all of my example GeoTiffs when opening with xr.open_dataset(), even with no concatenation with other Geotiffs.
Example Geotiff at https://dap.ceda.ac.uk/neodc/esacci/biomass/data/agb/maps/v6.0/geotiff/2007/N00E000_ESACCI-BIOMASS-L4-AGB-MERGED-100m-2007-fv6.0.tif
Steps to reproduce
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "zarr@git+https://github.com/zarr-developers/zarr-python.git@main",
# ]
# ///
#
# This script automatically imports the development branch of zarr to check for issues
import zarr
# Download example file above
file1 = 'N00E000_ESACCI-BIOMASS-L4-AGB-MERGED-100m-2007-fv6.0.tif'
import xarray as xr
ds = xr.open_dataset(file1)
ds.to_zarr('biomass.zarr')
# zarr.print_debug_info()Additional output
No response
Metadata
Metadata
Assignees
Labels
bugPotential issues with the zarr-python libraryPotential issues with the zarr-python library