-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello everyone,
I have encountered an issue when trying to load some of the new eopf Zarr products required for the water level monitoring notebook here EOPF-Sample-Service/eopf-sample-notebooks#164
Using xcube_eopf 0.3.0
The query results in KeyError: 'grid:code' and I was wondering why this is the case.
Here is sample code to reproduce the issue:
from xcube.core.store import new_data_store
from xcube_eopf.utils import reproject_bbox
store = new_data_store("eopf-zarr")
bbox=[11.003288060439315, 46.34055268553584, 11.10369555555596, 46.40183319621778]
crs_utm = "EPSG:32632"
bbox_utm = reproject_bbox(bbox, "EPSG:4326", crs_utm)
ds = store.open_data(
data_id="sentinel-2-l2a",
bbox=bbox_utm,
time_range=["2020-12-31", "2024-01-01"],
spatial_res=10,
crs=crs_utm,
variables=[
"b04",
"b03",
"b02",
"b08",
],
)
print(ds)Thank you for your help!
Metadata
Metadata
Assignees
Labels
No labels