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.
- eodash_catalog/__about__.py +1 -1
- eodash_catalog/generate_indicators.py +3 -1
- eodash_catalog/utils.py +1 -1
- {eodash_catalog-0.1.13.dist-info → eodash_catalog-0.1.14.dist-info}/METADATA +1 -1
- {eodash_catalog-0.1.13.dist-info → eodash_catalog-0.1.14.dist-info}/RECORD +8 -8
- {eodash_catalog-0.1.13.dist-info → eodash_catalog-0.1.14.dist-info}/WHEEL +0 -0
- {eodash_catalog-0.1.13.dist-info → eodash_catalog-0.1.14.dist-info}/entry_points.txt +0 -0
- {eodash_catalog-0.1.13.dist-info → eodash_catalog-0.1.14.dist-info}/licenses/LICENSE.txt +0 -0
eodash_catalog/__about__.py
CHANGED
|
@@ -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, -
|
|
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.
|
|
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=
|
|
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=
|
|
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=
|
|
10
|
-
eodash_catalog-0.1.
|
|
11
|
-
eodash_catalog-0.1.
|
|
12
|
-
eodash_catalog-0.1.
|
|
13
|
-
eodash_catalog-0.1.
|
|
14
|
-
eodash_catalog-0.1.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|