Skip to content

Commit

Permalink
new collection type for oscars based cgls
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Jan 25, 2024
1 parent d2b53fe commit 654c657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openeogeotrellis/layercatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def pyramid_factory(
root_path,
):
opensearch_client = jvm.org.openeo.opensearch.OpenSearchClient.apply(
opensearch_endpoint, is_utm, "", [], catalog_type
opensearch_endpoint, is_utm, "", metadata.band_names, catalog_type
)
return jvm.org.openeo.geotrellis.file.PyramidFactory(
opensearch_client,
Expand Down Expand Up @@ -638,7 +638,7 @@ def file_agera5_pyramid():
pyramid = file_agera5_pyramid()
elif layer_source_type == 'file-globspatialonly':
pyramid = globspatialonly_pyramid()
elif layer_source_type == 'file-oscars':
elif layer_source_type == 'file-oscars' or layer_source_type == "cgls_oscars":
pyramid = file_s2_pyramid()
elif layer_source_type == 'creodias-s1-backscatter':
sar_backscatter_arguments = load_params.sar_backscatter or SarBackscatterArgs()
Expand Down

0 comments on commit 654c657

Please sign in to comment.