eodash_catalog 0.0.26__tar.gz → 0.0.28__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.26 → eodash_catalog-0.0.28}/.bumpversion.cfg +1 -1
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/PKG-INFO +1 -1
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/__about__.py +1 -1
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/endpoints.py +6 -4
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/.github/workflows/ci.yml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/.github/workflows/python-publish.yml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/.gitignore +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/.vscode/extensions.json +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/.vscode/settings.json +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/LICENSE.txt +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/README.md +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/pyproject.toml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/requirements.txt +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/ruff.toml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/__init__.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/duration.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/generate_indicators.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/sh_endpoint.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/stac_handling.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/thumbnails.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/src/eodash_catalog/utils.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/__init__.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/test-data/regional_forecast.json +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/test_generate.py +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-catalogs/testing.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_wms_no_time.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-indicators/test_indicator.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-layers/baselayers.yaml +0 -0
- {eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/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.28
|
|
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
|
|
@@ -574,7 +574,7 @@ def handle_WMS_endpoint(
|
|
|
574
574
|
|
|
575
575
|
|
|
576
576
|
def generate_veda_tiles_link(endpoint_config: dict, item: str | None) -> str:
|
|
577
|
-
collection =
|
|
577
|
+
collection = endpoint_config["CollectionId"]
|
|
578
578
|
assets = ""
|
|
579
579
|
for asset in endpoint_config["Assets"]:
|
|
580
580
|
assets += f"&assets={asset}"
|
|
@@ -584,8 +584,8 @@ def generate_veda_tiles_link(endpoint_config: dict, item: str | None) -> str:
|
|
|
584
584
|
no_data = ""
|
|
585
585
|
if "NoData" in endpoint_config:
|
|
586
586
|
no_data = "&no_data={}".format(endpoint_config["NoData"])
|
|
587
|
-
item =
|
|
588
|
-
target_url = f"https://openveda.cloud/api/raster/
|
|
587
|
+
item = item if item else "{item}"
|
|
588
|
+
target_url = f"https://openveda.cloud/api/raster/collections/{collection}/items/{item}/tiles/WebMercatorQuad/{{z}}/{{x}}/{{y}}?{assets}{color_formula}{no_data}"
|
|
589
589
|
return target_url
|
|
590
590
|
|
|
591
591
|
|
|
@@ -826,6 +826,7 @@ def handle_raw_source(
|
|
|
826
826
|
catalog, collection_config["Name"], collection_config, catalog_config, endpoint_config
|
|
827
827
|
)
|
|
828
828
|
if len(endpoint_config.get("TimeEntries", [])) > 0:
|
|
829
|
+
style_link = None
|
|
829
830
|
for time_entry in endpoint_config["TimeEntries"]:
|
|
830
831
|
assets = {}
|
|
831
832
|
media_type = "application/geo+json"
|
|
@@ -869,7 +870,8 @@ def handle_raw_source(
|
|
|
869
870
|
link.extra_fields["datetime"] = time_entry["Time"]
|
|
870
871
|
link.extra_fields["assets"] = [a["File"] for a in time_entry["Assets"]]
|
|
871
872
|
# eodash v4 compatibility, adding last referenced style to collection
|
|
872
|
-
|
|
873
|
+
if style_link:
|
|
874
|
+
collection.add_link(style_link)
|
|
873
875
|
add_collection_information(catalog_config, collection, collection_config)
|
|
874
876
|
collection.update_extent_from_items()
|
|
875
877
|
return collection
|
|
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.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_CROPOMAT1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_see_solar_energy.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_tif_demo_1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_tif_demo_2.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-collections/test_wms_no_time.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.0.26 → eodash_catalog-0.0.28}/tests/testing-indicators/test_indicator.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|