PyGeoFetch 2.7.0.9__py3-none-any.whl → 2.7.1.0__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.
- pygeofetch/__init__.py +1 -1
- pygeofetch/insar/interferogram.py +12 -2
- pygeofetch/meta.yaml +1 -1
- {pygeofetch-2.7.0.9.dist-info → pygeofetch-2.7.1.0.dist-info}/METADATA +2 -2
- {pygeofetch-2.7.0.9.dist-info → pygeofetch-2.7.1.0.dist-info}/RECORD +9 -9
- {pygeofetch-2.7.0.9.dist-info → pygeofetch-2.7.1.0.dist-info}/WHEEL +0 -0
- {pygeofetch-2.7.0.9.dist-info → pygeofetch-2.7.1.0.dist-info}/entry_points.txt +0 -0
- {pygeofetch-2.7.0.9.dist-info → pygeofetch-2.7.1.0.dist-info}/licenses/LICENSE +0 -0
- {pygeofetch-2.7.0.9.dist-info → pygeofetch-2.7.1.0.dist-info}/top_level.txt +0 -0
pygeofetch/__init__.py
CHANGED
|
@@ -1818,6 +1818,7 @@ class InterferogramGenerator:
|
|
|
1818
1818
|
keep_results: bool = False,
|
|
1819
1819
|
stop_on_error: bool = False,
|
|
1820
1820
|
streaming_cleanup: bool = False,
|
|
1821
|
+
keep_inputs=None,
|
|
1821
1822
|
**common_kwargs,
|
|
1822
1823
|
):
|
|
1823
1824
|
"""Process many pairs one after another, saving each under output_dir/<ref>_<sec>.
|
|
@@ -1841,9 +1842,13 @@ class InterferogramGenerator:
|
|
|
1841
1842
|
except the error is recorded and the inputs of that pair are KEPT (so is any scene the
|
|
1842
1843
|
failed pair shares with others);
|
|
1843
1844
|
finally gc.collect().
|
|
1844
|
-
Deleted inputs cannot be recomputed from: to redo a pair, re-download its scenes.
|
|
1845
|
-
|
|
1845
|
+
Deleted inputs cannot be recomputed from: to redo a pair, re-download its scenes. Pairs in other
|
|
1846
|
+
calls are not known to this one, so either pass all the pairs that need a scene in ONE call, or
|
|
1847
|
+
name the scenes a LATER call still needs in keep_inputs.
|
|
1846
1848
|
Orbit files and the DEM are never deleted.
|
|
1849
|
+
keep_inputs: paths (extracted SLCs or zips) that streaming_cleanup must not delete in this call. For
|
|
1850
|
+
a rolling run, one pair per call, pass the scenes the next pair shares with this one; they are
|
|
1851
|
+
then freed by the call that finishes their last pair.
|
|
1847
1852
|
|
|
1848
1853
|
Returns a list of records: reference_date, secondary_date, status ("skipped: already generated",
|
|
1849
1854
|
"computed", "failed"), folder, metadata (the pair's summary, loaded from result.json when skipped),
|
|
@@ -1879,6 +1884,11 @@ class InterferogramGenerator:
|
|
|
1879
1884
|
if kw.get(key) is not None:
|
|
1880
1885
|
pending.setdefault(os.path.abspath(str(kw[key])), set()).add(i)
|
|
1881
1886
|
|
|
1887
|
+
for held in (keep_inputs or ()) if streaming_cleanup else ():
|
|
1888
|
+
held = os.path.abspath(str(held))
|
|
1889
|
+
if held in pending:
|
|
1890
|
+
pending[held].add(-1) # -1 is never finished: this call leaves the file alone
|
|
1891
|
+
|
|
1882
1892
|
def _finish(i: int) -> list:
|
|
1883
1893
|
"""Pair i is saved and verified: release its inputs and delete those nobody else needs."""
|
|
1884
1894
|
deleted = []
|
pygeofetch/meta.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pygeofetch
|
|
3
|
-
Version: 2.7.0
|
|
3
|
+
Version: 2.7.1.0
|
|
4
4
|
Summary: Universal satellite data pipeline + geospatial processing platform
|
|
5
5
|
Author-email: Samuel Appiah Kubi <appiahkubis14@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -371,7 +371,7 @@ If you use PyGeoFetch in your research or operational work, please cite it using
|
|
|
371
371
|
title = {PyGeoFetch: A Unified Python Framework for Multi-Provider Satellite Data Acquisition, Pre-download Quality Control, and Geospatial Processing},
|
|
372
372
|
year = {2026},
|
|
373
373
|
publisher = {Zenodo},
|
|
374
|
-
version = {2.7.0.
|
|
374
|
+
version = {2.7.1.0.1},
|
|
375
375
|
doi = {10.5281/zenodo.22087230},
|
|
376
376
|
url = {https://doi.org/10.5281/zenodo.22087230}
|
|
377
377
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
pygeofetch/__init__.py,sha256=
|
|
2
|
-
pygeofetch/meta.yaml,sha256=
|
|
1
|
+
pygeofetch/__init__.py,sha256=UvztDDKKSypto0b-WfphtFhqu1UZMvGieppOQQrZh6A,2107
|
|
2
|
+
pygeofetch/meta.yaml,sha256=QFn2uzTQiZbeUBpjWtraMHmprRKqmGjl6Cw_SwLT59M,1284
|
|
3
3
|
pygeofetch/cli/__init__.py,sha256=QZMIIHEgmjGFieucqq9fZ5uephxP9-jdu1s8Q4qqw8o,30
|
|
4
4
|
pygeofetch/cli/auth_commands.py,sha256=OUYbInPaERvAfNZ_NmAF3azHoJm14cGn_ZTQtxjjcs4,7871
|
|
5
5
|
pygeofetch/cli/classify_commands.py,sha256=0att8QoTKPa-z24NXLTW-iXbpkBWZTxjoZkV1eNwHeU,4739
|
|
@@ -55,7 +55,7 @@ pygeofetch/insar/flatearth.py,sha256=gSUdDcHlxs3P2TrUkKFkIwq7GftKVOit0A47CaBKIvc
|
|
|
55
55
|
pygeofetch/insar/geolocation.py,sha256=7T84uNHIXGmuOCvru9CJkFrnet4HX3t-thXXro2peRk,34163
|
|
56
56
|
pygeofetch/insar/gpu.py,sha256=tMQSurv6EmmQMFU-e9--ssZo0YRUooPRHyU0V8jamIQ,5726
|
|
57
57
|
pygeofetch/insar/hybrid_unwrap.py,sha256=PT4G9UPTrMqftaMjFd0i9DkwmtRZXAqN504eLYc22ds,18477
|
|
58
|
-
pygeofetch/insar/interferogram.py,sha256=
|
|
58
|
+
pygeofetch/insar/interferogram.py,sha256=OYfgVnu7ftVhmzSTjipHv7sPejmKh7UZFnuWIotdmN4,202208
|
|
59
59
|
pygeofetch/insar/ionosphere.py,sha256=erfzXKGxWLcLvNZznBCx42t6V05oO3M9q-nbrGzrKyc,30987
|
|
60
60
|
pygeofetch/insar/learned_unwrap.py,sha256=lSX_u-2U5mm8lRKhO0xBMk1dVYcR3wDh6pFWcPdR350,45950
|
|
61
61
|
pygeofetch/insar/logs.py,sha256=lQliMDJmt15NTz8Xgqg1EzENA3WUFY48u2xRqvSoB1U,2453
|
|
@@ -170,9 +170,9 @@ pygeofetch/viz/__init__.py,sha256=bSgK_f_goAHVQOfYu2nbPFVushvsy2hVKBvIBoGonyk,53
|
|
|
170
170
|
pygeofetch/viz/insar.py,sha256=SaHBsbmvxAF4dLYptePX3wvKWV8Y2Sxqn8pFDjvyXuk,56742
|
|
171
171
|
pygeofetch/viz/map.py,sha256=f8whny5mnz7gDsStNdgtVSpqTNHSDhSZoRT2Qs-Lvos,16403
|
|
172
172
|
pygeofetch/viz/plot.py,sha256=JybD4qElJBOTvWCu7VllL5DqkKFYf5ttJdFfsgApfLE,56601
|
|
173
|
-
pygeofetch-2.7.0.
|
|
174
|
-
pygeofetch-2.7.0.
|
|
175
|
-
pygeofetch-2.7.0.
|
|
176
|
-
pygeofetch-2.7.0.
|
|
177
|
-
pygeofetch-2.7.0.
|
|
178
|
-
pygeofetch-2.7.0.
|
|
173
|
+
pygeofetch-2.7.1.0.dist-info/licenses/LICENSE,sha256=zavMyhODD6NvZTmmKFEtATrngwY4CU_NEtY7lhjxGnI,1075
|
|
174
|
+
pygeofetch-2.7.1.0.dist-info/METADATA,sha256=y_IG7WcLR7xAQJ2ficz_Nya1hCIucZcvSwfRB_PAQNw,25014
|
|
175
|
+
pygeofetch-2.7.1.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
176
|
+
pygeofetch-2.7.1.0.dist-info/entry_points.txt,sha256=dHiUXLF5xNJ8vgtXZoUQNleEMQUeDPZiKQOE1tW8SDY,55
|
|
177
|
+
pygeofetch-2.7.1.0.dist-info/top_level.txt,sha256=rOmnZargIfNk99fwVOqt6OJyJvpSTBBAYO5HU37yhHk,11
|
|
178
|
+
pygeofetch-2.7.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|