eodash_catalog 0.3.19__tar.gz → 0.3.20__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.
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/.bumpversion.cfg +1 -1
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/Dockerfile +1 -1
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/PKG-INFO +1 -1
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/__about__.py +1 -1
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/endpoints.py +6 -4
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/stac_handling.py +2 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/.dockerignore +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/.github/workflows/ci.yml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/.github/workflows/python-publish.yml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/.gitignore +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/.vscode/extensions.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/.vscode/settings.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/LICENSE.txt +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/README.md +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/pyproject.toml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/requirements.txt +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/ruff.toml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/__init__.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/duration.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/generate_indicators.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/sh_endpoint.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/thumbnails.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/src/eodash_catalog/utils.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/__init__.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/test-data/regional_forecast.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/test_generate.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/test_geoparquet.py +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-catalogs/testing-json.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-catalogs/testing.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_cmems.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_cog.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_geodb.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_geodb_locations.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_geojson.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_locations_processing.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_process.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_projection.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_sh_wms.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_sh_wms_locations.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_tif_demo_1_json.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_veda.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_veda_tiles.json +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_wms_no_time.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-indicators/test_indicator.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-layers/baselayers.yaml +0 -0
- {eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/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.20
|
|
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
|
|
@@ -714,13 +714,13 @@ def handle_GeoDB_endpoint(
|
|
|
714
714
|
latlon = unique_values["aoi"]
|
|
715
715
|
[lat, lon] = [float(x) for x in latlon.split(",")]
|
|
716
716
|
# create item for unique locations
|
|
717
|
-
buff = 0.
|
|
717
|
+
buff = 0.2
|
|
718
718
|
bbox = [lon - buff, lat - buff, lon + buff, lat + buff]
|
|
719
719
|
|
|
720
720
|
# create collection per available inputdata information
|
|
721
721
|
sc_config = {
|
|
722
|
-
"Title": city,
|
|
723
|
-
"Description":
|
|
722
|
+
"Title": f"{city} - {collection_config['Name']}",
|
|
723
|
+
"Description": collection_config["Description"],
|
|
724
724
|
}
|
|
725
725
|
locations_collection = get_or_create_collection(
|
|
726
726
|
collection, key, sc_config, catalog_config, endpoint_config
|
|
@@ -845,7 +845,7 @@ def handle_GeoDB_endpoint(
|
|
|
845
845
|
rel="wms",
|
|
846
846
|
target=url,
|
|
847
847
|
media_type=(endpoint_config.get("MimeType", "image/png")),
|
|
848
|
-
title=
|
|
848
|
+
title=first_match["Identifier"],
|
|
849
849
|
extra_fields=extra_fields,
|
|
850
850
|
)
|
|
851
851
|
item.add_link(link)
|
|
@@ -1526,6 +1526,8 @@ def handle_vector_tile_source(
|
|
|
1526
1526
|
extra_fields_link["key"] = identifier
|
|
1527
1527
|
if vector_tile_id_property := endpoint_config.get("idProperty"):
|
|
1528
1528
|
extra_fields_link["idProperty"] = vector_tile_id_property
|
|
1529
|
+
if vector_tile_id_property := endpoint_config.get("layers"):
|
|
1530
|
+
extra_fields_link["layers"] = vector_tile_id_property
|
|
1529
1531
|
link = Link(
|
|
1530
1532
|
rel="vector-tile",
|
|
1531
1533
|
target=time_entry["Url"],
|
|
@@ -157,6 +157,8 @@ def create_web_map_link(
|
|
|
157
157
|
media_type = "application/vnd.mapbox-vector-tile"
|
|
158
158
|
if vector_tile_id_property := layer_config.get("idProperty"):
|
|
159
159
|
extra_fields["idProperty"] = vector_tile_id_property
|
|
160
|
+
if vector_tile_id_property := layer_config.get("layers"):
|
|
161
|
+
layer_config["layers"] = vector_tile_id_property
|
|
160
162
|
if ep_st := layer_config.get("Style"):
|
|
161
163
|
style_link = Link(
|
|
162
164
|
rel="style",
|
|
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.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_CROPOMAT1.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_geodb_locations.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_projection.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_see_solar_energy.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_sh_wms_locations.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_tif_demo_1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_tif_demo_1_json.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_tif_demo_2.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_veda_tiles.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-collections/test_wms_no_time.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.3.19 → eodash_catalog-0.3.20}/tests/testing-indicators/test_indicator.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|