eodash_catalog 0.1.4__tar.gz → 0.1.6__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.1.4 → eodash_catalog-0.1.6}/.bumpversion.cfg +1 -1
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/PKG-INFO +1 -1
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/__about__.py +1 -1
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/endpoints.py +2 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/generate_indicators.py +5 -1
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/stac_handling.py +5 -2
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/.github/workflows/ci.yml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/.github/workflows/python-publish.yml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/.gitignore +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/.vscode/extensions.json +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/.vscode/settings.json +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/LICENSE.txt +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/README.md +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/pyproject.toml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/requirements.txt +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/ruff.toml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/__init__.py +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/duration.py +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/sh_endpoint.py +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/thumbnails.py +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/src/eodash_catalog/utils.py +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/__init__.py +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/test-data/regional_forecast.json +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/test_generate.py +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-catalogs/testing.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_wms_no_time.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-indicators/test_indicator.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-layers/baselayers.yaml +0 -0
- {eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/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.1.
|
|
3
|
+
Version: 0.1.6
|
|
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
|
|
@@ -970,6 +970,8 @@ def handle_raw_source(
|
|
|
970
970
|
if endpoint_config["Name"] == "COG source":
|
|
971
971
|
style_type = "text/cog-styles"
|
|
972
972
|
media_type = "image/tiff"
|
|
973
|
+
if endpoint_config["Name"] == "FlatGeobuf source":
|
|
974
|
+
media_type = "application/vnd.flatgeobuf"
|
|
973
975
|
for a in time_entry["Assets"]:
|
|
974
976
|
asset = Asset(
|
|
975
977
|
href=a["File"], roles=["data"], media_type=media_type, extra_fields={}
|
|
@@ -257,7 +257,11 @@ def process_collection_file(
|
|
|
257
257
|
collection_config,
|
|
258
258
|
catalog,
|
|
259
259
|
)
|
|
260
|
-
elif endpoint_config["Name"] in [
|
|
260
|
+
elif endpoint_config["Name"] in [
|
|
261
|
+
"COG source",
|
|
262
|
+
"GeoJSON source",
|
|
263
|
+
"FlatGeobuf source",
|
|
264
|
+
]:
|
|
261
265
|
collection = handle_raw_source(
|
|
262
266
|
catalog_config, endpoint_config, collection_config, catalog
|
|
263
267
|
)
|
|
@@ -375,8 +375,11 @@ def add_process_info(collection: Collection, catalog_config: dict, collection_co
|
|
|
375
375
|
collection.add_link(
|
|
376
376
|
Link(
|
|
377
377
|
rel="service",
|
|
378
|
-
target="{}{}{}".format(
|
|
379
|
-
resource["EndPoint"],
|
|
378
|
+
target="{}{}_{}{}".format(
|
|
379
|
+
resource["EndPoint"],
|
|
380
|
+
resource["Database"],
|
|
381
|
+
resource["CollectionId"],
|
|
382
|
+
query_string,
|
|
380
383
|
),
|
|
381
384
|
media_type="application/json",
|
|
382
385
|
extra_fields={
|
|
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.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_see_solar_energy.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_tif_demo_1.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_tif_demo_2.yaml
RENAMED
|
File without changes
|
{eodash_catalog-0.1.4 → eodash_catalog-0.1.6}/tests/testing-collections/test_wms_no_time.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|