eodash_catalog 0.1.13__py3-none-any.whl → 0.1.14__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.1.13"
4
+ __version__ = "0.1.14"
@@ -39,6 +39,7 @@ from eodash_catalog.utils import (
39
39
  Options,
40
40
  RaisingThread,
41
41
  add_single_item_if_collection_empty,
42
+ iter_len_at_least,
42
43
  merge_bboxes,
43
44
  read_config_file,
44
45
  recursive_save,
@@ -180,8 +181,9 @@ def process_indicator_file(
180
181
  # we assume that collection files can also be loaded directly
181
182
  process_collection_file(catalog_config, file_path, parent_indicator, options)
182
183
  add_collection_information(catalog_config, parent_indicator, indicator_config, True)
184
+ if iter_len_at_least(parent_indicator.get_items(recursive=True), 1):
185
+ parent_indicator.update_extent_from_items()
183
186
  # get shared extent of all of the collections
184
- # we do not want to use update_extent_from_items() because
185
187
  # they might have OverwriteBBox and that would discard it for indicator
186
188
  merged_bbox = merge_bboxes(
187
189
  [
eodash_catalog/utils.py CHANGED
@@ -342,7 +342,7 @@ def add_single_item_if_collection_empty(collection: Collection) -> None:
342
342
  else:
343
343
  item = Item(
344
344
  id=str(uuid.uuid4()),
345
- bbox=[-180, -85, 180, 85],
345
+ bbox=[-180.0, -90.0, 180.0, 90.0],
346
346
  properties={},
347
347
  geometry=None,
348
348
  datetime=datetime(1970, 1, 1, 0, 0, 0, tzinfo=pytztimezone("UTC")),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eodash_catalog
3
- Version: 0.1.13
3
+ Version: 0.1.14
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=dmCogOJJAgfZXtPFococGtwkuFOLMDrKvPeVJYgE4Y4,138
1
+ eodash_catalog/__about__.py,sha256=6pcr8aDKO655c-Qs29we92qBgqvjHBptfwZL0xRSlSM,138
2
2
  eodash_catalog/__init__.py,sha256=_W_9emPYf6FUqc0P8L2SmADx6hGSd7PlQV3yRmCk5uM,115
3
3
  eodash_catalog/duration.py,sha256=B6XOZfvNU7SuqpxuVtT1kNKODoOQJXDI6mocvA_U1ik,10816
4
4
  eodash_catalog/endpoints.py,sha256=vH36HeuHP6b7ybrcyznScg58uDAaDKsRibKlq2TcfQk,45850
5
- eodash_catalog/generate_indicators.py,sha256=r0Q1T3lHj0Gvul4rA4XVpy-PDuAqPhRUOZ2E29Xf4wE,19924
5
+ eodash_catalog/generate_indicators.py,sha256=3EY13dl22T8ZdvldHcAI1xeTmnhqHM76CNmD-RHdZmM,20009
6
6
  eodash_catalog/sh_endpoint.py,sha256=XjZsZJ5jfJZLQenSTqUhiUZ5YAu9M9nv2KL1Qv3Be-I,1219
7
7
  eodash_catalog/stac_handling.py,sha256=6ZgV6GUpsQ6PEPKGxKkgoeYR7l6gDgdx-_Zm2L1SXBk,25503
8
8
  eodash_catalog/thumbnails.py,sha256=oNbWdRC8KTLUC4PbSMlSaiOeLXfkIpa0j-sOZdn1RGU,2262
9
- eodash_catalog/utils.py,sha256=3o_INtwI9K-S6dSodV2KjP8R4URwYE68HTlwqg6tOr8,16812
10
- eodash_catalog-0.1.13.dist-info/METADATA,sha256=1xNCup0qTZnZFlJO94BhcC5Aa8qnu2Mdy-6D-r-m3n4,3020
11
- eodash_catalog-0.1.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
- eodash_catalog-0.1.13.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
- eodash_catalog-0.1.13.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
- eodash_catalog-0.1.13.dist-info/RECORD,,
9
+ eodash_catalog/utils.py,sha256=cLoIi_8iJgr0VB9vC_LeMZZCTg7Y58qw5vAa664sjwc,16820
10
+ eodash_catalog-0.1.14.dist-info/METADATA,sha256=G2zb0r6sS16Jc-F7TCVP-LqAVnl_FAv188jh1Q2bOJU,3020
11
+ eodash_catalog-0.1.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ eodash_catalog-0.1.14.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
13
+ eodash_catalog-0.1.14.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
14
+ eodash_catalog-0.1.14.dist-info/RECORD,,