Hi, emailing in case I'm missing something about how BLOCKSIZE is applied to an output ZARR.
This source ZARR has 3 arrays: lat[20], lon[40], var[20,40]. There are 2 messages when it iterates the "lon" and "lat" arrays because the BLOCKSIZE syntax has the wrong number of elements for a 1D array: gdal mdim convert gdrivers/data/zarr/array_dimensions.zarr -o /vsimem/out.zarr --overwrite --creation-option ARRAY:BLOCKSIZE=20,40 ERROR 1: Invalid number of values in BLOCKSIZE ERROR 1: Invalid number of values in BLOCKSIZE Here there are 3 messages because the number of elements is wrong for all arrays: gdal mdim convert gdrivers/data/zarr/array_dimensions.zarr -o /vsimem/out.zarr --overwrite --creation-option ARRAY:BLOCKSIZE=20,40,5 ERROR 1: Invalid number of values in BLOCKSIZE ERROR 1: Invalid number of values in BLOCKSIZE ERROR 1: Invalid number of values in BLOCKSIZE And here, only one because it's wrong for "var" alone: gdal mdim convert gdrivers/data/zarr/array_dimensions.zarr -o /vsimem/out.zarr --overwrite --creation-option ARRAY:BLOCKSIZE=20 0...10...20...30ERROR 1: Invalid number of values in BLOCKSIZE Blocksize creation option should be bound to a dimension specifically? Cheers, Mike -- Michael Sumner Ordinary Member, Streets People Love Hobart Association Research Software Engineer Australian Antarctic Division Hobart, Australia 0438489030 e-mail: [email protected]
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
