eodash_catalog 0.0.19__py3-none-any.whl → 0.0.20__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.19"
4
+ __version__ = "0.0.20"
@@ -677,7 +677,7 @@ def add_visualization_info(
677
677
  vmin = endpoint_config["Rescale"][0]
678
678
  vmax = endpoint_config["Rescale"][1]
679
679
  # depending on numerical input only
680
- data_projection = endpoint_config.get("DataProjection", 3857)
680
+ data_projection = str(endpoint_config.get("DataProjection", 3857))
681
681
  epsg_prefix = "" if "EPSG:" in data_projection else "EPSG:"
682
682
  crs = f"{epsg_prefix}{data_projection}"
683
683
  target_url = (
@@ -365,6 +365,8 @@ def add_extra_fields(stac_object: Collection | Link, collection_config: dict) ->
365
365
  stac_object.extra_fields["agency"] = collection_config["Agency"]
366
366
  if "EodashIdentifier" in collection_config:
367
367
  stac_object.extra_fields["subcode"] = collection_config["EodashIdentifier"]
368
+ if "CollectionGroup" in collection_config:
369
+ stac_object.extra_fields["collection_group"] = collection_config["CollectionGroup"]
368
370
  if "DataSource" in collection_config:
369
371
  if "Spaceborne" in collection_config["DataSource"]:
370
372
  if "Sensor" in collection_config["DataSource"]["Spaceborne"]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: eodash_catalog
3
- Version: 0.0.19
3
+ Version: 0.0.20
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=EaaUFYEaViLV7DjOe87CtSgI07ACcMtF642msXFVzjo,138
1
+ eodash_catalog/__about__.py,sha256=N9pURY3kcIKspRIvMl65EJnLqqRNPohEsuwXv49HF_A,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=SHPpPul9JbhsNZDq6kiE32-SiVApN4_-hhcejpGFRYs,34720
4
+ eodash_catalog/endpoints.py,sha256=kWggS_i-YDA71iz-Hgm81YliMVZL3L-K87KsJ8ac1Og,34725
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
- eodash_catalog/stac_handling.py,sha256=vxzpTqKDnV_v9XtDoF2g8Lr7askGwZ-IVNK-G6ROu5s,18304
7
+ eodash_catalog/stac_handling.py,sha256=rPV3tFT81kGkd-WJx0-FpL4BuzCj-DnrjClAstIpSxs,18443
8
8
  eodash_catalog/thumbnails.py,sha256=31Wk38oNQDxfhSUbMLBpHuZFhsR8v_7luYr65XQtDf0,2213
9
9
  eodash_catalog/utils.py,sha256=44V-Pm9tl70nWahMPE4vl-9FzZbRkMVRQPdINdG_8F8,8975
10
- eodash_catalog-0.0.19.dist-info/METADATA,sha256=30ZZZmGYXsPTEXslcPboCDcjlSP8tECc-Ao4fg9CMD8,3203
11
- eodash_catalog-0.0.19.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
12
- eodash_catalog-0.0.19.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
- eodash_catalog-0.0.19.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
- eodash_catalog-0.0.19.dist-info/RECORD,,
10
+ eodash_catalog-0.0.20.dist-info/METADATA,sha256=Qt_0nEzGIdSvJGrIstsjp90tLW_j3nHw3h-29SSZkdI,3203
11
+ eodash_catalog-0.0.20.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
12
+ eodash_catalog-0.0.20.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
+ eodash_catalog-0.0.20.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
+ eodash_catalog-0.0.20.dist-info/RECORD,,