eodash_catalog 0.3.15__py3-none-any.whl → 0.3.16__py3-none-any.whl
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/__about__.py +1 -1
- eodash_catalog/endpoints.py +8 -22
- eodash_catalog/generate_indicators.py +0 -11
- {eodash_catalog-0.3.15.dist-info → eodash_catalog-0.3.16.dist-info}/METADATA +1 -1
- {eodash_catalog-0.3.15.dist-info → eodash_catalog-0.3.16.dist-info}/RECORD +8 -8
- {eodash_catalog-0.3.15.dist-info → eodash_catalog-0.3.16.dist-info}/WHEEL +0 -0
- {eodash_catalog-0.3.15.dist-info → eodash_catalog-0.3.16.dist-info}/entry_points.txt +0 -0
- {eodash_catalog-0.3.15.dist-info → eodash_catalog-0.3.16.dist-info}/licenses/LICENSE.txt +0 -0
eodash_catalog/__about__.py
CHANGED
eodash_catalog/endpoints.py
CHANGED
|
@@ -1145,6 +1145,14 @@ def add_visualization_info(
|
|
|
1145
1145
|
"role": ["data"],
|
|
1146
1146
|
}
|
|
1147
1147
|
)
|
|
1148
|
+
if collection_config.get("EodashIdentifier") == "FNF":
|
|
1149
|
+
extra_fields.update(
|
|
1150
|
+
{
|
|
1151
|
+
"wms:layers": endpoint_config.get("LayerId", "").replace(
|
|
1152
|
+
"{time}", (datetimes is not None and str(datetimes[0].year)) or "2020"
|
|
1153
|
+
),
|
|
1154
|
+
}
|
|
1155
|
+
)
|
|
1148
1156
|
dimensions = {}
|
|
1149
1157
|
if dimensions_config := endpoint_config.get("Dimensions", {}):
|
|
1150
1158
|
for key, value in dimensions_config.items():
|
|
@@ -1218,28 +1226,6 @@ def add_visualization_info(
|
|
|
1218
1226
|
link,
|
|
1219
1227
|
)
|
|
1220
1228
|
stac_object.add_link(link)
|
|
1221
|
-
elif endpoint_config["Name"] == "JAXA_WMTS_PALSAR":
|
|
1222
|
-
target_url = "{}".format(endpoint_config.get("EndPoint"))
|
|
1223
|
-
# custom time just for this special case as a default for collection wmts
|
|
1224
|
-
time = None
|
|
1225
|
-
if datetimes is not None:
|
|
1226
|
-
time = datetimes[0]
|
|
1227
|
-
extra_fields.update(
|
|
1228
|
-
{
|
|
1229
|
-
"wmts:layer": endpoint_config.get("LayerId", "").replace(
|
|
1230
|
-
"{time}", (time and str(time.year)) or "2017"
|
|
1231
|
-
)
|
|
1232
|
-
}
|
|
1233
|
-
)
|
|
1234
|
-
stac_object.add_link(
|
|
1235
|
-
Link(
|
|
1236
|
-
rel="wmts",
|
|
1237
|
-
target=target_url,
|
|
1238
|
-
media_type="image/png",
|
|
1239
|
-
title="wmts capabilities",
|
|
1240
|
-
extra_fields=extra_fields,
|
|
1241
|
-
)
|
|
1242
|
-
)
|
|
1243
1229
|
elif endpoint_config["Name"] == "xcube":
|
|
1244
1230
|
if endpoint_config["Type"] == "zarr":
|
|
1245
1231
|
# either preset ColormapName of left as a template
|
|
@@ -302,17 +302,6 @@ def process_collection_file(
|
|
|
302
302
|
catalog,
|
|
303
303
|
options,
|
|
304
304
|
)
|
|
305
|
-
elif endpoint_config["Name"] == "JAXA_WMTS_PALSAR":
|
|
306
|
-
# somewhat one off creation of individual WMTS layers as individual items
|
|
307
|
-
collection = handle_WMS_endpoint(
|
|
308
|
-
catalog_config,
|
|
309
|
-
endpoint_config,
|
|
310
|
-
collection_config,
|
|
311
|
-
coll_path_rel_to_root_catalog,
|
|
312
|
-
catalog,
|
|
313
|
-
options,
|
|
314
|
-
wmts=True,
|
|
315
|
-
)
|
|
316
305
|
elif endpoint_config["Name"] == "Collection-only":
|
|
317
306
|
collection = handle_collection_only(
|
|
318
307
|
catalog_config, endpoint_config, collection_config, catalog
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eodash_catalog
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.16
|
|
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
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
eodash_catalog/__about__.py,sha256=
|
|
1
|
+
eodash_catalog/__about__.py,sha256=gLFxPxz-yVRAVf1UvFK1sn9v0ZtpKM-SYsDORf7SNlA,138
|
|
2
2
|
eodash_catalog/__init__.py,sha256=_W_9emPYf6FUqc0P8L2SmADx6hGSd7PlQV3yRmCk5uM,115
|
|
3
3
|
eodash_catalog/duration.py,sha256=TBG7v1lCpbYowADK5uJ2M8kPxsvQneFAFi1NIE26dy4,10754
|
|
4
|
-
eodash_catalog/endpoints.py,sha256=
|
|
5
|
-
eodash_catalog/generate_indicators.py,sha256=
|
|
4
|
+
eodash_catalog/endpoints.py,sha256=wT3-nBFUZaDBKKp-ac83MLe1e6-gNEFGhBVzYvbho1g,64865
|
|
5
|
+
eodash_catalog/generate_indicators.py,sha256=PEyN4m_4F7yu6uhDuNg0vHA3b3KkJZHJf0eGSH17Kj0,22484
|
|
6
6
|
eodash_catalog/sh_endpoint.py,sha256=l95NRh__AnpEZBhlzTaGVmBnyX00Sr7RRjwy114nroY,1323
|
|
7
7
|
eodash_catalog/stac_handling.py,sha256=44SfFkRyYI7gk7Md-m9E9YvkVZNzcqNsBk97YlD3AzM,27802
|
|
8
8
|
eodash_catalog/thumbnails.py,sha256=9tPnEdwDaScGCMHpDYXayCnAQYoG_E2oIiBFVGvqOz0,2372
|
|
9
9
|
eodash_catalog/utils.py,sha256=2ov62y3OkYX4x2-XpH73FBZ71ulC0ie9m0rSGkuNw4g,24082
|
|
10
|
-
eodash_catalog-0.3.
|
|
11
|
-
eodash_catalog-0.3.
|
|
12
|
-
eodash_catalog-0.3.
|
|
13
|
-
eodash_catalog-0.3.
|
|
14
|
-
eodash_catalog-0.3.
|
|
10
|
+
eodash_catalog-0.3.16.dist-info/METADATA,sha256=lUIcxW8WbXhKyjNJGCtxB-sRyNPhvRhUoKk2Kzy3pPQ,3020
|
|
11
|
+
eodash_catalog-0.3.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
12
|
+
eodash_catalog-0.3.16.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
|
|
13
|
+
eodash_catalog-0.3.16.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
|
|
14
|
+
eodash_catalog-0.3.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|