eodash_catalog 0.0.31__tar.gz → 0.0.32__tar.gz
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-0.0.31 → eodash_catalog-0.0.32}/.bumpversion.cfg +1 -1
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/PKG-INFO +1 -1
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/__about__.py +1 -1
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/endpoints.py +11 -5
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/.github/workflows/ci.yml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/.github/workflows/python-publish.yml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/.gitignore +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/.vscode/extensions.json +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/.vscode/settings.json +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/LICENSE.txt +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/README.md +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/pyproject.toml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/requirements.txt +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/ruff.toml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/__init__.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/duration.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/generate_indicators.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/sh_endpoint.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/stac_handling.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/thumbnails.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/src/eodash_catalog/utils.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/__init__.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/test-data/regional_forecast.json +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/test_generate.py +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-catalogs/testing.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_wms_no_time.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-indicators/test_indicator.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-layers/baselayers.yaml +0 -0
- {eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-layers/overlays.yaml +0 -0
|
@@ -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
|
|
@@ -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,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_CROPOMAT1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_see_solar_energy.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_tif_demo_1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_tif_demo_2.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-collections/test_wms_no_time.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.31 → eodash_catalog-0.0.32}/tests/testing-indicators/test_indicator.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|