PyGeoFetch 2.2.0__py3-none-any.whl → 2.3.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  """
2
- PyGeoFetch v2.2.0 — Universal Satellite Data Pipeline.
2
+ PyGeoFetch v2.3.0 — Universal Satellite Data Pipeline.
3
3
 
4
4
  Unified access to 22+ satellite data providers with a consistent
5
5
  Python API and CLI. Supports authentication management, federated search,
@@ -30,7 +30,7 @@ CLI::
30
30
  pygeofetch doctor
31
31
  """
32
32
 
33
- __version__ = "2.2.0"
33
+ __version__ = "2.3.0"
34
34
  __author__ = "PyGeoFetch Contributors"
35
35
  __license__ = "MIT"
36
36
 
pygeofetch/cli/main.py CHANGED
@@ -1,5 +1,5 @@
1
1
  """
2
- PyGeoFetch CLI v2.2.0 main entry point.
2
+ PyGeoFetch CLI v2.3.0 main entry point.
3
3
 
4
4
  Full command reference:
5
5
  pygeofetch auth — credential management
@@ -71,7 +71,7 @@ def cli(
71
71
  ) -> None:
72
72
  """
73
73
  \b
74
- PyGeoFetch v2.2.0 — Universal Satellite Data Pipeline
74
+ PyGeoFetch v2.3.0 — Universal Satellite Data Pipeline
75
75
  ===========================================================
76
76
  Unified access to 22+ satellite data providers.
77
77
 
@@ -370,6 +370,11 @@ class PhaseUnwrapper:
370
370
  igram.tofile(str(igram_path))
371
371
  corr.tofile(str(corr_path))
372
372
  nlooks_int = max(1, int(nlooks))
373
+
374
+ # FIX: Removed 'CONNCOMPOUTFORMAT UINT_DATA'. It is not a valid
375
+ # SNAPHU parameter. SNAPHU always writes connected components as
376
+ # 32-bit unsigned integers by default. The strict Windows port
377
+ # we use rejects the config file if it sees unknown keys.
373
378
  conf_text = f"""INFILE igram.cpx
374
379
  INFILEFORMAT COMPLEX_DATA
375
380
  CORRFILE corr.cor
@@ -377,7 +382,6 @@ CORRFILEFORMAT FLOAT_DATA
377
382
  OUTFILE unw.unw
378
383
  OUTFILEFORMAT FLOAT_DATA
379
384
  CONNCOMPFILE conncomp.cc
380
- CONNCOMPOUTFORMAT UINT_DATA
381
385
  LINELENGTH {width}
382
386
  STATCOSTMODE {self._cost_mode.upper()}
383
387
  INITMETHOD {self._init_method.upper()}
@@ -392,6 +396,7 @@ NLOOKSAZ {nlooks_int}
392
396
  with tempfile.TemporaryDirectory() as tmp_dir:
393
397
  result, unw_path, cc_path = _run_snaphu(tmp_dir)
394
398
 
399
+ # AUTO-REPAIR: Catch Windows STATUS_DLL_NOT_FOUND (0xC0000135)
395
400
  if result.returncode in (3221225781, -1073741515):
396
401
  logger.warning("SNAPHU crashed with STATUS_DLL_NOT_FOUND (0xC0000135). Auto-bundling runtime DLLs...")
397
402
  self._ensure_runtime_dlls(bin_dir)
@@ -411,6 +416,7 @@ NLOOKSAZ {nlooks_int}
411
416
  if count < min_region_size or (count / total_pixels) < min_conncomp_frac:
412
417
  conncomp[conncomp == lbl] = 0
413
418
  return unw, conncomp.astype(np.int32)
419
+
414
420
 
415
421
  def _ensure_runtime_dlls(self, bin_dir: Path):
416
422
  import shutil, zipfile, io, urllib.request
pygeofetch/meta.yaml CHANGED
@@ -1,4 +1,4 @@
1
- {% set version = "2.2.0" %}
1
+ {% set version = "2.3.0" %}
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.2.0
3
+ Version: 2.3.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
@@ -1,11 +1,11 @@
1
- pygeofetch/__init__.py,sha256=jurp6U54bXzlI1qAgbCOJeKvCi8dtqTXmKp8rBQiy9Y,1990
2
- pygeofetch/meta.yaml,sha256=MoNY3MjPluP_qRarrEL6rVciSWxkqI5M5AcuFs0nYR8,1280
1
+ pygeofetch/__init__.py,sha256=fUNpnnugxPve0K3zsKxMYwR2zzlhdbdJWMARGZpMKNk,1990
2
+ pygeofetch/meta.yaml,sha256=QFa2engAVMeSZRG1fzE6qD82AO-9rXoKR-wcpJvX7jg,1280
3
3
  pygeofetch/cli/__init__.py,sha256=QZMIIHEgmjGFieucqq9fZ5uephxP9-jdu1s8Q4qqw8o,30
4
4
  pygeofetch/cli/auth_commands.py,sha256=YqbrN_BYcAYCaUIYLpSJ_VIw35tKFUiD9Kc55SWbDWg,7742
5
5
  pygeofetch/cli/config_commands.py,sha256=1Pps0HLCLPODMlM6SFV8ru3IKCDpexSTz8uKIXvIIF8,3918
6
6
  pygeofetch/cli/download_commands.py,sha256=reQ9vmA50mj1zqechjLHAOe_cjBfa1miqfWa8UiIlxU,11741
7
7
  pygeofetch/cli/index_commands.py,sha256=IoLGrsSU-lTcBitFFsg8EtucqSKZtNL-0ODj_I8Twew,10020
8
- pygeofetch/cli/main.py,sha256=losmzWULoADQJNRMLoM3VcEFagnVlHZwr2LapikShjc,30335
8
+ pygeofetch/cli/main.py,sha256=XQGjVeZLlPzWf1khMWy0fdnjGekglnrXcPoKKHJZG0s,30335
9
9
  pygeofetch/cli/pipeline_process_commands.py,sha256=OvuouT35zZlrC-7hWAJRfaY_aUNk4ScK0Fia9WVB_Gw,6904
10
10
  pygeofetch/cli/postprocess_commands.py,sha256=kof_f-kjjvYl5eqPqrcNHSOUM_qVkGdSh6-N4vcx2y4,5825
11
11
  pygeofetch/cli/preprocess_commands.py,sha256=cFp1VR03Q1pmCwiBWYmS5lXF3NOnzVAq3XgrZh3rBdU,8696
@@ -42,7 +42,7 @@ pygeofetch/insar/splitspectrum_diagnostic.py,sha256=_IlfBs__BW7Yz2RwdmWxfrOspe67
42
42
  pygeofetch/insar/stack_selection.py,sha256=FaRBXDNnLwwiXPGeALSW1AaUdpLFOEepVTgEGVfNC4o,37555
43
43
  pygeofetch/insar/synthetic.py,sha256=FazdaG_u3GR1qk8022T92W2uxDJPg7OJaUSGY0wR0pw,16248
44
44
  pygeofetch/insar/timeseries.py,sha256=jXAYCFV5-m1Zv6kErlg4CWntpOSCKE8BR5qJru6GH7Q,60155
45
- pygeofetch/insar/unwrap.py,sha256=v2BnxRGoIEtIivHAUsfmSOnlHuKGxz_TEpH_9FdkDuU,29663
45
+ pygeofetch/insar/unwrap.py,sha256=kG6hzD-jADRnRAgCdljSBWGkVK8cT5Tf_uLjHh1YJbc,30029
46
46
  pygeofetch/insar/validate.py,sha256=BZaVvaPNllfDzoPwat0vDA4do6H5xh5Ju_g4r5YNogE,10110
47
47
  pygeofetch/insar/visualize.py,sha256=OxaQCUyRPKdikk5eQToGaXEtnN5RHEFEUMTD4O0-1iQ,8320
48
48
  pygeofetch/insar/workflow.py,sha256=8IxGgabdz9fDLoGAVrJRCdw16GP3sSDSoFPXyv1RXcg,11713
@@ -108,9 +108,9 @@ pygeofetch/utils/validators.py,sha256=f-k3mGFP4byjimyDymhPEdsz5I16jZacx1HSnwrARj
108
108
  pygeofetch/viz/__init__.py,sha256=xf2C9IL4n3bv3oxk8RYkogq7nkuNyt18V-urAoXWRQY,449
109
109
  pygeofetch/viz/map.py,sha256=vYO99NvTumCAVXVtXcEzMx_cpmH-FvSVNWl8X0PNSgE,15494
110
110
  pygeofetch/viz/plot.py,sha256=I16rdOWb80gcjYDsDvTMzuyek7QHgUNOQxY2RejBAPs,53675
111
- pygeofetch-2.2.0.dist-info/licenses/LICENSE,sha256=zavMyhODD6NvZTmmKFEtATrngwY4CU_NEtY7lhjxGnI,1075
112
- pygeofetch-2.2.0.dist-info/METADATA,sha256=uOiBAvdS4nR6X0Y8x63RAbHjJh3kg0IT4UIRE9vWqoM,43254
113
- pygeofetch-2.2.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
114
- pygeofetch-2.2.0.dist-info/entry_points.txt,sha256=dHiUXLF5xNJ8vgtXZoUQNleEMQUeDPZiKQOE1tW8SDY,55
115
- pygeofetch-2.2.0.dist-info/top_level.txt,sha256=rOmnZargIfNk99fwVOqt6OJyJvpSTBBAYO5HU37yhHk,11
116
- pygeofetch-2.2.0.dist-info/RECORD,,
111
+ pygeofetch-2.3.0.dist-info/licenses/LICENSE,sha256=zavMyhODD6NvZTmmKFEtATrngwY4CU_NEtY7lhjxGnI,1075
112
+ pygeofetch-2.3.0.dist-info/METADATA,sha256=rzAus9D-4CmV_laOgjX32304Urseo9600_UmjupWHa8,43254
113
+ pygeofetch-2.3.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
114
+ pygeofetch-2.3.0.dist-info/entry_points.txt,sha256=dHiUXLF5xNJ8vgtXZoUQNleEMQUeDPZiKQOE1tW8SDY,55
115
+ pygeofetch-2.3.0.dist-info/top_level.txt,sha256=rOmnZargIfNk99fwVOqt6OJyJvpSTBBAYO5HU37yhHk,11
116
+ pygeofetch-2.3.0.dist-info/RECORD,,