PyGeoFetch 2.7.0.7__py3-none-any.whl → 2.7.0.8__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 CHANGED
@@ -30,7 +30,7 @@ CLI::
30
30
  pygeofetch doctor
31
31
  """
32
32
 
33
- __version__ = "2.7.0.7.4"
33
+ __version__ = "2.7.0.8.4"
34
34
  __author__ = "PyGeoFetch Contributors"
35
35
  __license__ = "MIT"
36
36
 
@@ -627,8 +627,10 @@ class InterferogramGenerator:
627
627
  self._use_real_burst_processing = use_real_burst_processing
628
628
  self._tops_ctx = None
629
629
  # Part of every pair fingerprint: results saved before TOPS deramping (0) or before resampling onto the
630
- # reference grid (1) are not reused.
631
- self._tops_deramp_version = 6
630
+ # reference grid (1) are not reused. 7: SLC crops start on whole pixels (fractional crop origins left a
631
+ # per-date misregistration of up to half a pixel, seen as along-track fringes after ESD), and orbit/DEM
632
+ # coregistration is geometry-only by default.
633
+ self._tops_deramp_version = 7
632
634
  # Automatic by default (None): on when the inputs exist, explicit
633
635
  # True/False always respected. It used to be opt-in and silent, which
634
636
  # left a full-width range ramp in every interferogram unless the caller
@@ -1741,7 +1743,7 @@ class InterferogramGenerator:
1741
1743
  looks_range: int = 1,
1742
1744
  apply_goldstein_filter: bool = False,
1743
1745
  goldstein_alpha: float = 0.5,
1744
- coregistration_refine_by_coherence: bool = True,
1746
+ coregistration_refine_by_coherence: Optional[bool] = None,
1745
1747
  coregistration_degree: int = 1,
1746
1748
  coregistration_rms_threshold: Optional[float] = None,
1747
1749
  coregistration_method: str = "orbit_dem",
@@ -1792,11 +1794,19 @@ class InterferogramGenerator:
1792
1794
  apply_goldstein_filter: Apply adaptive frequency-domain
1793
1795
  phase filtering after interferogram formation.
1794
1796
  goldstein_alpha: Goldstein filter strength (0-1).
1795
- coregistration_refine_by_coherence: If True (default), the
1797
+ coregistration_refine_by_coherence: If True, the
1796
1798
  orbit/DEM (or collocation) offset field is
1797
1799
  refined against the actual image content via
1798
1800
  cross-correlation + Powell coherence maximization
1799
- before the warp polynomial is fit.
1801
+ before the warp polynomial is fit. None (default)
1802
+ chooses by method: False for "orbit_dem" (geometry
1803
+ only, as ISCE2 topsApp and ASF HyP3 do: the orbit
1804
+ and DEM give the offsets to a few hundredths of a
1805
+ pixel, and on 36 Mexico City pairs geometry-only
1806
+ registration agreed with HyP3 at median 0.90 with
1807
+ triplet closure 0.07 rad against HyP3's 0.09),
1808
+ True for "raster_collocation", whose geocoding
1809
+ is too coarse to stand alone.
1800
1810
  coregistration_degree: Warp polynomial order (1, 2, or 3).
1801
1811
  coregistration_rms_threshold: Optional final absolute GCP
1802
1812
  RMS cutoff (pixels), applied after iterative
@@ -2013,6 +2023,8 @@ class InterferogramGenerator:
2013
2023
  quality.flag("cross_satellite" if pair_platforms["cross_satellite"] else "cross_track")
2014
2024
 
2015
2025
  # ── Step 1: Coregistration ──
2026
+ if coregistration_refine_by_coherence is None:
2027
+ coregistration_refine_by_coherence = coregistration_method != "orbit_dem"
2016
2028
  if coregistration_method == "raster_collocation":
2017
2029
  logger.warning(
2018
2030
  "coregistration_method='raster_collocation' resamples the secondary without TOPS deramping: "
pygeofetch/meta.yaml CHANGED
@@ -1,4 +1,4 @@
1
- {% set version = "2.7.0.7.4" %}
1
+ {% set version = "2.7.0.8.4" %}
2
2
 
3
3
  package:
4
4
  name: pygeofetch
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygeofetch
3
- Version: 2.7.0.7
3
+ Version: 2.7.0.8
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.7.1},
374
+ version = {2.7.0.8.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=4UMGqimX-8ALiylE8OCiKucRqecNrMdNG3BqFtikJUc,2107
2
- pygeofetch/meta.yaml,sha256=ZzcWq_SeWSxpeCl5tu2bho3PxJ0mp4ptoZ7VKxT8RME,1284
1
+ pygeofetch/__init__.py,sha256=IsTlv1eQmmDxovCqEaWucjxjhN8X265_VxRwXXwmsco,2107
2
+ pygeofetch/meta.yaml,sha256=oEq-7tikiSpPrj21Ia_gbApeFt6hitTOzDHqdAo6dwo,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=ErDVzXDvGkNlpQ_Vpwu_55sEYvqM8pS5rPZ1xmroaQg,188488
58
+ pygeofetch/insar/interferogram.py,sha256=FKh9XeMMJeKjc4gNCYVUj_CpWCmfLEq0-Xavgw0HYkU,189435
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,7 +170,7 @@ 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.7.dist-info/licenses/LICENSE,sha256=zavMyhODD6NvZTmmKFEtATrngwY4CU_NEtY7lhjxGnI,1075
173
+ pygeofetch-2.7.0.8.dist-info/licenses/LICENSE,sha256=zavMyhODD6NvZTmmKFEtATrngwY4CU_NEtY7lhjxGnI,1075
174
174
  pygeofetch_crop_fix_part8/pygeofetch/insar/coregister.py,sha256=Z39BAT_WJ4oXwQ6OQA4i0j5lnRjV_A7LAqmWJYcLOSk,74956
175
175
  pygeofetch_crop_fix_part8/pygeofetch/insar/esd.py,sha256=PvvEUFPx1kvy6AI4pntowzUxssSeDK8FZfqw9nQhD2s,34392
176
176
  pygeofetch_crop_fix_part8/pygeofetch/insar/extraction.py,sha256=fZf9UOYhBvMkADniO9eCcqF6pfae2K0pa7hXGAnr8K4,41972
@@ -178,6 +178,14 @@ pygeofetch_crop_fix_part8/pygeofetch/insar/interferogram.py,sha256=ErDVzXDvGkNlp
178
178
  pygeofetch_crop_fix_part8/pygeofetch/insar/tops.py,sha256=ozA8SjgqO6bN8cwwQzKlJS7sQqZmrabISBhRV8H_0hg,20847
179
179
  pygeofetch_crop_fix_part8/tests/insar/test_crop_offset.py,sha256=bZHji2tcqyaXNfQsBNM71xxIEKkpIexom-hX5hj43qo,3737
180
180
  pygeofetch_crop_fix_part8/tests/insar/test_tops_deramp.py,sha256=_j03trOmKoOt5-5hDSSnyq9xQZ2ZDaHPcRPTGiIjyRE,12641
181
+ pygeofetch_part9/pygeofetch/insar/coregister.py,sha256=Z39BAT_WJ4oXwQ6OQA4i0j5lnRjV_A7LAqmWJYcLOSk,74956
182
+ pygeofetch_part9/pygeofetch/insar/esd.py,sha256=PvvEUFPx1kvy6AI4pntowzUxssSeDK8FZfqw9nQhD2s,34392
183
+ pygeofetch_part9/pygeofetch/insar/extraction.py,sha256=fZf9UOYhBvMkADniO9eCcqF6pfae2K0pa7hXGAnr8K4,41972
184
+ pygeofetch_part9/pygeofetch/insar/interferogram.py,sha256=FKh9XeMMJeKjc4gNCYVUj_CpWCmfLEq0-Xavgw0HYkU,189435
185
+ pygeofetch_part9/pygeofetch/insar/tops.py,sha256=ozA8SjgqO6bN8cwwQzKlJS7sQqZmrabISBhRV8H_0hg,20847
186
+ pygeofetch_part9/tests/insar/test_coreg_default.py,sha256=Rcf4pzDBgsr7ISHXsjcj-Blsp0UQzU91ZfIiVeiXYoU,2292
187
+ pygeofetch_part9/tests/insar/test_crop_offset.py,sha256=bZHji2tcqyaXNfQsBNM71xxIEKkpIexom-hX5hj43qo,3737
188
+ pygeofetch_part9/tests/insar/test_tops_deramp.py,sha256=_j03trOmKoOt5-5hDSSnyq9xQZ2ZDaHPcRPTGiIjyRE,12641
181
189
  pygeofetch_tops_fix_part4/files/pygeofetch/insar/coregister.py,sha256=bmM4tcAZiMDaqqwiPFyrGUFTJm_u5oDbOni6jOzPa0Q,74225
182
190
  pygeofetch_tops_fix_part4/files/pygeofetch/insar/interferogram.py,sha256=UQb_l3oOhxR_Dy-f1Uc3YoqlzFz6SPCTz89EiuKn-U0,178492
183
191
  pygeofetch_tops_fix_part4/files/pygeofetch/insar/tops.py,sha256=-yIthiWED20u7t10m8M3AHEBaa8PDS_rvS-oDnYevgM,18459
@@ -202,8 +210,8 @@ pygeofetch_tops_fix_part7/pygeofetch/insar/tops.py,sha256=ozA8SjgqO6bN8cwwQzKlJS
202
210
  pygeofetch_tops_fix_part7/tests/insar/_fake_safe.py,sha256=-ntqxg2Ln-8ZHxC3Waq1qTbVNAj5Iwj40Bc49Q9kD_A,3356
203
211
  pygeofetch_tops_fix_part7/tests/insar/_tops_sim.py,sha256=t6-ahcc9unf2aLqFTmdMWMeN9gGgU7bFG2ddWS5ZVzY,4776
204
212
  pygeofetch_tops_fix_part7/tests/insar/test_tops_deramp.py,sha256=vWorPj79Y0Zwd0_seEV-t8WYeXOH_5oCgW1zUfnnC3s,12633
205
- pygeofetch-2.7.0.7.dist-info/METADATA,sha256=Ss5X3RcqapoR61c14ZxMugebWgHJTllNz3DSNLTeF3c,25014
206
- pygeofetch-2.7.0.7.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
207
- pygeofetch-2.7.0.7.dist-info/entry_points.txt,sha256=dHiUXLF5xNJ8vgtXZoUQNleEMQUeDPZiKQOE1tW8SDY,55
208
- pygeofetch-2.7.0.7.dist-info/top_level.txt,sha256=7XVbuEgJvPCOra9MYwPp2Fdaxc-XCkIKVBFLm-XhJ-8,141
209
- pygeofetch-2.7.0.7.dist-info/RECORD,,
213
+ pygeofetch-2.7.0.8.dist-info/METADATA,sha256=0JRdPHQ3OTdCeI33tHvG98RYUOPLRj0DRGzSeGWRvLE,25014
214
+ pygeofetch-2.7.0.8.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
215
+ pygeofetch-2.7.0.8.dist-info/entry_points.txt,sha256=dHiUXLF5xNJ8vgtXZoUQNleEMQUeDPZiKQOE1tW8SDY,55
216
+ pygeofetch-2.7.0.8.dist-info/top_level.txt,sha256=Q31tU73avU4vAUqRDskRHdiswoI9Cwti_VNpzS61AzY,158
217
+ pygeofetch-2.7.0.8.dist-info/RECORD,,
@@ -1,5 +1,6 @@
1
1
  pygeofetch
2
2
  pygeofetch_crop_fix_part8
3
+ pygeofetch_part9
3
4
  pygeofetch_tops_fix_part4
4
5
  pygeofetch_tops_fix_part5
5
6
  pygeofetch_tops_fix_part6