PyGeoFetch 2.7.0.3__tar.gz → 2.7.0.5__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.
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/CHANGELOG.md +7 -7
- {pygeofetch-2.7.0.3/pygeofetch.egg-info → pygeofetch-2.7.0.5}/PKG-INFO +2 -2
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/README.md +1 -1
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/__init__.py +1 -1
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/esd.py +167 -0
- pygeofetch-2.7.0.5/pygeofetch/insar/interferogram.py +3684 -0
- pygeofetch-2.7.0.5/pygeofetch/insar/tops.py +416 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/meta.yaml +1 -1
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5/pygeofetch.egg-info}/PKG-INFO +2 -2
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch.egg-info/SOURCES.txt +12 -0
- pygeofetch-2.7.0.5/pygeofetch.egg-info/top_level.txt +4 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part5/files/pygeofetch/insar/coregister.py +1648 -0
- {pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4 → pygeofetch-2.7.0.5/pygeofetch_tops_fix_part5}/files/pygeofetch/insar/interferogram.py +42 -14
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part5/files/tests/insar/_fake_safe.py +70 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part5/files/tests/insar/_tops_sim.py +93 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part5/files/tests/insar/test_tops_deramp.py +177 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6/pygeofetch/insar/esd.py +752 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6/pygeofetch/insar/interferogram.py +3684 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6/pygeofetch/insar/tops.py +416 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6/tests/insar/_fake_safe.py +70 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6/tests/insar/_tops_sim.py +93 -0
- pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6/tests/insar/test_tops_deramp.py +218 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pyproject.toml +1 -1
- pygeofetch-2.7.0.3/pygeofetch.egg-info/top_level.txt +0 -2
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/LICENSE +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/MANIFEST.in +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/auth_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/classify_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/config_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/download_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/index_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/main.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/monitor_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/multisensor_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/optical_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/pipeline_process_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/postprocess_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/preprocess_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/sar_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/scale_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/cli/search_commands.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/config/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/config/defaults.yaml +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/config/settings.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/authenticator.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/cache_manager.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/chunked_processor.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/data_formats/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/data_formats/geoparquet_io.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/data_formats/zarr_io.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/data_organizer.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/downloader.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/engine.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/logging.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/monitor.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/orbits.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/progress.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/scheduler.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/searcher.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/core/state.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/geotech/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/geotech/risk_mapper.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/advanced_safeguards.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/analysis.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/annotation.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/atmosphere.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/atmosphere_core.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/auto_fallback.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/coregister.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/deburst.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/errors.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/extraction.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/feasibility.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/flatearth.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/geolocation.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/gpu.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/hybrid_unwrap.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/ionosphere.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/learned_unwrap.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/logs.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/memory.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/network_thinning.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/offset_geometry.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/offset_tracking.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/orbits.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/preflight.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/provenance.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/ps_eval.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/ps_gnn_pygeofetch_selector.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/ps_selection.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/ps_stack.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/radar_geometry.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/stack_selection.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/synthetic.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/timeseries.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/topo.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/unwrap.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/validate.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/visualize.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/insar/workflow.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/models/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/models/download_task.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/models/satellite_data.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/models/search_query.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/models/stream_options.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/models/user_auth.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/multisensor/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/multisensor/_init.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/multisensor/dem_differencing.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/multisensor/flood_mapping.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/multisensor/insar_optical_fusion.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/multisensor/terrain_corrected_change.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/multisensor/vegetation_disturbance.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/optical/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/optical/offset_tracking.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/base.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/batch.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/classification.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/indices.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/pipeline.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/postprocessor.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/preprocessor.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/sar.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processing/uq_exporter.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processor/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processor/indices.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processor/landsat.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processor/loader.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processor/stacker.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/processor/timeseries.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/airbus_oneatlas.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/alaska_satellite_facility.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/aws_earth.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/base.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/copernicus.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/copernicus_nodes.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/digitalglobe.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/earth_explorer_additional.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/element84.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/eodag_provider.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/esa_scihub.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/geoserver_generic.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/google_earth_engine.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/inpe_cbers.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/isro_bhuvan.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/jaxa_earth.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/maxar_gbdx.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/nasa_earthdata.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/nasa_earthdata_cloud.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/noaa_big_data.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/opentopography.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/planet.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/planetary_computer.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/sentinel_hub.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/terrabotics.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/providers/usgs.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/_native.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/_ost.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/_sarxarray.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/extraction.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/math.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/pipelines.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/sar/processor.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/stac_compute/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/stac_compute/burst_streaming.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/stac_compute/cog_streamer.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/stac_compute/lightweight_prefetch.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/stac_compute/window_calculator.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/streaming/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/streaming/scene.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/streaming/windowed.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/file_utils.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/gcp_recovery.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/geo_utils.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/geocoding.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/logging_setup.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/retry_handler.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/sar_math.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/utils/validators.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/validation/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/validation/optical_validator.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/viz/__init__.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/viz/insar.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/viz/map.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch/viz/plot.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch.egg-info/dependency_links.txt +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch.egg-info/entry_points.txt +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch.egg-info/not-zip-safe +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch.egg-info/requires.txt +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch_tops_fix_part4/files/pygeofetch/insar/coregister.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5/pygeofetch_tops_fix_part4/files}/pygeofetch/insar/interferogram.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5/pygeofetch_tops_fix_part4/files}/pygeofetch/insar/tops.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch_tops_fix_part4/files/tests/insar/_fake_safe.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch_tops_fix_part4/files/tests/insar/_tops_sim.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/pygeofetch_tops_fix_part4/files/tests/insar/test_tops_deramp.py +0 -0
- {pygeofetch-2.7.0.3/pygeofetch_tops_fix_part4 → pygeofetch-2.7.0.5/pygeofetch_tops_fix_part5}/files/pygeofetch/insar/tops.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/setup.cfg +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_advanced_safeguards.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_airbus_oneatlas.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_alaska_satellite_facility.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_atmospheric_circular_regression.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_auto_fallback.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_auto_fallback_fixed.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_build_sbas_network-new.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_build_sbas_network.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_burst_metadata.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_burst_processing_integration.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_burst_sync_large_gap.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_burst_sync_prescreening.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_burst_synchronization.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_circuit_breaker_wiring.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_cli_optical_validation.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_copernicus_nodes.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_coregister_integration.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_coregister_upgrades (1).py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_coregister_upgrades.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_credential_encryption.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_data_organizer.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_dem_differencing_pipeline.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_digitalglobe.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_earth_explorer_additional.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_era5_atmospheric_correction.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_esa_scihub.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_extraction.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_flat_earth_phase.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_flood_mapping_pipeline.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_gcp_reprojection.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_geology_indices_and_rvi_fix.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_geoserver_generic.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_google_earth_engine.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_inpe_cbers.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_insar.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_insar_optical_fusion_pipeline.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_ionosphere.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_isro_bhuvan.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_jaxa_earth.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_lightweight_prefetch.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_map_preview_consolidation.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_models.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_monitor.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_nasa_earthdata_cloud_s3_fix.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_nasa_earthdata_public_search.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_network_thinning.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_noaa_big_data.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_offset_tracking.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_opentopography_pointcloud_usgs.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_optical_offset_tracking.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_optical_validation_wiring.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_optical_validator.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_optical_validator_stac.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_pgv_integration_contract.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_pipeline_process_export.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_planet_asset_type_fix.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_preflight_gate.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_preflight_quiet.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_preflight_spatial_baseline.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_provider_geometry_audit.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_provider_scene_disambiguation.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_providers.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_ps_selection.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_raster_collocation_integration.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_reference_pixel_and_despike.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_risk_mapper.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_risk_mapping.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_sar_pipelines.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_screen_stack_orchestration.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_search_download.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_sentinel_hub_catalog_fix.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_sign_convention.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_stack_selection_consolidation.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_state.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_strain_and_fusion.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_streaming.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_terrain_corrected_change_pipeline.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_topo_r2_bug.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_uq_exporter.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_utils.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_vegetation_disturbance_pipeline.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/tests/test_viz_plot.py +0 -0
- {pygeofetch-2.7.0.3 → pygeofetch-2.7.0.5}/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.
|
|
23
|
+
## [Unreleased] — v2.7.0.5.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.
|
|
133
|
+
## [2.7.0.5.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.
|
|
152
|
+
## [2.7.0.5] — 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.
|
|
264
|
+
**"2.7.0.5.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.
|
|
266
|
+
management, 17 spectral indices, and various bug fixes. **2.7.0.5.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.
|
|
410
|
-
2026-07-29 and 2026-07-12. **2.7.0.
|
|
409
|
+
1. **Two different entries were both labeled `2.7.0.5.4`**, dated
|
|
410
|
+
2026-07-29 and 2026-07-12. **2.7.0.5.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.
|
|
3
|
+
Version: 2.7.0.5
|
|
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.0.5.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.
|
|
232
|
+
version = {2.7.0.5.1},
|
|
233
233
|
doi = {10.5281/zenodo.22087230},
|
|
234
234
|
url = {https://doi.org/10.5281/zenodo.22087230}
|
|
235
235
|
}
|
|
@@ -583,3 +583,170 @@ def estimate_esd_shift_per_burst_overlap(
|
|
|
583
583
|
combined / dt,
|
|
584
584
|
)
|
|
585
585
|
return combined, per_overlap_shifts
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
def _overlap_rows(swath_timing, dt: float, row_offset: int, n_rows: int):
|
|
589
|
+
"""Yield (i, backward_rows, forward_rows) for each burst overlap i/i+1 inside an array of ``n_rows`` rows.
|
|
590
|
+
|
|
591
|
+
Same row arithmetic as estimate_esd_shift_per_burst_overlap: both images are on the reference's grid, so the
|
|
592
|
+
reference's own overlap windows locate the overlap rows of both.
|
|
593
|
+
"""
|
|
594
|
+
import numpy as np
|
|
595
|
+
|
|
596
|
+
L = swath_timing.lines_per_burst
|
|
597
|
+
for i, r_start, r_end in overlap_time_windows(swath_timing, dt):
|
|
598
|
+
n_lines = int(round((r_end - r_start).total_seconds() / dt)) + 1
|
|
599
|
+
if n_lines < 3:
|
|
600
|
+
continue
|
|
601
|
+
bw, fw = [], []
|
|
602
|
+
for k in range(n_lines):
|
|
603
|
+
tt = r_start + timedelta(seconds=k * dt)
|
|
604
|
+
b = i * L + round((tt - swath_timing.bursts[i].azimuth_time).total_seconds() / dt) - row_offset
|
|
605
|
+
f = (i + 1) * L + round((tt - swath_timing.bursts[i + 1].azimuth_time).total_seconds() / dt) - row_offset
|
|
606
|
+
if 0 <= b < n_rows and 0 <= f < n_rows:
|
|
607
|
+
bw.append(b)
|
|
608
|
+
fw.append(f)
|
|
609
|
+
if len(bw) >= 3:
|
|
610
|
+
yield i, np.array(bw), np.array(fw)
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
def estimate_esd_blocks(
|
|
614
|
+
ref_complex,
|
|
615
|
+
sec_complex,
|
|
616
|
+
swath_timing,
|
|
617
|
+
azimuth_time_interval_s: float,
|
|
618
|
+
row_offset: int = 0,
|
|
619
|
+
delta_f_ovl_hz: float = SENTINEL1_IW_DELTA_F_OVL_HZ,
|
|
620
|
+
n_col_blocks: int = 8,
|
|
621
|
+
coherence_threshold: float = 0.2,
|
|
622
|
+
min_pixels: int = 200,
|
|
623
|
+
):
|
|
624
|
+
"""ESD per burst overlap AND per block of range columns: where in the image the misregistration is measured.
|
|
625
|
+
|
|
626
|
+
estimate_esd_shift_per_burst_overlap gives one number per pair. A residual misregistration that varies across
|
|
627
|
+
the scene (in range, or from one overlap to the next) leaves, after a constant correction, TOPS phase steps at
|
|
628
|
+
the burst seams of up to 2 pi * delta_f_ovl * dt * delta (about 55 rad per pixel for IW) and ramps inside the
|
|
629
|
+
bursts; 0.04 px is already a 2 rad step. Each block gives its own estimate, at the overlap's mean row and the
|
|
630
|
+
block's mean column (local array coordinates). Returns a list of dicts with keys overlap, row, col, shift_px,
|
|
631
|
+
coherence, n, weight (Fisher information of the mean double-difference phase, n * g^2 / (1 - g^2)).
|
|
632
|
+
"""
|
|
633
|
+
import numpy as np
|
|
634
|
+
from scipy.ndimage import uniform_filter
|
|
635
|
+
|
|
636
|
+
dt = azimuth_time_interval_s
|
|
637
|
+
h, w = ref_complex.shape
|
|
638
|
+
edges = np.linspace(0, w, max(1, int(n_col_blocks)) + 1).astype(int)
|
|
639
|
+
out = []
|
|
640
|
+
for i, bw, fw in _overlap_rows(swath_timing, dt, int(row_offset), h):
|
|
641
|
+
ref_bw, sec_bw = ref_complex[bw].astype(np.complex64), sec_complex[bw].astype(np.complex64)
|
|
642
|
+
igram_bw = ref_bw * np.conj(sec_bw)
|
|
643
|
+
igram_fw = ref_complex[fw].astype(np.complex64) * np.conj(sec_complex[fw].astype(np.complex64))
|
|
644
|
+
win = min(5, len(bw))
|
|
645
|
+
num = np.abs(uniform_filter(igram_bw.real, size=win) + 1j * uniform_filter(igram_bw.imag, size=win))
|
|
646
|
+
den = np.sqrt(uniform_filter(np.abs(ref_bw) ** 2, size=win) * uniform_filter(np.abs(sec_bw) ** 2, size=win)) + 1e-10
|
|
647
|
+
coh = num / den
|
|
648
|
+
dd = igram_fw * np.conj(igram_bw)
|
|
649
|
+
for c0, c1 in zip(edges[:-1], edges[1:]):
|
|
650
|
+
if c1 - c0 < 2:
|
|
651
|
+
continue
|
|
652
|
+
ok = np.isfinite(coh[:, c0:c1]) & (coh[:, c0:c1] >= coherence_threshold)
|
|
653
|
+
n = int(ok.sum())
|
|
654
|
+
if n < min(min_pixels, ok.size // 2) or ok.mean() < 0.3:
|
|
655
|
+
continue
|
|
656
|
+
z = dd[:, c0:c1][ok]
|
|
657
|
+
g = float(np.clip(np.mean(coh[:, c0:c1][ok]), 0.0, 0.99))
|
|
658
|
+
phase = float(np.angle(np.mean(z)))
|
|
659
|
+
out.append({"overlap": int(i), "row": float(np.mean(bw)), "col": float(0.5 * (c0 + c1 - 1)),
|
|
660
|
+
"shift_px": phase / (2 * np.pi * delta_f_ovl_hz) / dt, "coherence": g, "n": n,
|
|
661
|
+
"weight": n * g * g / (1.0 - g * g)})
|
|
662
|
+
return out
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
def fit_esd_field(blocks, ambiguity_px: float, shape, min_blocks: int = 3, n_iter: int = 3):
|
|
666
|
+
"""Fit a smooth residual misregistration field, delta = a + b col' (+ b2 (col'^2 - 1/12)) (+ c row'), to block ESD.
|
|
667
|
+
|
|
668
|
+
Each block's ESD is known only modulo ``ambiguity_px``; the blocks of one overlap are unwrapped along range
|
|
669
|
+
(the field is smooth) and each overlap is moved by whole ambiguities to the overall weighted median. Terms:
|
|
670
|
+
the constant always; range when the blocks span at least a quarter of the width (and a quadratic range term
|
|
671
|
+
with six or more blocks over half the width); azimuth when at least two overlaps contribute. Weighted least squares with outlier rejection (3 x MAD, at least 0.005 px).
|
|
672
|
+
Coordinates are normalised (col' = col / width - 0.5, row' = row / height - 0.5). Returns None when there are
|
|
673
|
+
too few blocks, else a dict with the terms, coefficients (px), an ``fn(rows, cols)`` evaluating the field in
|
|
674
|
+
local array coordinates, and the weighted RMS of the blocks about their mean (before) and about the field
|
|
675
|
+
(after).
|
|
676
|
+
"""
|
|
677
|
+
import numpy as np
|
|
678
|
+
|
|
679
|
+
if len(blocks) < min_blocks or not (ambiguity_px > 0):
|
|
680
|
+
return None
|
|
681
|
+
h, w = shape
|
|
682
|
+
amb = float(ambiguity_px)
|
|
683
|
+
b = sorted(blocks, key=lambda d: (d["overlap"], d["col"]))
|
|
684
|
+
shift = np.array([d["shift_px"] for d in b], dtype=float)
|
|
685
|
+
ov = np.array([d["overlap"] for d in b])
|
|
686
|
+
for o in np.unique(ov):
|
|
687
|
+
m = ov == o
|
|
688
|
+
shift[m] = np.unwrap(shift[m] * 2 * np.pi / amb) * amb / (2 * np.pi)
|
|
689
|
+
wts = np.array([d["weight"] for d in b], dtype=float)
|
|
690
|
+
|
|
691
|
+
def wmedian(x, wt):
|
|
692
|
+
order = np.argsort(x)
|
|
693
|
+
cw = np.cumsum(wt[order])
|
|
694
|
+
return float(x[order][np.searchsorted(cw, 0.5 * cw[-1])])
|
|
695
|
+
|
|
696
|
+
ref_level = wmedian(shift, wts)
|
|
697
|
+
for o in np.unique(ov):
|
|
698
|
+
m = ov == o
|
|
699
|
+
shift[m] -= amb * np.round((wmedian(shift[m], wts[m]) - ref_level) / amb)
|
|
700
|
+
col_n = np.array([d["col"] for d in b], dtype=float) / max(w, 1) - 0.5
|
|
701
|
+
row_n = np.array([d["row"] for d in b], dtype=float) / max(h, 1) - 0.5
|
|
702
|
+
terms = ["const"]
|
|
703
|
+
cols = [np.ones_like(col_n)]
|
|
704
|
+
n_cols_distinct = len(np.unique(np.round(col_n, 3)))
|
|
705
|
+
if np.ptp(col_n) >= 0.25 and n_cols_distinct >= 3:
|
|
706
|
+
terms.append("range")
|
|
707
|
+
cols.append(col_n)
|
|
708
|
+
if np.ptp(col_n) >= 0.5 and n_cols_distinct >= 6:
|
|
709
|
+
terms.append("range2") # gentle curvature across the swath
|
|
710
|
+
cols.append(col_n ** 2 - 1.0 / 12.0)
|
|
711
|
+
if len(np.unique(ov)) >= 2:
|
|
712
|
+
terms.append("azimuth")
|
|
713
|
+
cols.append(row_n)
|
|
714
|
+
A = np.stack(cols, axis=1)
|
|
715
|
+
keep = np.ones(len(shift), bool)
|
|
716
|
+
coef = np.zeros(A.shape[1])
|
|
717
|
+
for _ in range(n_iter):
|
|
718
|
+
if keep.sum() < max(min_blocks, A.shape[1] + 1):
|
|
719
|
+
break
|
|
720
|
+
sw = np.sqrt(wts[keep])
|
|
721
|
+
coef = np.linalg.lstsq(A[keep] * sw[:, None], shift[keep] * sw, rcond=None)[0]
|
|
722
|
+
res = shift - A @ coef
|
|
723
|
+
mad = 1.4826 * np.median(np.abs(res[keep] - np.median(res[keep])))
|
|
724
|
+
new_keep = np.abs(res) <= max(3 * mad, 0.005)
|
|
725
|
+
if np.array_equal(new_keep, keep):
|
|
726
|
+
break
|
|
727
|
+
keep = new_keep
|
|
728
|
+
if keep.sum() < min_blocks:
|
|
729
|
+
return None
|
|
730
|
+
wk = wts[keep]
|
|
731
|
+
mean_k = float(np.sum(wk * shift[keep]) / wk.sum())
|
|
732
|
+
rms_before = float(np.sqrt(np.sum(wk * (shift[keep] - mean_k) ** 2) / wk.sum()))
|
|
733
|
+
res = shift - A @ coef
|
|
734
|
+
rms_after = float(np.sqrt(np.sum(wk * res[keep] ** 2) / wk.sum()))
|
|
735
|
+
coefs = dict(zip(terms, (float(c) for c in coef)))
|
|
736
|
+
|
|
737
|
+
def fn(rows, cols_):
|
|
738
|
+
rows = np.asarray(rows, dtype=np.float64)
|
|
739
|
+
cols_ = np.asarray(cols_, dtype=np.float64)
|
|
740
|
+
out = coefs["const"] + 0.0 * (rows + cols_)
|
|
741
|
+
if "range" in coefs:
|
|
742
|
+
out = out + coefs["range"] * (cols_ / max(w, 1) - 0.5)
|
|
743
|
+
if "range2" in coefs:
|
|
744
|
+
out = out + coefs["range2"] * ((cols_ / max(w, 1) - 0.5) ** 2 - 1.0 / 12.0)
|
|
745
|
+
if "azimuth" in coefs:
|
|
746
|
+
out = out + coefs["azimuth"] * (rows / max(h, 1) - 0.5)
|
|
747
|
+
return out
|
|
748
|
+
|
|
749
|
+
corners = fn(np.array([0.0, 0.0, h - 1.0, h - 1.0]), np.array([0.0, w - 1.0, 0.0, w - 1.0]))
|
|
750
|
+
return {"terms": terms, "coef_px": coefs, "fn": fn, "n_blocks": int(len(b)), "n_used": int(keep.sum()),
|
|
751
|
+
"n_overlaps": int(len(np.unique(ov))), "rms_before_px": rms_before, "rms_after_px": rms_after,
|
|
752
|
+
"ptp_px": float(np.ptp(corners))}
|