Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZARR: aborted create leaves directory and files #11023

Open
mdsumner opened this issue Oct 15, 2024 · 0 comments · May be fixed by #11026
Open

ZARR: aborted create leaves directory and files #11023

mdsumner opened this issue Oct 15, 2024 · 0 comments · May be fixed by #11026
Assignees

Comments

@mdsumner
Copy link
Contributor

What is the bug?

I think an error like "Invalid number of values in BLOCKSIZE" should clean up the empty directories left behind.

I encountered this by switching from a multiband PNG BLOCKSIZE=4,4,5 to a single band TIF BLOCKSIZE=1,128,256 naively thinking in degenerate dimension terms.

Steps to reproduce the issue

gdal_translate  gdrivers/data/png/byte_with_xmp.png  fail.zarr -of ZARR -co BLOCKSIZE=1,4,4
ERROR 1: Invalid number of values in BLOCKSIZE

we now have leftover to clean up:

fail.zarr/
fail.zarr/.zmetadata
fail.zarr/fail
fail.zarr/.zgroup

Versions and provenance

GDAL 3.11.0dev-388a5a764a, released 2024/10/15

ubuntu 22.04

Additional context

No response

@mdsumner mdsumner changed the title ZARR: aborted create leaves empty directores ZARR: aborted create leaves directory and files Oct 15, 2024
@rouault rouault self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants