Re: [gdal-dev] Zarr BLOCKSIZE in gdalmdimtranslate with variables of varying dimension

2025-03-15 Thread Even Rouault via gdal-dev
Simon, see the ARRAY:IF(DIM=2):BLOCKSIZE=256,256 example of GDALGroup::CopyFrom() mentioned at https://gdal.org/en/stable/doxygen/classGDALGroup.html#a28324579902842d7dbd1f93e9698b1ec Even Le 12/03/2025 à 09:23, Simon Lyngby Kokkendorff via gdal-dev a écrit : Hi list, gdalmdimtranslate

[gdal-dev] Zarr BLOCKSIZE in gdalmdimtranslate with variables of varying dimension

2025-03-15 Thread Simon Lyngby Kokkendorff via gdal-dev
Hi list, gdalmdimtranslate is a very handy tool e.g. to translate netCDF files to Zarr as it can handle huge files that xarray just chokes on. I have a question regarding handling output blocksizes for the Zarr format for files with variables of varying dimensions though. For example I need t

Re: [gdal-dev] Zarr BLOCKSIZE in gdalmdimtranslate with variables of varying dimension

2025-03-12 Thread Simon Lyngby Kokkendorff via gdal-dev
Thanks Even, That does the trick :) Cheers, Simon On Wed, Mar 12, 2025 at 9:54 AM Even Rouault wrote: > > Simon, > > see the ARRAY:IF(DIM=2):BLOCKSIZE=256,256 example of > GDALGroup::CopyFrom() mentioned at > https://gdal.org/en/stable/doxygen/classGDALGroup.html#a28324579902842d7dbd1f93e9698