Skip to content

Instantly share code, notes, and snippets.

@h-a-graham
Last active August 19, 2025 19:32
Show Gist options
  • Save h-a-graham/96d9c1f38f51def75a62fdad8f8c7719 to your computer and use it in GitHub Desktop.
Save h-a-graham/96d9c1f38f51def75a62fdad8f8c7719 to your computer and use it in GitHub Desktop.
EOPF zarr does work with VRT
#!/bin/bash
# Define the ZARR file path
zarr_file='EOPFZARR:"/vsicurl/https://objects.eodc.eu:443/e05ab01a9d56408d82ac32d69a5aae2a:202506-s02msil2a/13/products/cpm_v256/S2C_MSIL2A_20250613T123331_N0511_R052_T28VDR_20250613T140914.zarr/measurements/reflectance/r10m/b02"'
# Get info about the ZARR file
gdalinfo "$zarr_file"
# Build VRT from ZARR file
gdalbuildvrt test.vrt "$zarr_file"
# Get info about the generated VRT
gdalinfo test.vrt
@h-a-graham
Copy link
Author

you must install the EOPFZARR driver for this to work correctly:
https://github.com/EOPF-Sample-Service/GDAL-ZARR-EOPF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment