eodash_catalog 0.0.12__py3-none-any.whl → 0.0.13__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/stac_handling.py +5 -5
- {eodash_catalog-0.0.12.dist-info → eodash_catalog-0.0.13.dist-info}/METADATA +1 -1
- {eodash_catalog-0.0.12.dist-info → eodash_catalog-0.0.13.dist-info}/RECORD +7 -7
- {eodash_catalog-0.0.12.dist-info → eodash_catalog-0.0.13.dist-info}/WHEEL +0 -0
- {eodash_catalog-0.0.12.dist-info → eodash_catalog-0.0.13.dist-info}/entry_points.txt +0 -0
- {eodash_catalog-0.0.12.dist-info → eodash_catalog-0.0.13.dist-info}/licenses/LICENSE.txt +0 -0
eodash_catalog/__about__.py
CHANGED
eodash_catalog/stac_handling.py
CHANGED
|
@@ -68,7 +68,7 @@ def get_or_create_collection(
|
|
|
68
68
|
description = collection_config["Subtitle"]
|
|
69
69
|
else:
|
|
70
70
|
# relative path to assets was given
|
|
71
|
-
response = requests.get(f
|
|
71
|
+
response = requests.get(f'{catalog_config["assets_endpoint"]}/{description}')
|
|
72
72
|
if response.status_code == 200:
|
|
73
73
|
description = response.text
|
|
74
74
|
elif "Subtitle" in collection_config:
|
|
@@ -273,7 +273,7 @@ def add_collection_information(
|
|
|
273
273
|
collection.add_asset(
|
|
274
274
|
"legend",
|
|
275
275
|
Asset(
|
|
276
|
-
href=f
|
|
276
|
+
href=f'{catalog_config["assets_endpoint"]}/{collection_config["Legend"]}',
|
|
277
277
|
media_type="image/png",
|
|
278
278
|
roles=["metadata"],
|
|
279
279
|
),
|
|
@@ -282,7 +282,7 @@ def add_collection_information(
|
|
|
282
282
|
collection.add_asset(
|
|
283
283
|
"story",
|
|
284
284
|
Asset(
|
|
285
|
-
href=f
|
|
285
|
+
href=f'{catalog_config["assets_endpoint"]}/{collection_config["Story"]}',
|
|
286
286
|
media_type="text/markdown",
|
|
287
287
|
roles=["metadata"],
|
|
288
288
|
),
|
|
@@ -291,7 +291,7 @@ def add_collection_information(
|
|
|
291
291
|
collection.add_asset(
|
|
292
292
|
"thumbnail",
|
|
293
293
|
Asset(
|
|
294
|
-
href=f
|
|
294
|
+
href=f'{catalog_config["assets_endpoint"]}/{collection_config["Image"]}',
|
|
295
295
|
media_type="image/png",
|
|
296
296
|
roles=["thumbnail"],
|
|
297
297
|
),
|
|
@@ -323,7 +323,7 @@ def add_base_overlay_info(
|
|
|
323
323
|
) -> None:
|
|
324
324
|
# check if default base layers defined
|
|
325
325
|
if "default_base_layers" in catalog_config:
|
|
326
|
-
with open(f
|
|
326
|
+
with open(f'{catalog_config["default_base_layers"]}.yaml') as f:
|
|
327
327
|
base_layers = yaml.load(f, Loader=SafeLoader)
|
|
328
328
|
for layer in base_layers:
|
|
329
329
|
collection.add_link(create_web_map_link(layer, role="baselayer"))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: eodash_catalog
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13
|
|
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=pjS2CWOvmdNpuLtKmxKPRK9fnsjxmFPBSNe01nFtPms,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=o0m0dMmfvZ2ybRnHW-am4g4vjoQhFMNbnQ_xI2kE_D8,30658
|
|
5
5
|
eodash_catalog/generate_indicators.py,sha256=aTh7RHhUVfDjaWNH4GYiLuzC7Z8fQEfJGfckdkjwFOs,18454
|
|
6
6
|
eodash_catalog/sh_endpoint.py,sha256=vELooJwk269v1DNnOzb32vil96vL_SRCio8UBlx10N0,618
|
|
7
|
-
eodash_catalog/stac_handling.py,sha256=
|
|
7
|
+
eodash_catalog/stac_handling.py,sha256=TCvHD1vfw0lCmdzb9e4fk7M0ssmZ1nceogzOGpK7apM,16637
|
|
8
8
|
eodash_catalog/thumbnails.py,sha256=31Wk38oNQDxfhSUbMLBpHuZFhsR8v_7luYr65XQtDf0,2213
|
|
9
9
|
eodash_catalog/utils.py,sha256=JnXrXtq3bOmECPlSn86Mz35sDTOkgptz87lrISfE1Uo,7968
|
|
10
|
-
eodash_catalog-0.0.
|
|
11
|
-
eodash_catalog-0.0.
|
|
12
|
-
eodash_catalog-0.0.
|
|
13
|
-
eodash_catalog-0.0.
|
|
14
|
-
eodash_catalog-0.0.
|
|
10
|
+
eodash_catalog-0.0.13.dist-info/METADATA,sha256=Bf2eY10ukpx7IvloyIRZQEw3QEGTKWrRfNJQtwCfyFk,3203
|
|
11
|
+
eodash_catalog-0.0.13.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
12
|
+
eodash_catalog-0.0.13.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
|
|
13
|
+
eodash_catalog-0.0.13.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
|
|
14
|
+
eodash_catalog-0.0.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|