eodash_catalog 0.0.26__py3-none-any.whl → 0.0.27__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.26"
4
+ __version__ = "0.0.27"
@@ -826,6 +826,7 @@ def handle_raw_source(
826
826
  catalog, collection_config["Name"], collection_config, catalog_config, endpoint_config
827
827
  )
828
828
  if len(endpoint_config.get("TimeEntries", [])) > 0:
829
+ style_link = None
829
830
  for time_entry in endpoint_config["TimeEntries"]:
830
831
  assets = {}
831
832
  media_type = "application/geo+json"
@@ -869,7 +870,8 @@ def handle_raw_source(
869
870
  link.extra_fields["datetime"] = time_entry["Time"]
870
871
  link.extra_fields["assets"] = [a["File"] for a in time_entry["Assets"]]
871
872
  # eodash v4 compatibility, adding last referenced style to collection
872
- collection.add_link(style_link)
873
+ if style_link:
874
+ collection.add_link(style_link)
873
875
  add_collection_information(catalog_config, collection, collection_config)
874
876
  collection.update_extent_from_items()
875
877
  return collection
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: eodash_catalog
3
- Version: 0.0.26
3
+ Version: 0.0.27
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=nhbW3HdOGirkklXXqPPuUf87Q-WqPT7eNnuWWIfDGss,138
1
+ eodash_catalog/__about__.py,sha256=bsufHVYvcGAaEqZ-VbCVPXCXjTYF4YBFZ8XQRpAR5QQ,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=bg8MD_otFu8T2-PZwBJy3PCMPfUUHUDYJDIlBiNpgeg,35311
4
+ eodash_catalog/endpoints.py,sha256=vldV3ojAQ9s_nsCM_ItFHIaHiELlhn4tvX-F3w0HbT4,35364
5
5
  eodash_catalog/generate_indicators.py,sha256=0IHhu_0yOUoUtLqiTsoYQ2IrTrq00yZme3UE6pC9PIU,19772
6
6
  eodash_catalog/sh_endpoint.py,sha256=F99LpYT-MGhPiwdSSysm3xBTjaQBXRUkieh-q-vhTvE,1012
7
7
  eodash_catalog/stac_handling.py,sha256=AHV9BLzYcHzUprX42b-yjVvN8TERymWF_iZQruFMQlY,18414
8
8
  eodash_catalog/thumbnails.py,sha256=31Wk38oNQDxfhSUbMLBpHuZFhsR8v_7luYr65XQtDf0,2213
9
9
  eodash_catalog/utils.py,sha256=GmRypfWP8XlYqldJJCRLXAYlF6ovRJcPs-Ms8M91llw,10309
10
- eodash_catalog-0.0.26.dist-info/METADATA,sha256=ug6MVWs316AJFZ1vWUiOZNpwWhLY3XTXORT5Kv1pfGo,3203
11
- eodash_catalog-0.0.26.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
12
- eodash_catalog-0.0.26.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
- eodash_catalog-0.0.26.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
- eodash_catalog-0.0.26.dist-info/RECORD,,
10
+ eodash_catalog-0.0.27.dist-info/METADATA,sha256=Q3kSlyimqUyfVifa4wQMc4rXPhi_qS72eNxX2iWJbU0,3203
11
+ eodash_catalog-0.0.27.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
12
+ eodash_catalog-0.0.27.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
+ eodash_catalog-0.0.27.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
+ eodash_catalog-0.0.27.dist-info/RECORD,,