eodash_catalog 0.0.31__py3-none-any.whl → 0.0.32__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.
- eodash_catalog/__about__.py +1 -1
- eodash_catalog/endpoints.py +11 -5
- {eodash_catalog-0.0.31.dist-info → eodash_catalog-0.0.32.dist-info}/METADATA +1 -1
- {eodash_catalog-0.0.31.dist-info → eodash_catalog-0.0.32.dist-info}/RECORD +7 -7
- {eodash_catalog-0.0.31.dist-info → eodash_catalog-0.0.32.dist-info}/WHEEL +0 -0
- {eodash_catalog-0.0.31.dist-info → eodash_catalog-0.0.32.dist-info}/entry_points.txt +0 -0
- {eodash_catalog-0.0.31.dist-info → eodash_catalog-0.0.32.dist-info}/licenses/LICENSE.txt +0 -0
eodash_catalog/__about__.py
CHANGED
eodash_catalog/endpoints.py
CHANGED
|
@@ -244,7 +244,10 @@ def process_STACAPI_Endpoint(
|
|
|
244
244
|
item,
|
|
245
245
|
collection_config,
|
|
246
246
|
endpoint_config,
|
|
247
|
-
datetimes=[
|
|
247
|
+
datetimes=[
|
|
248
|
+
parse_datestring_to_tz_aware_datetime(item.properties["start_datetime"]),
|
|
249
|
+
parse_datestring_to_tz_aware_datetime(item.properties["end_datetime"]),
|
|
250
|
+
],
|
|
248
251
|
)
|
|
249
252
|
# If a root collection exists we point back to it from the item
|
|
250
253
|
if root_collection:
|
|
@@ -253,11 +256,14 @@ def process_STACAPI_Endpoint(
|
|
|
253
256
|
# bubble up information we want to the link
|
|
254
257
|
# it is possible for datetime to be null, if it is start and end datetime have to exist
|
|
255
258
|
if item_datetime:
|
|
256
|
-
|
|
257
|
-
link.extra_fields["datetime"] = iso_time
|
|
259
|
+
link.extra_fields["datetime"] = format_datetime_to_isostring_zulu(item_datetime)
|
|
258
260
|
else:
|
|
259
|
-
link.extra_fields["start_datetime"] =
|
|
260
|
-
|
|
261
|
+
link.extra_fields["start_datetime"] = format_datetime_to_isostring_zulu(
|
|
262
|
+
parse_datestring_to_tz_aware_datetime(item.properties["start_datetime"])
|
|
263
|
+
)
|
|
264
|
+
link.extra_fields["end_datetime"] = format_datetime_to_isostring_zulu(
|
|
265
|
+
parse_datestring_to_tz_aware_datetime(item.properties["end_datetime"])
|
|
266
|
+
)
|
|
261
267
|
add_projection_info(
|
|
262
268
|
endpoint_config,
|
|
263
269
|
item,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: eodash_catalog
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.32
|
|
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=vRz03v0NXqxVPiNodI4lOLAOneYBA5ucoOjLd9kz19w,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=
|
|
4
|
+
eodash_catalog/endpoints.py,sha256=4epzRUu5diX-oGe_pZR-qvJsNSQSHUrP27KHd4HrFik,37008
|
|
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=2iJwBbsBZIBqGWOdnpIfSug0SoOjbkutpSbWAeQRECU,17828
|
|
8
8
|
eodash_catalog/thumbnails.py,sha256=qZDcpQe80ki6lEMKYdZtSnnHH0PUpcoXTvU9bYdPlzU,2260
|
|
9
9
|
eodash_catalog/utils.py,sha256=YBB-cfS_Z4ErMAuBVizBQg18IMIxJb4amW1MfDGExg0,11666
|
|
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.32.dist-info/METADATA,sha256=tTXm5ZmDTCSkCt3qkNOT8VtuCuPxgN31L65Besta19E,3203
|
|
11
|
+
eodash_catalog-0.0.32.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
12
|
+
eodash_catalog-0.0.32.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
|
|
13
|
+
eodash_catalog-0.0.32.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
|
|
14
|
+
eodash_catalog-0.0.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|