eodash_catalog 0.3.12__tar.gz → 0.3.14__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.12 → eodash_catalog-0.3.14}/.bumpversion.cfg +1 -1
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/Dockerfile +1 -1
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/PKG-INFO +1 -1
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/__about__.py +1 -1
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/endpoints.py +5 -5
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/stac_handling.py +1 -1
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_sh_wms.json +2 -2
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/.dockerignore +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/.github/workflows/ci.yml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/.github/workflows/python-publish.yml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/.gitignore +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/.vscode/extensions.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/.vscode/settings.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/LICENSE.txt +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/README.md +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/pyproject.toml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/requirements.txt +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/ruff.toml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/__init__.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/duration.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/generate_indicators.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/sh_endpoint.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/thumbnails.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/src/eodash_catalog/utils.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/__init__.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/test-data/regional_forecast.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/test_generate.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/test_geoparquet.py +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-catalogs/testing-json.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-catalogs/testing.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_cmems.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_cog.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_geodb.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_geodb_locations.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_geojson.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_locations_processing.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_process.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_projection.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_sh_wms_locations.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_tif_demo_1_json.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_veda.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_veda_tiles.json +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_wms_no_time.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-indicators/test_indicator.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-layers/baselayers.yaml +0 -0
- {eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/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.14
|
|
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
|
|
@@ -176,7 +176,7 @@ def handle_STAC_based_endpoint(
|
|
|
176
176
|
catalog, collection_config["Name"], collection_config, catalog_config, endpoint_config
|
|
177
177
|
)
|
|
178
178
|
for location in collection_config["Locations"]:
|
|
179
|
-
identifier = location.get("Identifier", uuid.uuid4())
|
|
179
|
+
identifier = location.get("Identifier", str(uuid.uuid4()))
|
|
180
180
|
collection = process_STACAPI_Endpoint(
|
|
181
181
|
catalog_config=catalog_config,
|
|
182
182
|
endpoint_config=endpoint_config,
|
|
@@ -221,8 +221,8 @@ def handle_STAC_based_endpoint(
|
|
|
221
221
|
update_extents_from_collection_children(root_collection)
|
|
222
222
|
else:
|
|
223
223
|
bbox = None
|
|
224
|
-
if endpoint_config.get("
|
|
225
|
-
bbox = ",".join(map(str, endpoint_config["
|
|
224
|
+
if endpoint_config.get("OverwriteBBox"):
|
|
225
|
+
bbox = ",".join(map(str, endpoint_config["OverwriteBBox"]))
|
|
226
226
|
root_collection = process_STACAPI_Endpoint(
|
|
227
227
|
catalog_config=catalog_config,
|
|
228
228
|
endpoint_config=endpoint_config,
|
|
@@ -476,7 +476,7 @@ def handle_SH_WMS_endpoint(
|
|
|
476
476
|
# if locations are not provided, treat the collection as a
|
|
477
477
|
# general proxy to the sentinel hub layer
|
|
478
478
|
datetimes = get_collection_datetimes_from_config(endpoint_config)
|
|
479
|
-
bbox = endpoint_config.get("
|
|
479
|
+
bbox = endpoint_config.get("OverwriteBBox", [-180, -85, 180, 85])
|
|
480
480
|
items = []
|
|
481
481
|
for dt in datetimes:
|
|
482
482
|
item = Item(
|
|
@@ -1532,7 +1532,7 @@ def handle_vector_tile_source(
|
|
|
1532
1532
|
extra_fields_link = {}
|
|
1533
1533
|
add_authentication(item, time_entry["Url"], extra_fields_link)
|
|
1534
1534
|
# add mapbox vector tile link
|
|
1535
|
-
identifier = uuid.uuid4()
|
|
1535
|
+
identifier = str(uuid.uuid4())
|
|
1536
1536
|
extra_fields_link["key"] = identifier
|
|
1537
1537
|
link = Link(
|
|
1538
1538
|
rel="vector-tile",
|
|
@@ -151,7 +151,7 @@ def create_web_map_link(
|
|
|
151
151
|
if layer_config.get("dimensions"):
|
|
152
152
|
extra_fields["wmts:dimensions"] = layer_config["dimensions"]
|
|
153
153
|
case "vector-tile":
|
|
154
|
-
identifier = uuid.uuid4()
|
|
154
|
+
identifier = str(uuid.uuid4())
|
|
155
155
|
extra_fields["key"] = identifier
|
|
156
156
|
media_type = "application/vnd.mapbox-vector-tile"
|
|
157
157
|
if ep_st := layer_config.get("Style"):
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"Name": "Sentinel Hub WMS",
|
|
34
34
|
"CollectionId": "sentinel-1-grd",
|
|
35
35
|
"LayerId": "SENTINEL_1_IW_VV",
|
|
36
|
-
"
|
|
36
|
+
"OverwriteBBox": [
|
|
37
37
|
101.938,
|
|
38
38
|
11.945,
|
|
39
39
|
106.37,
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
"Url": "https://www.copernicus.eu/en/access-data/conventional-data-access-hubs"
|
|
66
66
|
}
|
|
67
67
|
]
|
|
68
|
-
}
|
|
68
|
+
}
|
|
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.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_CROPOMAT1.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_geodb_locations.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_projection.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_see_solar_energy.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_sh_wms_locations.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_tif_demo_1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_tif_demo_1_json.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_tif_demo_2.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_veda_tiles.json
RENAMED
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-collections/test_wms_no_time.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.3.12 → eodash_catalog-0.3.14}/tests/testing-indicators/test_indicator.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|