PyGeoFetch 2.7.0.1__tar.gz → 2.7.0.3__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.
Files changed (277) hide show
  1. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/CHANGELOG.md +7 -7
  2. {pygeofetch-2.7.0.1/pygeofetch.egg-info → pygeofetch-2.7.0.3}/PKG-INFO +2 -2
  3. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/README.md +1 -1
  4. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/__init__.py +1 -1
  5. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/coregister.py +77 -1
  6. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/interferogram.py +118 -12
  7. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/meta.yaml +1 -1
  8. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3/pygeofetch.egg-info}/PKG-INFO +2 -2
  9. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch.egg-info/SOURCES.txt +6 -0
  10. pygeofetch-2.7.0.3/pygeofetch.egg-info/top_level.txt +2 -0
  11. pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4/files/pygeofetch/insar/coregister.py +1648 -0
  12. pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4/files/pygeofetch/insar/interferogram.py +3583 -0
  13. pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4/files/pygeofetch/insar/tops.py +374 -0
  14. pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4/files/tests/insar/_fake_safe.py +70 -0
  15. pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4/files/tests/insar/_tops_sim.py +93 -0
  16. pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4/files/tests/insar/test_tops_deramp.py +177 -0
  17. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pyproject.toml +1 -1
  18. pygeofetch-2.7.0.1/pygeofetch.egg-info/top_level.txt +0 -1
  19. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/LICENSE +0 -0
  20. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/MANIFEST.in +0 -0
  21. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/__init__.py +0 -0
  22. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/auth_commands.py +0 -0
  23. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/classify_commands.py +0 -0
  24. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/config_commands.py +0 -0
  25. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/download_commands.py +0 -0
  26. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/index_commands.py +0 -0
  27. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/main.py +0 -0
  28. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/monitor_commands.py +0 -0
  29. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/multisensor_commands.py +0 -0
  30. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/optical_commands.py +0 -0
  31. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/pipeline_process_commands.py +0 -0
  32. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/postprocess_commands.py +0 -0
  33. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/preprocess_commands.py +0 -0
  34. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/sar_commands.py +0 -0
  35. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/scale_commands.py +0 -0
  36. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/cli/search_commands.py +0 -0
  37. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/config/__init__.py +0 -0
  38. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/config/defaults.yaml +0 -0
  39. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/config/settings.py +0 -0
  40. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/__init__.py +0 -0
  41. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/authenticator.py +0 -0
  42. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/cache_manager.py +0 -0
  43. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/chunked_processor.py +0 -0
  44. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/data_formats/__init__.py +0 -0
  45. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/data_formats/geoparquet_io.py +0 -0
  46. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/data_formats/zarr_io.py +0 -0
  47. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/data_organizer.py +0 -0
  48. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/downloader.py +0 -0
  49. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/engine.py +0 -0
  50. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/logging.py +0 -0
  51. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/monitor.py +0 -0
  52. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/orbits.py +0 -0
  53. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/progress.py +0 -0
  54. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/scheduler.py +0 -0
  55. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/searcher.py +0 -0
  56. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/core/state.py +0 -0
  57. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/geotech/__init__.py +0 -0
  58. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/geotech/risk_mapper.py +0 -0
  59. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/__init__.py +0 -0
  60. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/advanced_safeguards.py +0 -0
  61. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/analysis.py +0 -0
  62. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/annotation.py +0 -0
  63. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/atmosphere.py +0 -0
  64. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/atmosphere_core.py +0 -0
  65. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/auto_fallback.py +0 -0
  66. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/deburst.py +0 -0
  67. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/errors.py +0 -0
  68. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/esd.py +0 -0
  69. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/extraction.py +0 -0
  70. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/feasibility.py +0 -0
  71. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/flatearth.py +0 -0
  72. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/geolocation.py +0 -0
  73. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/gpu.py +0 -0
  74. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/hybrid_unwrap.py +0 -0
  75. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/ionosphere.py +0 -0
  76. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/learned_unwrap.py +0 -0
  77. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/logs.py +0 -0
  78. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/memory.py +0 -0
  79. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/network_thinning.py +0 -0
  80. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/offset_geometry.py +0 -0
  81. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/offset_tracking.py +0 -0
  82. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/orbits.py +0 -0
  83. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/preflight.py +0 -0
  84. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/provenance.py +0 -0
  85. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/ps_eval.py +0 -0
  86. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/ps_gnn_pygeofetch_selector.py +0 -0
  87. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/ps_selection.py +0 -0
  88. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/ps_stack.py +0 -0
  89. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/radar_geometry.py +0 -0
  90. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/splitspectrum_diagnostic.py +0 -0
  91. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/stack_selection.py +0 -0
  92. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/synthetic.py +0 -0
  93. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/timeseries.py +0 -0
  94. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/topo.py +0 -0
  95. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/tops.py +0 -0
  96. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/unwrap.py +0 -0
  97. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/validate.py +0 -0
  98. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/visualize.py +0 -0
  99. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/insar/workflow.py +0 -0
  100. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/models/__init__.py +0 -0
  101. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/models/download_task.py +0 -0
  102. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/models/satellite_data.py +0 -0
  103. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/models/search_query.py +0 -0
  104. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/models/stream_options.py +0 -0
  105. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/models/user_auth.py +0 -0
  106. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/multisensor/__init__.py +0 -0
  107. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/multisensor/_init.py +0 -0
  108. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/multisensor/dem_differencing.py +0 -0
  109. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/multisensor/flood_mapping.py +0 -0
  110. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/multisensor/insar_optical_fusion.py +0 -0
  111. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/multisensor/terrain_corrected_change.py +0 -0
  112. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/multisensor/vegetation_disturbance.py +0 -0
  113. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/optical/__init__.py +0 -0
  114. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/optical/offset_tracking.py +0 -0
  115. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/__init__.py +0 -0
  116. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/base.py +0 -0
  117. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/batch.py +0 -0
  118. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/classification.py +0 -0
  119. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/indices.py +0 -0
  120. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/pipeline.py +0 -0
  121. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/postprocessor.py +0 -0
  122. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/preprocessor.py +0 -0
  123. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/sar.py +0 -0
  124. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processing/uq_exporter.py +0 -0
  125. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processor/__init__.py +0 -0
  126. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processor/indices.py +0 -0
  127. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processor/landsat.py +0 -0
  128. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processor/loader.py +0 -0
  129. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processor/stacker.py +0 -0
  130. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/processor/timeseries.py +0 -0
  131. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/__init__.py +0 -0
  132. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/airbus_oneatlas.py +0 -0
  133. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/alaska_satellite_facility.py +0 -0
  134. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/aws_earth.py +0 -0
  135. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/base.py +0 -0
  136. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/copernicus.py +0 -0
  137. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/copernicus_nodes.py +0 -0
  138. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/digitalglobe.py +0 -0
  139. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/earth_explorer_additional.py +0 -0
  140. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/element84.py +0 -0
  141. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/eodag_provider.py +0 -0
  142. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/esa_scihub.py +0 -0
  143. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/geoserver_generic.py +0 -0
  144. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/google_earth_engine.py +0 -0
  145. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/inpe_cbers.py +0 -0
  146. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/isro_bhuvan.py +0 -0
  147. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/jaxa_earth.py +0 -0
  148. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/maxar_gbdx.py +0 -0
  149. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/nasa_earthdata.py +0 -0
  150. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/nasa_earthdata_cloud.py +0 -0
  151. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/noaa_big_data.py +0 -0
  152. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/opentopography.py +0 -0
  153. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/planet.py +0 -0
  154. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/planetary_computer.py +0 -0
  155. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/sentinel_hub.py +0 -0
  156. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/terrabotics.py +0 -0
  157. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/providers/usgs.py +0 -0
  158. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/__init__.py +0 -0
  159. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/_native.py +0 -0
  160. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/_ost.py +0 -0
  161. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/_sarxarray.py +0 -0
  162. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/extraction.py +0 -0
  163. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/math.py +0 -0
  164. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/pipelines.py +0 -0
  165. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/sar/processor.py +0 -0
  166. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/stac_compute/__init__.py +0 -0
  167. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/stac_compute/burst_streaming.py +0 -0
  168. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/stac_compute/cog_streamer.py +0 -0
  169. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/stac_compute/lightweight_prefetch.py +0 -0
  170. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/stac_compute/window_calculator.py +0 -0
  171. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/streaming/__init__.py +0 -0
  172. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/streaming/scene.py +0 -0
  173. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/streaming/windowed.py +0 -0
  174. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/__init__.py +0 -0
  175. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/file_utils.py +0 -0
  176. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/gcp_recovery.py +0 -0
  177. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/geo_utils.py +0 -0
  178. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/geocoding.py +0 -0
  179. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/logging_setup.py +0 -0
  180. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/retry_handler.py +0 -0
  181. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/sar_math.py +0 -0
  182. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/utils/validators.py +0 -0
  183. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/validation/__init__.py +0 -0
  184. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/validation/optical_validator.py +0 -0
  185. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/viz/__init__.py +0 -0
  186. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/viz/insar.py +0 -0
  187. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/viz/map.py +0 -0
  188. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch/viz/plot.py +0 -0
  189. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch.egg-info/dependency_links.txt +0 -0
  190. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch.egg-info/entry_points.txt +0 -0
  191. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch.egg-info/not-zip-safe +0 -0
  192. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/pygeofetch.egg-info/requires.txt +0 -0
  193. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/setup.cfg +0 -0
  194. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_advanced_safeguards.py +0 -0
  195. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_airbus_oneatlas.py +0 -0
  196. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_alaska_satellite_facility.py +0 -0
  197. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_atmospheric_circular_regression.py +0 -0
  198. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_auto_fallback.py +0 -0
  199. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_auto_fallback_fixed.py +0 -0
  200. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_build_sbas_network-new.py +0 -0
  201. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_build_sbas_network.py +0 -0
  202. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_burst_metadata.py +0 -0
  203. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_burst_processing_integration.py +0 -0
  204. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_burst_sync_large_gap.py +0 -0
  205. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_burst_sync_prescreening.py +0 -0
  206. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_burst_synchronization.py +0 -0
  207. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_circuit_breaker_wiring.py +0 -0
  208. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_cli_optical_validation.py +0 -0
  209. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_copernicus_nodes.py +0 -0
  210. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_coregister_integration.py +0 -0
  211. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_coregister_upgrades (1).py +0 -0
  212. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_coregister_upgrades.py +0 -0
  213. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_credential_encryption.py +0 -0
  214. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_data_organizer.py +0 -0
  215. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_dem_differencing_pipeline.py +0 -0
  216. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_digitalglobe.py +0 -0
  217. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_earth_explorer_additional.py +0 -0
  218. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_era5_atmospheric_correction.py +0 -0
  219. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_esa_scihub.py +0 -0
  220. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_extraction.py +0 -0
  221. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_flat_earth_phase.py +0 -0
  222. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_flood_mapping_pipeline.py +0 -0
  223. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_gcp_reprojection.py +0 -0
  224. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_geology_indices_and_rvi_fix.py +0 -0
  225. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_geoserver_generic.py +0 -0
  226. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_google_earth_engine.py +0 -0
  227. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_inpe_cbers.py +0 -0
  228. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_insar.py +0 -0
  229. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_insar_optical_fusion_pipeline.py +0 -0
  230. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_ionosphere.py +0 -0
  231. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_isro_bhuvan.py +0 -0
  232. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_jaxa_earth.py +0 -0
  233. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_lightweight_prefetch.py +0 -0
  234. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_map_preview_consolidation.py +0 -0
  235. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_models.py +0 -0
  236. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_monitor.py +0 -0
  237. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_nasa_earthdata_cloud_s3_fix.py +0 -0
  238. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_nasa_earthdata_public_search.py +0 -0
  239. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_network_thinning.py +0 -0
  240. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_noaa_big_data.py +0 -0
  241. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_offset_tracking.py +0 -0
  242. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_opentopography_pointcloud_usgs.py +0 -0
  243. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_optical_offset_tracking.py +0 -0
  244. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_optical_validation_wiring.py +0 -0
  245. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_optical_validator.py +0 -0
  246. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_optical_validator_stac.py +0 -0
  247. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_pgv_integration_contract.py +0 -0
  248. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_pipeline_process_export.py +0 -0
  249. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_planet_asset_type_fix.py +0 -0
  250. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_preflight_gate.py +0 -0
  251. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_preflight_quiet.py +0 -0
  252. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_preflight_spatial_baseline.py +0 -0
  253. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_provider_geometry_audit.py +0 -0
  254. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_provider_scene_disambiguation.py +0 -0
  255. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_providers.py +0 -0
  256. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_ps_selection.py +0 -0
  257. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_raster_collocation_integration.py +0 -0
  258. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_reference_pixel_and_despike.py +0 -0
  259. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_risk_mapper.py +0 -0
  260. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_risk_mapping.py +0 -0
  261. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_sar_pipelines.py +0 -0
  262. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_screen_stack_orchestration.py +0 -0
  263. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_search_download.py +0 -0
  264. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_sentinel_hub_catalog_fix.py +0 -0
  265. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_sign_convention.py +0 -0
  266. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_splitspectrum_diagnostic.py +0 -0
  267. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_stack_selection_consolidation.py +0 -0
  268. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_state.py +0 -0
  269. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_strain_and_fusion.py +0 -0
  270. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_streaming.py +0 -0
  271. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_terrain_corrected_change_pipeline.py +0 -0
  272. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_topo_r2_bug.py +0 -0
  273. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_uq_exporter.py +0 -0
  274. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_utils.py +0 -0
  275. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_vegetation_disturbance_pipeline.py +0 -0
  276. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_viz_plot.py +0 -0
  277. {pygeofetch-2.7.0.1 → pygeofetch-2.7.0.3}/tests/test_wls_inversion.py +0 -0
@@ -20,7 +20,7 @@ date, and marked accordingly rather than filled in with invented
20
20
  bullet points.
21
21
  ```
22
22
 
23
- ## [Unreleased] — v2.7.0.1.4
23
+ ## [Unreleased] — v2.7.0.3.4
24
24
 
25
25
  ```{note}
26
26
  Not yet published to PyPI. This entry documents work completed and
@@ -130,7 +130,7 @@ audit and remain open for a follow-up pass.
130
130
 
131
131
  ---
132
132
 
133
- ## [2.7.0.1.4] — 2026-08-25 (latest)
133
+ ## [2.7.0.3.4] — 2026-08-25 (latest)
134
134
 
135
135
  Confirmed via direct fetch of the current PyPI listing.
136
136
 
@@ -149,7 +149,7 @@ Confirmed via direct fetch of the current PyPI listing.
149
149
  - `SearchQuery.sort_ascending: bool` — earlier examples showed a `sort_order: "asc"/"desc"` string field that doesn't exist on the model (the CLI's `--sort-order` flag does convert to this internally, so CLI docs were unaffected)
150
150
  - `DownloadOptions.post_process` requires a list of `PostProcessAction` objects — passing plain strings raises a real `pydantic.ValidationError`
151
151
 
152
- ## [2.7.0.1] — 2026-08-24
152
+ ## [2.7.0.3] — 2026-08-24
153
153
  Real, verified release. Detailed notes not independently recovered from PyPI's release-history page (no distinct per-version notes exposed for this release specifically).
154
154
 
155
155
  ## [2.6.1] — 2026-08-22
@@ -261,9 +261,9 @@ recovered.
261
261
 
262
262
  ```{note}
263
263
  The previous version of this changelog had an entry labeled
264
- **"2.7.0.1.4 — 2026-07-12"** describing 22+ providers, Sentinel-1C/1D
264
+ **"2.7.0.3.4 — 2026-07-12"** describing 22+ providers, Sentinel-1C/1D
265
265
  support, SLC search with provider routing, precise orbit file
266
- management, 17 spectral indices, and various bug fixes. **2.7.0.1.4 was
266
+ management, 17 spectral indices, and various bug fixes. **2.7.0.3.4 was
267
267
  only ever released once, on 2026-08-25** — it was never released on
268
268
  2026-07-12. The date matches this real release, **1.0.8**, exactly.
269
269
  That content is reproduced below under the version it actually
@@ -406,8 +406,8 @@ The version of this file uploaded for this update had **5 entries
406
406
  covering 5 dates**. PyPI's real release history has **54 releases**.
407
407
  Specific issues found and fixed:
408
408
 
409
- 1. **Two different entries were both labeled `2.7.0.1.4`**, dated
410
- 2026-07-29 and 2026-07-12. **2.7.0.1.4 was only ever released once**,
409
+ 1. **Two different entries were both labeled `2.7.0.3.4`**, dated
410
+ 2026-07-29 and 2026-07-12. **2.7.0.3.4 was only ever released once**,
411
411
  on 2026-08-25 (confirmed directly from the live PyPI listing).
412
412
  2. **The 2026-07-12 entry's date exactly matches a real release**
413
413
  — version **1.0.8** — and its content (22+ providers, Sentinel-1C/D,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygeofetch
3
- Version: 2.7.0.1
3
+ Version: 2.7.0.3
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.1.1},
374
+ version = {2.7.0.3.1},
375
375
  doi = {10.5281/zenodo.22087230},
376
376
  url = {https://doi.org/10.5281/zenodo.22087230}
377
377
  }
@@ -229,7 +229,7 @@ If you use PyGeoFetch in your research or operational work, please cite it using
229
229
  title = {PyGeoFetch: A Unified Python Framework for Multi-Provider Satellite Data Acquisition, Pre-download Quality Control, and Geospatial Processing},
230
230
  year = {2026},
231
231
  publisher = {Zenodo},
232
- version = {2.7.0.1.1},
232
+ version = {2.7.0.3.1},
233
233
  doi = {10.5281/zenodo.22087230},
234
234
  url = {https://doi.org/10.5281/zenodo.22087230}
235
235
  }
@@ -30,7 +30,7 @@ CLI::
30
30
  pygeofetch doctor
31
31
  """
32
32
 
33
- __version__ = "2.7.0.1.4"
33
+ __version__ = "2.7.0.3.4"
34
34
  __author__ = "PyGeoFetch Contributors"
35
35
  __license__ = "MIT"
36
36
 
@@ -1569,4 +1569,80 @@ def _linspace(start, stop, n):
1569
1569
  if n == 1:
1570
1570
  return [start]
1571
1571
  step = (stop - start) / (n - 1)
1572
- return [start + i * step for i in range(n)]
1572
+ return [start + i * step for i in range(n)]
1573
+
1574
+ class BurstTimingMap:
1575
+ """Exact azimuth row mapping between two TOPS SLCs in their bursted (TIFF) layout.
1576
+
1577
+ In the measurement TIFF of an IW/EW SLC, burst ``b`` occupies rows ``b*L ... (b+1)*L-1`` and starts at its own
1578
+ annotated ``azimuthTime``. The secondary row that sees the same ground as reference row ``R`` is therefore a
1579
+ *staircase* in ``R``: within a burst it follows the (smooth) geometric time difference, but from burst to burst it
1580
+ jumps by the change in the two acquisitions' relative burst timing. A single polynomial in ``R`` cannot follow
1581
+ those steps; fitted through them it leaves a misregistration that ramps through every burst and jumps at burst
1582
+ edges -- for TOPS, a phase ramp of about ``2 pi k_t dt_az * error`` along azimuth (~3 rad/km per pixel).
1583
+
1584
+ The map separates the two parts. Offsets are expressed as a time difference ``u`` (in reference rows) between
1585
+ the secondary's and the reference's acquisition of the same ground, which is smooth and can be fitted with a
1586
+ low-order polynomial; the burst bookkeeping is then applied exactly: reference row -> (burst b, time) -> same
1587
+ burst of the secondary (matched by time) -> secondary row.
1588
+ """
1589
+
1590
+ def __init__(self, ref_geometry, sec_geometry):
1591
+ import numpy as np
1592
+
1593
+ for g in (ref_geometry, sec_geometry):
1594
+ if not (getattr(g, "_has_burst_timing", lambda: False)()):
1595
+ raise ValueError("burst timing not available")
1596
+ self._np = np
1597
+ t0 = ref_geometry.burst_azimuth_times[0]
1598
+ self.ref_t = np.array([(t - t0).total_seconds() for t in ref_geometry.burst_azimuth_times])
1599
+ self.sec_t = np.array([(t - t0).total_seconds() for t in sec_geometry.burst_azimuth_times])
1600
+ self.ref_lpb, self.sec_lpb = int(ref_geometry.lines_per_burst), int(sec_geometry.lines_per_burst)
1601
+ self.ref_dt = float(ref_geometry.azimuth_time_interval_s)
1602
+ self.sec_dt = float(sec_geometry.azimuth_time_interval_s)
1603
+ self.match = None
1604
+
1605
+ def _ref_time(self, R):
1606
+ np = self._np
1607
+ R = np.asarray(R, dtype=np.float64)
1608
+ b = np.clip(np.floor(R / self.ref_lpb).astype(np.int64), 0, len(self.ref_t) - 1)
1609
+ return self.ref_t[b] + (R - b * self.ref_lpb) * self.ref_dt, b
1610
+
1611
+ def _sec_time(self, S):
1612
+ np = self._np
1613
+ S = np.asarray(S, dtype=np.float64)
1614
+ b = np.clip(np.floor(S / self.sec_lpb).astype(np.int64), 0, len(self.sec_t) - 1)
1615
+ return self.sec_t[b] + (S - b * self.sec_lpb) * self.sec_dt
1616
+
1617
+ def to_u(self, R, S):
1618
+ """Time difference (in reference rows) between secondary row S and reference row R."""
1619
+ t_ref, _ = self._ref_time(R)
1620
+ return (self._sec_time(S) - t_ref) / self.ref_dt
1621
+
1622
+ def set_matching(self, u_typical: float) -> None:
1623
+ """Pair every reference burst with the secondary burst covering the same ground (nearest centre time)."""
1624
+ np = self._np
1625
+ ref_mid = self.ref_t + 0.5 * self.ref_lpb * self.ref_dt + u_typical * self.ref_dt
1626
+ sec_mid = self.sec_t + 0.5 * self.sec_lpb * self.sec_dt
1627
+ self.match = np.array([int(np.argmin(np.abs(sec_mid - m))) for m in ref_mid])
1628
+
1629
+ def steps_px(self) -> "list[float]":
1630
+ """Relative burst timing (reference minus matched secondary burst start), in rows, per reference burst."""
1631
+ d = (self.ref_t - self.sec_t[self.match]) / self.ref_dt
1632
+ return [float(x) for x in d - self._np.median(d)]
1633
+
1634
+ def wrap(self, u_fn):
1635
+ """Row-offset function (secondary row - reference row) from a smooth time-difference function u(R, C)."""
1636
+ np = self._np
1637
+ if self.match is None:
1638
+ raise RuntimeError("call set_matching() first")
1639
+
1640
+ def row_fn(R, C):
1641
+ R = np.asarray(R, dtype=np.float64)
1642
+ t_ref, b = self._ref_time(R)
1643
+ t = t_ref + np.asarray(u_fn(R, C), dtype=np.float64) * self.ref_dt
1644
+ bs = self.match[b]
1645
+ S = bs * self.sec_lpb + (t - self.sec_t[bs]) / self.sec_dt
1646
+ return (S - R).astype(np.float32)
1647
+
1648
+ return row_fn
@@ -615,7 +615,7 @@ class InterferogramGenerator:
615
615
  self._tops_ctx = None
616
616
  # Part of every pair fingerprint: results saved before TOPS deramping (0) or before resampling onto the
617
617
  # reference grid (1) are not reused.
618
- self._tops_deramp_version = 2
618
+ self._tops_deramp_version = 4
619
619
  # Automatic by default (None): on when the inputs exist, explicit
620
620
  # True/False always respected. It used to be opt-in and silent, which
621
621
  # left a full-width range ramp in every interferogram unless the caller
@@ -1437,6 +1437,16 @@ class InterferogramGenerator:
1437
1437
  except Exception as exc: # noqa: BLE001
1438
1438
  metadata["esd_residual_after_correction_px"] = None
1439
1439
  logger.warning("ESD residual re-estimation failed: %s", exc)
1440
+ # Resolve ESD's whole-ambiguity blind spot (TOPS pairs only).
1441
+ if getattr(self, "_tops_ctx", None) is not None:
1442
+ try:
1443
+ _amb = 1.0 / ((_df if _df else 5200.0) * azimuth_time_interval_s)
1444
+ sec_complex, _amb_info = self._resolve_esd_ambiguity(ref_complex, sec_complex, _amb)
1445
+ if _amb_info is not None:
1446
+ metadata["esd_ambiguity"] = _amb_info
1447
+ metadata["esd_total_shift_px"] = esd_shift_px + _amb_info["k"] * _amb
1448
+ except Exception as exc: # noqa: BLE001
1449
+ logger.warning("ESD ambiguity scan failed: %s", exc)
1440
1450
  else:
1441
1451
  logger.info(
1442
1452
  "Real per-burst-overlap ESD found no usable burst "
@@ -2584,7 +2594,12 @@ class InterferogramGenerator:
2584
2594
  "tops_sign": coreg_metadata.get("tops_sign"),
2585
2595
  "tops_sign_check_secondary": coreg_metadata.get("tops_sign_check_secondary"),
2586
2596
  "tops_doppler_rate_hz_s": coreg_metadata.get("tops_doppler_rate_hz_s"),
2597
+ "burst_exact_azimuth_mapping": coreg_metadata.get("burst_exact_azimuth_mapping", False),
2598
+ "burst_timing_steps_px": coreg_metadata.get("burst_timing_steps_px"),
2599
+ "coreg_rms_px": coreg_metadata.get("rms_mean_px"),
2587
2600
  "esd_delta_f_ovl_hz": burst_metadata.get("esd_delta_f_ovl_hz"),
2601
+ "esd_ambiguity": burst_metadata.get("esd_ambiguity"),
2602
+ "esd_total_shift_px": burst_metadata.get("esd_total_shift_px"),
2588
2603
  "esd_residual_after_correction_px": burst_metadata.get("esd_residual_after_correction_px"),
2589
2604
  "quality": quality.to_dict(),
2590
2605
  "quality_grade": quality.grade,
@@ -2940,6 +2955,31 @@ class InterferogramGenerator:
2940
2955
  exc,
2941
2956
  )
2942
2957
 
2958
+ # TOPS: fit the smooth time difference between the acquisitions, then map rows burst by burst
2959
+ # (BurstTimingMap). A polynomial fitted straight to row offsets cannot follow the steps that the two
2960
+ # acquisitions' burst timing puts between bursts, and leaves a misregistration that ramps through
2961
+ # each burst -- tenths of a pixel, far beyond what ESD (+-0.05 px) can see.
2962
+ timing_map = None
2963
+ if sec_ramp is not None:
2964
+ try:
2965
+ import numpy as _np
2966
+
2967
+ from pygeofetch.insar.coregister import BurstTimingMap
2968
+
2969
+ timing_map = BurstTimingMap(ref_geom, sec_geom)
2970
+ g_r = _np.asarray(geom_rows, dtype=float)
2971
+ geom_off_rows = list(timing_map.to_u(g_r, g_r + _np.asarray(geom_off_rows, dtype=float)))
2972
+ if xc_available:
2973
+ x_r = _np.asarray(grid_rows, dtype=float)
2974
+ off_rows = list(timing_map.to_u(x_r, x_r + _np.asarray(off_rows, dtype=float)))
2975
+ timing_map.set_matching(float(_np.median(geom_off_rows)))
2976
+ steps = timing_map.steps_px()
2977
+ tops_meta["burst_timing_steps_px"] = steps
2978
+ logger.info("Burst-exact azimuth mapping: relative burst timing steps (px) %s",
2979
+ ", ".join(f"{s_:+.3f}" for s_ in steps))
2980
+ except Exception as exc: # noqa: BLE001
2981
+ logger.warning("Burst-exact azimuth mapping unavailable (%s); fitting row offsets directly", exc)
2982
+ timing_map = None
2943
2983
  if fit == "geometry_first":
2944
2984
  if xc_available:
2945
2985
  xc_args = (grid_rows, grid_cols, off_rows, off_cols)
@@ -2963,6 +3003,9 @@ class InterferogramGenerator:
2963
3003
  raise ValueError(
2964
3004
  f"coregistration_fit must be 'geometry_first' or 'polynomial', got {fit!r}"
2965
3005
  )
3006
+ if timing_map is not None:
3007
+ row_fn = timing_map.wrap(row_fn)
3008
+ tops_meta["burst_exact_azimuth_mapping"] = True
2966
3009
  coreg_quality.mean_coherence = mean_coherence
2967
3010
  coreg_quality.log_summary()
2968
3011
 
@@ -3256,6 +3299,74 @@ class InterferogramGenerator:
3256
3299
  shift_px = diff_phase / (2 * np.pi) * 0.01 # conservative scaling
3257
3300
  return float(np.clip(shift_px, -0.5, 0.5))
3258
3301
 
3302
+ def _tops_content_phase(self, ctx, col_offset: float = 0.0):
3303
+ """Ramp phase carried by the resampled (and possibly already shifted) secondary at local (row, col)."""
3304
+ np = self._np()
3305
+ sec_ramp, row_fn, col_fn = ctx["sec_ramp"], ctx["row_fn"], ctx["col_fn"]
3306
+ r_off, c_off = ctx["ref_row_off"], ctx["ref_col_off"] + col_offset
3307
+ applied = ctx.get("applied_shift_px", 0.0)
3308
+
3309
+ def content_phase(rows, cols):
3310
+ rg = np.asarray(rows, dtype=np.float64) - applied + r_off
3311
+ cg = np.asarray(cols, dtype=np.float64) + c_off
3312
+ return sec_ramp.phase(rg + np.asarray(row_fn(rg, cg), dtype=np.float64),
3313
+ cg + np.asarray(col_fn(rg, cg), dtype=np.float64))
3314
+
3315
+ return content_phase
3316
+
3317
+ def _resolve_esd_ambiguity(self, ref_complex, sec_complex, ambiguity_px: float, k_max: int = 4,
3318
+ max_cols: int = 1536):
3319
+ """Pick the whole number of ESD ambiguities to add to the azimuth shift, by coherence.
3320
+
3321
+ ESD measures the azimuth misregistration only modulo ``1 / (delta_f_ovl * dt_az)`` (about 0.1 px for IW):
3322
+ a first-stage coregistration error of a few tenths of a pixel leaves an error that ESD cannot see but that
3323
+ ramps the TOPS phase through every burst (about 3 rad/km per pixel) and steps it at burst edges. The
3324
+ interferometric coherence of a TOPS pair peaks at zero misregistration (the burst spectra overlap best),
3325
+ so the secondary is shifted by k ambiguities, k = -k_max..k_max, on a central block of columns, and the
3326
+ k with the highest coherence is kept. Returns the (possibly shifted) secondary and the scan.
3327
+ """
3328
+ np = self._np()
3329
+ ctx = getattr(self, "_tops_ctx", None)
3330
+ if ctx is None or not (ambiguity_px > 0) or not np.isfinite(ambiguity_px):
3331
+ return sec_complex, None
3332
+ from pygeofetch.insar.tops import shift_azimuth_tops
3333
+
3334
+ h, w = sec_complex.shape
3335
+ c0 = max(0, (w - max_cols) // 2)
3336
+ c1 = min(w, c0 + max_cols)
3337
+ ref_s = np.asarray(ref_complex[:, c0:c1])
3338
+ sec_s = np.asarray(sec_complex[:, c0:c1], dtype=np.complex64)
3339
+ content_phase = self._tops_content_phase(ctx, col_offset=c0)
3340
+ lpb, r_off = ctx["ref_ramp"].lines_per_burst, ctx["ref_row_off"]
3341
+
3342
+ def coherence(a, b, la=4, lr=16):
3343
+ n_r, n_c = (a.shape[0] // la) * la, (a.shape[1] // lr) * lr
3344
+ a, b = a[:n_r, :n_c].astype(np.complex128), b[:n_r, :n_c].astype(np.complex128)
3345
+ shp = (n_r // la, la, n_c // lr, lr)
3346
+ num = np.abs((a * np.conj(b)).reshape(shp).sum(axis=(1, 3)))
3347
+ den = np.sqrt((np.abs(a) ** 2).reshape(shp).sum(axis=(1, 3)) * (np.abs(b) ** 2).reshape(shp).sum(axis=(1, 3)))
3348
+ ok = den > 0
3349
+ return float(np.mean(num[ok] / den[ok])) if ok.any() else float("nan")
3350
+
3351
+ ks = list(range(-k_max, k_max + 1))
3352
+ scores = []
3353
+ for k in ks:
3354
+ shifted = sec_s if k == 0 else shift_azimuth_tops(sec_s.copy(), k * ambiguity_px, content_phase, lpb, r_off)
3355
+ scores.append(coherence(ref_s, shifted))
3356
+ best = int(np.nanargmax(scores))
3357
+ k_best = ks[best]
3358
+ info = {"ambiguity_px": float(ambiguity_px), "k": int(k_best),
3359
+ "coherence_scan": [round(float(v), 5) for v in scores],
3360
+ "at_scan_edge": best in (0, len(ks) - 1)}
3361
+ logger.info("ESD ambiguity scan (coherence for k = %d..%d ambiguities of %.4f px): %s -> k = %+d",
3362
+ ks[0], ks[-1], ambiguity_px, ", ".join(f"{v:.4f}" for v in scores), k_best)
3363
+ if info["at_scan_edge"]:
3364
+ logger.warning("ESD ambiguity scan peaks at the edge of the scan (k = %+d): the first-stage "
3365
+ "coregistration is off by more than %d ambiguities", k_best, k_max)
3366
+ if k_best != 0:
3367
+ sec_complex = self._apply_azimuth_shift(sec_complex, k_best * ambiguity_px)
3368
+ return sec_complex, info
3369
+
3259
3370
  def _apply_azimuth_shift(self, data, shift_px: float):
3260
3371
  """Apply a sub-pixel azimuth (row) shift via Fourier phase ramp.
3261
3372
 
@@ -3273,17 +3384,12 @@ class InterferogramGenerator:
3273
3384
  # every burst.
3274
3385
  from pygeofetch.insar.tops import shift_azimuth_tops
3275
3386
 
3276
- sec_ramp, row_fn, col_fn = ctx["sec_ramp"], ctx["row_fn"], ctx["col_fn"]
3277
- r_off, c_off = ctx["ref_row_off"], ctx["ref_col_off"]
3278
-
3279
- def content_phase(rows, cols):
3280
- rg = np.asarray(rows, dtype=np.float64) + r_off
3281
- cg = np.asarray(cols, dtype=np.float64) + c_off
3282
- return sec_ramp.phase(rg + np.asarray(row_fn(rg, cg), dtype=np.float64),
3283
- cg + np.asarray(col_fn(rg, cg), dtype=np.float64))
3284
-
3285
- return shift_azimuth_tops(np.asarray(data), float(shift_px), content_phase,
3286
- ctx["ref_ramp"].lines_per_burst, r_off)
3387
+ content_phase = self._tops_content_phase(ctx)
3388
+ out = shift_azimuth_tops(np.asarray(data), float(shift_px), content_phase,
3389
+ ctx["ref_ramp"].lines_per_burst, ctx["ref_row_off"])
3390
+ # The data now carry the ramp of the positions r - shift; a later shift must start from there.
3391
+ ctx["applied_shift_px"] = ctx.get("applied_shift_px", 0.0) + float(shift_px)
3392
+ return out
3287
3393
  h, w = data.shape
3288
3394
  freq = np.fft.fftfreq(h).reshape(-1, 1)
3289
3395
  ramp = np.exp(-2j * np.pi * freq * shift_px)
@@ -1,4 +1,4 @@
1
- {% set version = "2.7.0.1.4" %}
1
+ {% set version = "2.7.0.3.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.1
3
+ Version: 2.7.0.3
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.1.1},
374
+ version = {2.7.0.3.1},
375
375
  doi = {10.5281/zenodo.22087230},
376
376
  url = {https://doi.org/10.5281/zenodo.22087230}
377
377
  }
@@ -183,6 +183,12 @@ pygeofetch/viz/__init__.py
183
183
  pygeofetch/viz/insar.py
184
184
  pygeofetch/viz/map.py
185
185
  pygeofetch/viz/plot.py
186
+ pygeofetch_tops_fix_part4/files/pygeofetch/insar/coregister.py
187
+ pygeofetch_tops_fix_part4/files/pygeofetch/insar/interferogram.py
188
+ pygeofetch_tops_fix_part4/files/pygeofetch/insar/tops.py
189
+ pygeofetch_tops_fix_part4/files/tests/insar/_fake_safe.py
190
+ pygeofetch_tops_fix_part4/files/tests/insar/_tops_sim.py
191
+ pygeofetch_tops_fix_part4/files/tests/insar/test_tops_deramp.py
186
192
  tests/test_advanced_safeguards.py
187
193
  tests/test_airbus_oneatlas.py
188
194
  tests/test_alaska_satellite_facility.py
@@ -0,0 +1,2 @@
1
+ pygeofetch
2
+ pygeofetch_tops_fix_part4