Skip to content

Commit

Permalink
Merge pull request #777 from Open-EO/parallel_query
Browse files Browse the repository at this point in the history
Read parallel_query.
  • Loading branch information
EmileSonneveld authored May 17, 2024
2 parents faffa90 + 491237f commit b71ea64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions openeogeotrellis/geopysparkcubemetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def provider_backend(self) -> Union[str, None]:
def auto_polarization(self) -> Union[str, None]:
return self.get("_vito", "data_source", "auto_polarization", default=False)

def parallel_query(self) -> Union[str, None]:
return self.get("_vito", "data_source", "parallel_query", default=False)

def common_name_priority(self) -> int:
priority = self.get("_vito", "data_source", "common_name_priority", default=None)
if priority is not None:
Expand Down
2 changes: 1 addition & 1 deletion openeogeotrellis/layercatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def pyramid_factory(
root_path,
):
opensearch_client = jvm.org.openeo.opensearch.OpenSearchClient.apply(
opensearch_endpoint, is_utm, "", metadata.band_names, catalog_type
opensearch_endpoint, is_utm, "", metadata.band_names, catalog_type, metadata.parallel_query()
)
return jvm.org.openeo.geotrellis.file.PyramidFactory(
opensearch_client,
Expand Down

0 comments on commit b71ea64

Please sign in to comment.