Skip to content

Commit 6c0ef58

Browse files
committed
target_crs can be set to None explicitly, then collection crs applies
1 parent 0a75fa9 commit 6c0ef58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo_driver/ProcessGraphDeserializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def _extract_load_parameters(env: EvalEnv, source_id: tuple) -> LoadParameters:
605605
extent = constraint["weak_spatial_extent"]
606606
if extent is not None:
607607
collection_crs = _collection_crs(collection_id[1][0], env)
608-
crs = constraint.get("resample", {}).get("target_crs", collection_crs)
608+
crs = constraint.get("resample", {}).get("target_crs", collection_crs) or collection_crs
609609

610610
if "pixel_buffer" in constraint:
611611

0 commit comments

Comments
 (0)