Skip to content

Commit

Permalink
#34: optional soft errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bossie committed Mar 24, 2022
1 parent 42dd0f1 commit 91a8be8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openeogeotrellis/layercatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ def sentinel_hub_pyramid():
if len(band_gsds) > 0
else jvm.geotrellis.raster.CellSize(cell_width, cell_height))

soft_errors = feature_flags.get("soft_errors", False)

pyramid_factory = jvm.org.openeo.geotrellissentinelhub.PyramidFactory.withGuardedRateLimiting(
endpoint,
shub_collection_id,
Expand All @@ -400,7 +402,8 @@ def sentinel_hub_pyramid():
client_secret,
sentinel_hub.processing_options(sar_backscatter_arguments) if sar_backscatter_arguments else {},
sample_type,
cell_size
cell_size,
soft_errors
)

unflattened_metadata_properties = metadata_properties(flatten_eqs=False)
Expand Down

0 comments on commit 91a8be8

Please sign in to comment.