stac-processor-gdmsar 0.3.20__tar.gz → 0.3.22__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.
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/PKG-INFO +2 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/pyproject.toml +1 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/__about__.py +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/process.py +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/gdmsar_element.py +11 -11
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/atmospheric_phase_screen.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/filtered_wrapped_interferogram.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/los_displacement_time_series.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/mean_velocity_map.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/network_misclosures.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/root_catalog.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/run_collection.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/run_geocoded_radar_collection.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/run_geocoded_wgs84_collection.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/spatial_coherence.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/time_series.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/unwrapped_interferogram.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/wrapped_interferogram.md +1 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar.egg-info/PKG-INFO +2 -1
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar.egg-info/requires.txt +1 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/tests/test.py +3 -2
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/LICENCE.txt +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/README.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/setup.cfg +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/__init__.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/app.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/discover.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/explorer/__init__.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/explorer/base_explorer.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/explorer/local_explorer.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/explorer/source_explorer.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/id.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/metadata/common_metadata.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/metadata/extensions.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/metadata/products.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/metadata/templates.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/gdmsar_catalog.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/gdmsar_collection.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/gdmsar_geo.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/gdmsar_item.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/gdmsar_items_list.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/gdmsar_radar.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/processor/utils.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/__init__.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/auxiliary_data_collection.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/digital_elevation_model.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/extra_text_files.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/interferogram.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/interferogram_collection.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/inversion_parameters.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/lookup_table_sat_to_ground_coordinates.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/map_of_los_vector_enu.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/map_of_los_vector_neu.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/templates/temporal_coherence.md +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/version.py +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar.egg-info/SOURCES.txt +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar.egg-info/dependency_links.txt +0 -0
- {stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stac-processor-gdmsar
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.22
|
|
4
4
|
Summary: A stac-repository complient processor for GDM-SAR products
|
|
5
5
|
Author-email: Alexandre Burel <alexandre.burel@cnrs.fr>, Pierre Fontbonne <pierre.fontbonne@uca.fr>
|
|
6
6
|
Maintainer-email: Alexandre Burel <alexandre.burel@cnrs.fr>
|
|
@@ -157,6 +157,7 @@ Requires-Dist: deepdiff>=9.0.0
|
|
|
157
157
|
Requires-Dist: orjson>=3.11.7
|
|
158
158
|
Requires-Dist: pystac>=1.14.3
|
|
159
159
|
Requires-Dist: pytest>=9.0.2
|
|
160
|
+
Requires-Dist: pytest-cov>=7.1.0
|
|
160
161
|
Requires-Dist: requests>=2.32.5
|
|
161
162
|
Requires-Dist: typer>=0.24.1
|
|
162
163
|
Requires-Dist: waitress>=3.0.2
|
{stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/process.py
RENAMED
|
@@ -59,7 +59,7 @@ def process(product_source: str, import_assets: bool = False, asset_location: st
|
|
|
59
59
|
# add extra assets
|
|
60
60
|
extra_assets = {
|
|
61
61
|
# "download": Asset(f"https://formater.osug.fr/download/gdm-sar-permanent/{uuid}", title="Download tool", description="Link to the download page for the original source product, before STAC conversion.", media_type="text/html", roles=["metadata"]),
|
|
62
|
-
"documentation": Asset("https://formater.pages.in2p3.fr/flatsim/product.html", title="Product description (general for NSBAS, including GDM-SAR-In and FLATSIM)",
|
|
62
|
+
"documentation": Asset("https://formater.pages.in2p3.fr/flatsim/doc_flatsim/product.html", title="Product description (general for NSBAS, including GDM-SAR-In and FLATSIM)",
|
|
63
63
|
description="Documentation page describing the product names and acronyms, information about the generation of the products, and metadata definitions.", media_type="text/html", roles=["metadata"])
|
|
64
64
|
}
|
|
65
65
|
if not is_local(product_source):
|
|
@@ -117,15 +117,15 @@ class GDMElement(metaclass=abc.ABCMeta):
|
|
|
117
117
|
else:
|
|
118
118
|
self.stac_object.extra_fields["STAC hierarchy"] = hierarchy
|
|
119
119
|
# self.stac_object.summaries.add("STAC hierarchy", hierarchy)
|
|
120
|
-
|
|
120
|
+
## keep the navigation in the description for now, until stac browser v5 is available
|
|
121
121
|
# TODO remove all the following lines then, stac browser v5 will extract the breadcrumb from the extra fields and display it in the right place
|
|
122
|
-
if isinstance(self.stac_object, pystac.Item):
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
else:
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
122
|
+
# if isinstance(self.stac_object, pystac.Item):
|
|
123
|
+
# if "description" not in self.stac_object.properties or self.stac_object.properties["description"] is None:
|
|
124
|
+
# self.stac_object.properties["description"] = text
|
|
125
|
+
# else:
|
|
126
|
+
# self.stac_object.properties["description"] = text + "\n\n" + self.update_variables(self.stac_object.properties.get("description", ""))
|
|
127
|
+
# else:
|
|
128
|
+
# if self.stac_object.description is None:
|
|
129
|
+
# self.stac_object.description = text
|
|
130
|
+
# else:
|
|
131
|
+
# self.stac_object.description = text + "\n\n" + self.update_variables(self.stac_object.description)
|
|
@@ -4,4 +4,4 @@ The **GDM-SAR-In** (Ground Deformation Monitoring using SAR Interferometry) on-d
|
|
|
4
4
|
|
|
5
5
|
It is linked to the [Thematic Core Service « Satellite Data »](https://www.epos-eu.org/tcs/satellite-data) of the European research infrastructure [EPOS](https://www.epos-eu.org/), as GDM-SAR-In provides products that can be exposed on the [EPOS data portal](https://www.ics-c.epos-eu.org/).
|
|
6
6
|
|
|
7
|
-
GDM-SAR-In uses the **NSBAS processing chain** (Doin et al., 2011, Grandin, 2015, see providers) to process radar images acquired by the Sentinel-1 satellites (in IW mode) of the [Copernicus](https://www.copernicus.eu/fr) program. It enables the user to calculate interferograms or **InSAR** time series, as well as other associated products. Detailed product descriptions are available in a [dedicated document](https://formater.pages.in2p3.fr/flatsim/).
|
|
7
|
+
GDM-SAR-In uses the **NSBAS processing chain** (Doin et al., 2011, Grandin, 2015, see providers) to process radar images acquired by the Sentinel-1 satellites (in IW mode) of the [Copernicus](https://www.copernicus.eu/fr) program. It enables the user to calculate interferograms or **InSAR** time series, as well as other associated products. Detailed product descriptions are available in a [dedicated document](https://formater.pages.in2p3.fr/flatsim/doc_flatsim/).
|
|
@@ -4,7 +4,7 @@ The **GDM-SAR-In** (Ground Deformation Monitoring using SAR Interferometry) on-d
|
|
|
4
4
|
|
|
5
5
|
It is linked to the [Thematic Core Service « Satellite Data »](https://www.epos-eu.org/tcs/satellite-data) of the European research infrastructure [EPOS](https://www.epos-eu.org/), as GDM-SAR-In provides products that can be exposed on the [EPOS data portal](https://www.ics-c.epos-eu.org/).
|
|
6
6
|
|
|
7
|
-
GDM-SAR-In uses the **NSBAS processing chain** (Doin et al., 2011, Grandin, 2015, see providers) to process radar images acquired by the Sentinel-1 satellites (in IW mode) of the [Copernicus](https://www.copernicus.eu/fr) program. It enables the user to calculate interferograms or **InSAR** time series, as well as other associated products. Detailed product descriptions are available in a [dedicated document](https://formater.pages.in2p3.fr/flatsim/).
|
|
7
|
+
GDM-SAR-In uses the **NSBAS processing chain** (Doin et al., 2011, Grandin, 2015, see providers) to process radar images acquired by the Sentinel-1 satellites (in IW mode) of the [Copernicus](https://www.copernicus.eu/fr) program. It enables the user to calculate interferograms or **InSAR** time series, as well as other associated products. Detailed product descriptions are available in a [dedicated document](https://formater.pages.in2p3.fr/flatsim/doc_flatsim/).
|
|
8
8
|
|
|
9
9
|
This product contains data over {{nbdates}}.
|
|
10
10
|
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
> - the Time-Serie phase: time serie calculation
|
|
7
7
|
> - the Populate phase: generation of the products
|
|
8
8
|
|
|
9
|
-
_[source](https://formater.pages.in2p3.fr/flatsim/product.html)_
|
|
9
|
+
_[source](https://formater.pages.in2p3.fr/flatsim/doc_flatsim/product.html)_
|
|
10
10
|
|
|
11
11
|
Accordingly, this collection contains a subcollection of all generated interferograms and a single item corresponding to the time series. Auxiliary files can be found as assets to the items, collection, or catalog they are generally relevant to.
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
> - the Time-Serie phase: time serie calculation
|
|
7
7
|
> - the Populate phase: generation of the products
|
|
8
8
|
|
|
9
|
-
_[source](https://formater.pages.in2p3.fr/flatsim/product.html)_
|
|
9
|
+
_[source](https://formater.pages.in2p3.fr/flatsim/doc_flatsim/product.html)_
|
|
10
10
|
|
|
11
11
|
Accordingly, this collection contains a subcollection of all generated interferograms and a single item corresponding to the time series. Auxiliary files can be found as assets to the items, collection, or catalog they are generally relevant to.
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
>
|
|
12
12
|
> - band 1 is the wrapped phase of the interferogram, normalized by a color palette.
|
|
13
13
|
|
|
14
|
-
[source](https://formater.pages.in2p3.fr/flatsim/products/InW.html#product-description)
|
|
14
|
+
[source](https://formater.pages.in2p3.fr/flatsim/doc_flatsim/products/InW.html#product-description)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stac-processor-gdmsar
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.22
|
|
4
4
|
Summary: A stac-repository complient processor for GDM-SAR products
|
|
5
5
|
Author-email: Alexandre Burel <alexandre.burel@cnrs.fr>, Pierre Fontbonne <pierre.fontbonne@uca.fr>
|
|
6
6
|
Maintainer-email: Alexandre Burel <alexandre.burel@cnrs.fr>
|
|
@@ -157,6 +157,7 @@ Requires-Dist: deepdiff>=9.0.0
|
|
|
157
157
|
Requires-Dist: orjson>=3.11.7
|
|
158
158
|
Requires-Dist: pystac>=1.14.3
|
|
159
159
|
Requires-Dist: pytest>=9.0.2
|
|
160
|
+
Requires-Dist: pytest-cov>=7.1.0
|
|
160
161
|
Requires-Dist: requests>=2.32.5
|
|
161
162
|
Requires-Dist: typer>=0.24.1
|
|
162
163
|
Requires-Dist: waitress>=3.0.2
|
|
@@ -21,6 +21,7 @@ from stac_processor_gdmsar.version import version as api_version
|
|
|
21
21
|
# use -s to see the print statements in the output
|
|
22
22
|
# use -x option to stop after the first failure
|
|
23
23
|
# use -vv for more verbose output
|
|
24
|
+
# use --cov=stac_processor_gdmsar to get the coverage report (requires pytest-cov to be installed)
|
|
24
25
|
|
|
25
26
|
# set the main options
|
|
26
27
|
cwd = os.path.dirname(__file__)
|
|
@@ -138,7 +139,7 @@ def process(source):
|
|
|
138
139
|
diff_collection = compare_json(result_collection, expected_collection)
|
|
139
140
|
assert diff_collection == {}, f"Collection content does not match expected content : {diff_collection}"
|
|
140
141
|
# check the content of an item, it must match the expected content
|
|
141
|
-
item_relative_path = "05ef8d62-da41-11ee-9f22-0242c0a87004/
|
|
142
|
+
item_relative_path = "05ef8d62-da41-11ee-9f22-0242c0a87004/geo_interferogram_20171107_20171119_4rlks_coh_item.json"
|
|
142
143
|
result_item = os.path.join(parent_result_dir, item_relative_path)
|
|
143
144
|
expected_item = os.path.join(expected_result_directory, item_relative_path)
|
|
144
145
|
diff_item = compare_json(result_item, expected_item)
|
|
@@ -235,7 +236,7 @@ def test_metadata():
|
|
|
235
236
|
keywords = collection.keywords
|
|
236
237
|
assert len(keywords) == 1
|
|
237
238
|
assert "from 2026-04-01 to 2026-04-02" in keywords
|
|
238
|
-
keywords = templates.get_keywords(["GDM_InWF_geo_20161026_20161101_sd_era_4rlks.tiff", "GDM_CosENU_geo_4rlks.tiff"], ["InWF"], "WGS84", ["test1", "test2"])
|
|
239
|
+
keywords = templates.get_keywords(["GDM_InWF_geo_20161026_20161101_sd_era_4rlks.tiff", "GDM_CosENU_geo_4rlks.tiff"], ["InWF"], "WGS84", "", ["test1", "test2"])
|
|
239
240
|
assert len(keywords) == 4
|
|
240
241
|
assert "test1" in keywords
|
|
241
242
|
assert "test2" in keywords
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/discover.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stac_processor_gdmsar-0.3.20 → stac_processor_gdmsar-0.3.22}/stac_processor_gdmsar/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|