eodash_catalog 0.3.13__py3-none-any.whl → 0.3.15__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/endpoints.py +4 -2
- eodash_catalog/stac_handling.py +1 -1
- eodash_catalog/utils.py +1 -0
- {eodash_catalog-0.3.13.dist-info → eodash_catalog-0.3.15.dist-info}/METADATA +1 -1
- eodash_catalog-0.3.15.dist-info/RECORD +14 -0
- eodash_catalog-0.3.13.dist-info/RECORD +0 -14
- {eodash_catalog-0.3.13.dist-info → eodash_catalog-0.3.15.dist-info}/WHEEL +0 -0
- {eodash_catalog-0.3.13.dist-info → eodash_catalog-0.3.15.dist-info}/entry_points.txt +0 -0
- {eodash_catalog-0.3.13.dist-info → eodash_catalog-0.3.15.dist-info}/licenses/LICENSE.txt +0 -0
eodash_catalog/__about__.py
CHANGED
eodash_catalog/endpoints.py
CHANGED
|
@@ -176,7 +176,7 @@ def handle_STAC_based_endpoint(
|
|
|
176
176
|
catalog, collection_config["Name"], collection_config, catalog_config, endpoint_config
|
|
177
177
|
)
|
|
178
178
|
for location in collection_config["Locations"]:
|
|
179
|
-
identifier = location.get("Identifier", uuid.uuid4())
|
|
179
|
+
identifier = location.get("Identifier", str(uuid.uuid4()))
|
|
180
180
|
collection = process_STACAPI_Endpoint(
|
|
181
181
|
catalog_config=catalog_config,
|
|
182
182
|
endpoint_config=endpoint_config,
|
|
@@ -397,6 +397,7 @@ def handle_collection_only(
|
|
|
397
397
|
properties={},
|
|
398
398
|
geometry=None,
|
|
399
399
|
datetime=dt,
|
|
400
|
+
assets={"dummy_asset": Asset(href="")},
|
|
400
401
|
)
|
|
401
402
|
link = collection.add_item(item)
|
|
402
403
|
link.extra_fields["datetime"] = format_datetime_to_isostring_zulu(dt)
|
|
@@ -1528,11 +1529,12 @@ def handle_vector_tile_source(
|
|
|
1528
1529
|
geometry=create_geometry_from_bbox(bbox),
|
|
1529
1530
|
datetime=dt,
|
|
1530
1531
|
extra_fields={},
|
|
1532
|
+
assets={"dummy_asset": Asset(href="")},
|
|
1531
1533
|
)
|
|
1532
1534
|
extra_fields_link = {}
|
|
1533
1535
|
add_authentication(item, time_entry["Url"], extra_fields_link)
|
|
1534
1536
|
# add mapbox vector tile link
|
|
1535
|
-
identifier = uuid.uuid4()
|
|
1537
|
+
identifier = str(uuid.uuid4())
|
|
1536
1538
|
extra_fields_link["key"] = identifier
|
|
1537
1539
|
link = Link(
|
|
1538
1540
|
rel="vector-tile",
|
eodash_catalog/stac_handling.py
CHANGED
|
@@ -151,7 +151,7 @@ def create_web_map_link(
|
|
|
151
151
|
if layer_config.get("dimensions"):
|
|
152
152
|
extra_fields["wmts:dimensions"] = layer_config["dimensions"]
|
|
153
153
|
case "vector-tile":
|
|
154
|
-
identifier = uuid.uuid4()
|
|
154
|
+
identifier = str(uuid.uuid4())
|
|
155
155
|
extra_fields["key"] = identifier
|
|
156
156
|
media_type = "application/vnd.mapbox-vector-tile"
|
|
157
157
|
if ep_st := layer_config.get("Style"):
|
eodash_catalog/utils.py
CHANGED
|
@@ -328,6 +328,7 @@ def add_single_item_if_collection_empty(endpoint_config: dict, collection: Colle
|
|
|
328
328
|
datetime=datetime(1970, 1, 1, 0, 0, 0, tzinfo=pytztimezone("UTC")),
|
|
329
329
|
start_datetime=datetime(1970, 1, 1, 0, 0, 0, tzinfo=pytztimezone("UTC")),
|
|
330
330
|
end_datetime=datetime.now(tz=pytztimezone("UTC")),
|
|
331
|
+
assets={"dummy_asset": Asset(href="")},
|
|
331
332
|
)
|
|
332
333
|
collection.add_item(item)
|
|
333
334
|
if not endpoint_config.get("OverwriteBBox"):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eodash_catalog
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.15
|
|
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
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
eodash_catalog/__about__.py,sha256=V-gqffc2FYeFLnSHY9buU1ZwQJlAXa7NFFe7RUh-fvw,138
|
|
2
|
+
eodash_catalog/__init__.py,sha256=_W_9emPYf6FUqc0P8L2SmADx6hGSd7PlQV3yRmCk5uM,115
|
|
3
|
+
eodash_catalog/duration.py,sha256=TBG7v1lCpbYowADK5uJ2M8kPxsvQneFAFi1NIE26dy4,10754
|
|
4
|
+
eodash_catalog/endpoints.py,sha256=dQItCAgnxDC8MtuVN0fkXDNYSEZVXfqPit_UAjz7Cgg,65299
|
|
5
|
+
eodash_catalog/generate_indicators.py,sha256=djFmhrP_Nsnl1uC5Nd7CI4KbgRkDipUXAad0B2vC3lI,23002
|
|
6
|
+
eodash_catalog/sh_endpoint.py,sha256=l95NRh__AnpEZBhlzTaGVmBnyX00Sr7RRjwy114nroY,1323
|
|
7
|
+
eodash_catalog/stac_handling.py,sha256=44SfFkRyYI7gk7Md-m9E9YvkVZNzcqNsBk97YlD3AzM,27802
|
|
8
|
+
eodash_catalog/thumbnails.py,sha256=9tPnEdwDaScGCMHpDYXayCnAQYoG_E2oIiBFVGvqOz0,2372
|
|
9
|
+
eodash_catalog/utils.py,sha256=2ov62y3OkYX4x2-XpH73FBZ71ulC0ie9m0rSGkuNw4g,24082
|
|
10
|
+
eodash_catalog-0.3.15.dist-info/METADATA,sha256=xebF2q_ni2DsEinK2rN1fCTxMjAzt8eoc9Dxx8zlrbw,3020
|
|
11
|
+
eodash_catalog-0.3.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
12
|
+
eodash_catalog-0.3.15.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
|
|
13
|
+
eodash_catalog-0.3.15.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
|
|
14
|
+
eodash_catalog-0.3.15.dist-info/RECORD,,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
eodash_catalog/__about__.py,sha256=KH8aZKnX9omeGQR5vGzYS1G5xjoOtXnKNbSX5MLYiB0,138
|
|
2
|
-
eodash_catalog/__init__.py,sha256=_W_9emPYf6FUqc0P8L2SmADx6hGSd7PlQV3yRmCk5uM,115
|
|
3
|
-
eodash_catalog/duration.py,sha256=TBG7v1lCpbYowADK5uJ2M8kPxsvQneFAFi1NIE26dy4,10754
|
|
4
|
-
eodash_catalog/endpoints.py,sha256=veVjrpE1hA6gF8kDKFifex5fNBohgh6_wgP8y5lKzFo,65177
|
|
5
|
-
eodash_catalog/generate_indicators.py,sha256=djFmhrP_Nsnl1uC5Nd7CI4KbgRkDipUXAad0B2vC3lI,23002
|
|
6
|
-
eodash_catalog/sh_endpoint.py,sha256=l95NRh__AnpEZBhlzTaGVmBnyX00Sr7RRjwy114nroY,1323
|
|
7
|
-
eodash_catalog/stac_handling.py,sha256=lXMzAHT5L35cbVODQg141hDMRiswx6u6dWoEGy6s_T8,27797
|
|
8
|
-
eodash_catalog/thumbnails.py,sha256=9tPnEdwDaScGCMHpDYXayCnAQYoG_E2oIiBFVGvqOz0,2372
|
|
9
|
-
eodash_catalog/utils.py,sha256=Dv28AYksex7lcRi4f4N3UP5svpv_DIHcFOTRaxd5BKM,24030
|
|
10
|
-
eodash_catalog-0.3.13.dist-info/METADATA,sha256=NCDeupYhXX168cy-HEns40KoBIXGFhUs3KG4dTZf5I4,3020
|
|
11
|
-
eodash_catalog-0.3.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
12
|
-
eodash_catalog-0.3.13.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
|
|
13
|
-
eodash_catalog-0.3.13.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
|
|
14
|
-
eodash_catalog-0.3.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|