eodash_catalog 0.0.4__py3-none-any.whl → 0.0.6__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/generate_indicators.py +19 -1
- {eodash_catalog-0.0.4.dist-info → eodash_catalog-0.0.6.dist-info}/METADATA +1 -1
- eodash_catalog-0.0.6.dist-info/RECORD +11 -0
- eodash_catalog-0.0.4.dist-info/RECORD +0 -11
- {eodash_catalog-0.0.4.dist-info → eodash_catalog-0.0.6.dist-info}/WHEEL +0 -0
- {eodash_catalog-0.0.4.dist-info → eodash_catalog-0.0.6.dist-info}/entry_points.txt +0 -0
- {eodash_catalog-0.0.4.dist-info → eodash_catalog-0.0.6.dist-info}/licenses/LICENSE.txt +0 -0
eodash_catalog/__about__.py
CHANGED
|
@@ -234,6 +234,9 @@ def process_collection_file(config, file_path, catalog, options):
|
|
|
234
234
|
handle_WMS_endpoint(config, resource, data, catalog)
|
|
235
235
|
elif resource["Name"] == "GeoDB Vector Tiles":
|
|
236
236
|
handle_GeoDB_Tiles_endpoint(config, resource, data, catalog)
|
|
237
|
+
elif resource["Name"] == "JAXA_WMTS_PALSAR":
|
|
238
|
+
# somewhat one off creation of individual WMTS layers as individual items
|
|
239
|
+
handle_WMS_endpoint(config, resource, data, catalog, wmts=True)
|
|
237
240
|
elif resource["Name"] == "Collection-only":
|
|
238
241
|
handle_collection_only(config, resource, data, catalog)
|
|
239
242
|
else:
|
|
@@ -1043,6 +1046,21 @@ def add_visualization_info(stac_object, data, endpoint, file_url=None, time=None
|
|
|
1043
1046
|
extra_fields=extra_fields,
|
|
1044
1047
|
)
|
|
1045
1048
|
)
|
|
1049
|
+
elif endpoint["Name"] == "JAXA_WMTS_PALSAR":
|
|
1050
|
+
target_url = "%s" % (endpoint.get("EndPoint"),)
|
|
1051
|
+
# custom time just for this special case as a default for collection wmts
|
|
1052
|
+
extra_fields = {
|
|
1053
|
+
"wmts:layer": endpoint.get("LayerId").replace("{time}", time or "2017")
|
|
1054
|
+
}
|
|
1055
|
+
stac_object.add_link(
|
|
1056
|
+
Link(
|
|
1057
|
+
rel="wmts",
|
|
1058
|
+
target=target_url,
|
|
1059
|
+
media_type="image/png",
|
|
1060
|
+
title="wmts capabilities",
|
|
1061
|
+
extra_fields=extra_fields,
|
|
1062
|
+
)
|
|
1063
|
+
)
|
|
1046
1064
|
elif endpoint["Name"] == "xcube":
|
|
1047
1065
|
if endpoint["Type"] == "zarr":
|
|
1048
1066
|
# either preset ColormapName of left as a template
|
|
@@ -1567,6 +1585,6 @@ def process_catalogs(
|
|
|
1567
1585
|
target=process_catalog_file, args=(file_path, options)
|
|
1568
1586
|
)
|
|
1569
1587
|
)
|
|
1570
|
-
|
|
1588
|
+
tasks[-1].start()
|
|
1571
1589
|
for task in tasks:
|
|
1572
1590
|
task.join()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: eodash_catalog
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.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
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
eodash_catalog/__about__.py,sha256=Mkp-bEPJxx2viOiKAPclr4wuwdpv3N9z2A67ZyHiNa0,137
|
|
2
|
+
eodash_catalog/__init__.py,sha256=_W_9emPYf6FUqc0P8L2SmADx6hGSd7PlQV3yRmCk5uM,115
|
|
3
|
+
eodash_catalog/duration.py,sha256=6rxALD9MZS6rTE1AZgvjrABr7zwg8S-kLc_w9BltvY0,11007
|
|
4
|
+
eodash_catalog/generate_indicators.py,sha256=UFl8AYUjrxZuzul9bOOLy_A8l8hnLplS05QItdetBmE,60962
|
|
5
|
+
eodash_catalog/sh_endpoint.py,sha256=KyZGmVrjZOCIuJizmYSy8VSWrfqqn2r-Ggh_8Q-s2vI,581
|
|
6
|
+
eodash_catalog/utils.py,sha256=NbwqHE5Qhd3Fke_fbl3HY803qSKJJKP1atTNrGPO7KY,6097
|
|
7
|
+
eodash_catalog-0.0.6.dist-info/METADATA,sha256=A69vLKaOul9eYI8wRYb8M8PbWViBLJMvVmf_AJqWeJo,2156
|
|
8
|
+
eodash_catalog-0.0.6.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
9
|
+
eodash_catalog-0.0.6.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
|
|
10
|
+
eodash_catalog-0.0.6.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
|
|
11
|
+
eodash_catalog-0.0.6.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
eodash_catalog/__about__.py,sha256=hgn7jZAxDHPEyGIDZxshBV5JuJm5npM7MNx5e6f2ljk,137
|
|
2
|
-
eodash_catalog/__init__.py,sha256=_W_9emPYf6FUqc0P8L2SmADx6hGSd7PlQV3yRmCk5uM,115
|
|
3
|
-
eodash_catalog/duration.py,sha256=6rxALD9MZS6rTE1AZgvjrABr7zwg8S-kLc_w9BltvY0,11007
|
|
4
|
-
eodash_catalog/generate_indicators.py,sha256=VblUlZVhlBdGr5YRVhyC177QuOD2GskyxW71ZtON0gY,60140
|
|
5
|
-
eodash_catalog/sh_endpoint.py,sha256=KyZGmVrjZOCIuJizmYSy8VSWrfqqn2r-Ggh_8Q-s2vI,581
|
|
6
|
-
eodash_catalog/utils.py,sha256=NbwqHE5Qhd3Fke_fbl3HY803qSKJJKP1atTNrGPO7KY,6097
|
|
7
|
-
eodash_catalog-0.0.4.dist-info/METADATA,sha256=HzWcdbs4KfhrNr7n6-5rPupFjJT4t6ENcKXjz2As8Oc,2156
|
|
8
|
-
eodash_catalog-0.0.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
9
|
-
eodash_catalog-0.0.4.dist-info/entry_points.txt,sha256=kuUQrDG1PtYd8kPjf5XM6H_NtQd9Ozwl0jjiGtAvZSM,87
|
|
10
|
-
eodash_catalog-0.0.4.dist-info/licenses/LICENSE.txt,sha256=oJCW5zQxnFD-J0hGz6Zh5Lkpdk1oAndmWhseTmV224E,1107
|
|
11
|
-
eodash_catalog-0.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|