eodash_catalog 0.3.10__tar.gz → 0.3.11__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.3.10 → eodash_catalog-0.3.11}/.bumpversion.cfg +1 -1
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/Dockerfile +1 -1
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/PKG-INFO +1 -1
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/__about__.py +1 -1
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/endpoints.py +5 -1
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/stac_handling.py +2 -2
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/.dockerignore +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/.github/workflows/ci.yml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/.github/workflows/python-publish.yml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/.gitignore +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/.vscode/extensions.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/.vscode/settings.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/LICENSE.txt +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/README.md +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/pyproject.toml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/requirements.txt +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/ruff.toml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/__init__.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/duration.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/generate_indicators.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/sh_endpoint.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/thumbnails.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/src/eodash_catalog/utils.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/__init__.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/test-data/regional_forecast.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/test_generate.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/test_geoparquet.py +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-catalogs/testing-json.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-catalogs/testing.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_cmems.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_cog.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_geodb.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_geodb_locations.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_geojson.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_locations_processing.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_process.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_projection.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_sh_wms.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_sh_wms_locations.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_tif_demo_1_json.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_veda.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_veda_tiles.json +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_wms_no_time.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-indicators/test_indicator.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-layers/baselayers.yaml +0 -0
- {eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-layers/overlays.yaml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eodash_catalog
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.11
|
|
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
|
|
@@ -1060,6 +1060,10 @@ def generate_veda_tiles_link(endpoint_config: dict, item: str | None) -> str:
|
|
|
1060
1060
|
color_formula = ""
|
|
1061
1061
|
if endpoint_config.get("ColorFormula"):
|
|
1062
1062
|
color_formula = "&color_formula={}".format(endpoint_config["ColorFormula"])
|
|
1063
|
+
rescale = ""
|
|
1064
|
+
if endpoint_config.get("Rescale"):
|
|
1065
|
+
for rescale in endpoint_config["Rescale"]:
|
|
1066
|
+
rescale += f"&rescale={rescale}"
|
|
1063
1067
|
no_data = ""
|
|
1064
1068
|
if endpoint_config.get("NoData"):
|
|
1065
1069
|
no_data = "&no_data={}".format(endpoint_config["NoData"])
|
|
@@ -1067,7 +1071,7 @@ def generate_veda_tiles_link(endpoint_config: dict, item: str | None) -> str:
|
|
|
1067
1071
|
target_url_base = endpoint_config["EndPoint"].replace("/stac/", "")
|
|
1068
1072
|
target_url = (
|
|
1069
1073
|
f"{target_url_base}/raster/collections/{collection}/items/{item}"
|
|
1070
|
-
f"/tiles/WebMercatorQuad/{{z}}/{{x}}/{{y}}?{assets}{color_formula}{no_data}"
|
|
1074
|
+
f"/tiles/WebMercatorQuad/{{z}}/{{x}}/{{y}}?{assets}{color_formula}{no_data}{rescale}"
|
|
1071
1075
|
)
|
|
1072
1076
|
return target_url
|
|
1073
1077
|
|
|
@@ -476,7 +476,7 @@ def add_base_overlay_info(
|
|
|
476
476
|
collection: Collection, catalog_config: dict, collection_config: dict
|
|
477
477
|
) -> None:
|
|
478
478
|
# add custom baselayers specially for this indicator
|
|
479
|
-
if
|
|
479
|
+
if "BaseLayers" in collection_config:
|
|
480
480
|
for layer in collection_config["BaseLayers"]:
|
|
481
481
|
collection.add_link(create_web_map_link(layer, role="baselayer"))
|
|
482
482
|
# alternatively use default base layers defined
|
|
@@ -485,7 +485,7 @@ def add_base_overlay_info(
|
|
|
485
485
|
for layer in base_layers:
|
|
486
486
|
collection.add_link(create_web_map_link(layer, role="baselayer"))
|
|
487
487
|
# add custom overlays just for this indicator
|
|
488
|
-
if
|
|
488
|
+
if "OverlayLayers" in collection_config:
|
|
489
489
|
for layer in collection_config["OverlayLayers"]:
|
|
490
490
|
collection.add_link(create_web_map_link(layer, role="overlay"))
|
|
491
491
|
# check if default overlay layers defined
|
|
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
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_CROPOMAT1.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_geodb_locations.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_projection.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_see_solar_energy.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_sh_wms_locations.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_tif_demo_1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_tif_demo_1_json.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_tif_demo_2.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_veda_tiles.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-collections/test_wms_no_time.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.3.10 → eodash_catalog-0.3.11}/tests/testing-indicators/test_indicator.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|