eodash_catalog 0.0.22__py3-none-any.whl → 0.0.24__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of eodash_catalog might be problematic. Click here for more details.

@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2024-present Daniel Santillan <daniel.santillan@eox.at>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.0.22"
4
+ __version__ = "0.0.24"
@@ -164,6 +164,7 @@ def handle_STAC_based_endpoint(
164
164
  )
165
165
  # eodash v4 compatibility
166
166
  add_visualization_info(root_collection, collection_config, endpoint_config)
167
+ add_collection_information(catalog_config, root_collection, collection_config)
167
168
  add_example_info(root_collection, collection_config, endpoint_config, catalog_config)
168
169
  return root_collection
169
170
 
@@ -365,6 +366,7 @@ def handle_SH_WMS_endpoint(
365
366
  if isinstance(c_child, Collection):
366
367
  root_collection.extent.spatial.bboxes.append(c_child.extent.spatial.bboxes[0])
367
368
  # eodash v4 compatibility
369
+ add_collection_information(catalog_config, root_collection, collection_config)
368
370
  add_visualization_info(root_collection, collection_config, endpoint_config)
369
371
  return root_collection
370
372
 
@@ -386,7 +388,7 @@ def handle_xcube_endpoint(
386
388
  def handle_GeoDB_endpoint(
387
389
  catalog_config: dict, endpoint_config: dict, collection_config: dict, catalog: Catalog
388
390
  ) -> Collection:
389
- # ID of collection is data["Name"] instead of CollectionId to be able to
391
+ # ID of collection is data["Name"] instead of CollectionId to be able to
390
392
  # create more STAC collections from one geoDB table
391
393
  collection = get_or_create_collection(
392
394
  catalog, collection_config["Name"], collection_config, catalog_config, endpoint_config
eodash_catalog/utils.py CHANGED
@@ -240,7 +240,7 @@ class Options:
240
240
 
241
241
  def add_single_item_if_collection_empty(collection: Collection) -> None:
242
242
  for link in collection.links:
243
- if link.rel == RelType.ITEM:
243
+ if link.rel in [RelType.CHILD, RelType.ITEM]:
244
244
  break
245
245
  else:
246
246
  item = Item(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: eodash_catalog
3
- Version: 0.0.22
3
+ Version: 0.0.24
4
4
  Summary: This package is intended to help create a compatible STAC catalog for the eodash dashboard client. It supports configuration of multiple endpoint types for information extraction.
5
5
  Project-URL: Documentation, https://github.com/eodash/eodash_catalog#readme
6
6
  Project-URL: Issues, https://github.com/eodash/eodash_catalog/issues
@@ -1,14 +1,14 @@
1
- eodash_catalog/__about__.py,sha256=ytWP3e3kzx2_7i74Ag5tD9TJCFl6-FGf-vgXOkAqyLg,138
1
+ eodash_catalog/__about__.py,sha256=jVMmF2ozYoB2hWe_drH1JEGyXBuOqi1BpSowbXXG-qk,138
2
2
  eodash_catalog/__init__.py,sha256=_W_9emPYf6FUqc0P8L2SmADx6hGSd7PlQV3yRmCk5uM,115
3
3
  eodash_catalog/duration.py,sha256=B6XOZfvNU7SuqpxuVtT1kNKODoOQJXDI6mocvA_U1ik,10816
4
- eodash_catalog/endpoints.py,sha256=7RfZ8Ks5J0Vwj8lHLflxNjpacNwTauJ8BYRNdk9nlRs,34925
4
+ eodash_catalog/endpoints.py,sha256=QzF-lLo7R5wvmCXjhzGnCOUQzXOVzZzk9ThUi96vBxw,35090
5
5
  eodash_catalog/generate_indicators.py,sha256=Fxq3sAXzZaPpE_RhiyFlnIvUBmf17tVFpoN2R_xLFGM,19109
6
6
  eodash_catalog/sh_endpoint.py,sha256=F99LpYT-MGhPiwdSSysm3xBTjaQBXRUkieh-q-vhTvE,1012
7
7
  eodash_catalog/stac_handling.py,sha256=rPV3tFT81kGkd-WJx0-FpL4BuzCj-DnrjClAstIpSxs,18443
8
8
  eodash_catalog/thumbnails.py,sha256=31Wk38oNQDxfhSUbMLBpHuZFhsR8v_7luYr65XQtDf0,2213
9
- eodash_catalog/utils.py,sha256=44V-Pm9tl70nWahMPE4vl-9FzZbRkMVRQPdINdG_8F8,8975
10
- eodash_catalog-0.0.22.dist-info/METADATA,sha256=BCWQW0DpzAalEuF8yRi6nIWcCCYRiTtto2Kh_844QFk,3203
11
- eodash_catalog-0.0.22.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
12
- eodash_catalog-0.0.22.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
- eodash_catalog-0.0.22.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
- eodash_catalog-0.0.22.dist-info/RECORD,,
9
+ eodash_catalog/utils.py,sha256=Sa7wGCYA3_UkScGUpOF7cLDj2-O5cg7yFT5p8uLrLHI,8992
10
+ eodash_catalog-0.0.24.dist-info/METADATA,sha256=Dl7v11Ocv_WsH-ABNAA375boyLtmo0HPgGUFW_Yj7Vo,3203
11
+ eodash_catalog-0.0.24.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
12
+ eodash_catalog-0.0.24.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
+ eodash_catalog-0.0.24.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
+ eodash_catalog-0.0.24.dist-info/RECORD,,