PyGeoFetch 2.6.9.9__tar.gz → 2.7.0.1__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.6.9.9 → pygeofetch-2.7.0.1}/CHANGELOG.md +7 -7
- {pygeofetch-2.6.9.9/pygeofetch.egg-info → pygeofetch-2.7.0.1}/PKG-INFO +2 -2
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/README.md +1 -1
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/__init__.py +1 -1
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/__init__.py +131 -32
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/coregister.py +71 -5
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/interferogram.py +91 -2
- pygeofetch-2.7.0.1/pygeofetch/insar/orbits.py +359 -0
- pygeofetch-2.7.0.1/pygeofetch/insar/tops.py +374 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/workflow.py +18 -5
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/meta.yaml +1 -1
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1/pygeofetch.egg-info}/PKG-INFO +2 -2
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch.egg-info/SOURCES.txt +2 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pyproject.toml +1 -1
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/LICENSE +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/MANIFEST.in +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/auth_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/classify_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/config_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/download_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/index_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/main.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/monitor_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/multisensor_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/optical_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/pipeline_process_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/postprocess_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/preprocess_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/sar_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/scale_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/cli/search_commands.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/config/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/config/defaults.yaml +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/config/settings.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/authenticator.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/cache_manager.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/chunked_processor.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/data_formats/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/data_formats/geoparquet_io.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/data_formats/zarr_io.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/data_organizer.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/downloader.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/engine.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/logging.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/monitor.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/orbits.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/progress.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/scheduler.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/searcher.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/core/state.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/geotech/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/geotech/risk_mapper.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/advanced_safeguards.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/analysis.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/annotation.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/atmosphere.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/atmosphere_core.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/auto_fallback.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/deburst.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/errors.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/esd.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/extraction.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/feasibility.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/flatearth.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/geolocation.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/gpu.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/hybrid_unwrap.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/ionosphere.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/learned_unwrap.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/logs.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/memory.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/network_thinning.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/offset_geometry.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/offset_tracking.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/preflight.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/provenance.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/ps_eval.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/ps_gnn_pygeofetch_selector.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/ps_selection.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/ps_stack.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/radar_geometry.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/stack_selection.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/synthetic.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/timeseries.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/topo.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/unwrap.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/validate.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/insar/visualize.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/models/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/models/download_task.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/models/satellite_data.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/models/search_query.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/models/stream_options.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/models/user_auth.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/multisensor/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/multisensor/_init.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/multisensor/dem_differencing.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/multisensor/flood_mapping.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/multisensor/insar_optical_fusion.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/multisensor/terrain_corrected_change.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/multisensor/vegetation_disturbance.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/optical/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/optical/offset_tracking.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/base.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/batch.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/classification.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/indices.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/pipeline.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/postprocessor.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/preprocessor.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/sar.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processing/uq_exporter.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processor/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processor/indices.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processor/landsat.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processor/loader.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processor/stacker.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/processor/timeseries.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/airbus_oneatlas.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/alaska_satellite_facility.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/aws_earth.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/base.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/copernicus.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/copernicus_nodes.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/digitalglobe.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/earth_explorer_additional.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/element84.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/eodag_provider.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/esa_scihub.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/geoserver_generic.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/google_earth_engine.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/inpe_cbers.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/isro_bhuvan.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/jaxa_earth.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/maxar_gbdx.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/nasa_earthdata.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/nasa_earthdata_cloud.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/noaa_big_data.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/opentopography.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/planet.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/planetary_computer.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/sentinel_hub.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/terrabotics.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/providers/usgs.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/_native.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/_ost.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/_sarxarray.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/extraction.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/math.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/pipelines.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/sar/processor.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/stac_compute/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/stac_compute/burst_streaming.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/stac_compute/cog_streamer.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/stac_compute/lightweight_prefetch.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/stac_compute/window_calculator.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/streaming/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/streaming/scene.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/streaming/windowed.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/file_utils.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/gcp_recovery.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/geo_utils.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/geocoding.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/logging_setup.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/retry_handler.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/sar_math.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/utils/validators.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/validation/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/validation/optical_validator.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/viz/__init__.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/viz/insar.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/viz/map.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch/viz/plot.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch.egg-info/dependency_links.txt +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch.egg-info/entry_points.txt +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch.egg-info/not-zip-safe +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch.egg-info/requires.txt +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/pygeofetch.egg-info/top_level.txt +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/setup.cfg +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_advanced_safeguards.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_airbus_oneatlas.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_alaska_satellite_facility.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_atmospheric_circular_regression.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_auto_fallback.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_auto_fallback_fixed.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_build_sbas_network-new.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_build_sbas_network.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_burst_metadata.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_burst_processing_integration.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_burst_sync_large_gap.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_burst_sync_prescreening.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_burst_synchronization.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_circuit_breaker_wiring.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_cli_optical_validation.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_copernicus_nodes.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_coregister_integration.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_coregister_upgrades (1).py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_coregister_upgrades.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_credential_encryption.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_data_organizer.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_dem_differencing_pipeline.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_digitalglobe.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_earth_explorer_additional.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_era5_atmospheric_correction.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_esa_scihub.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_extraction.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_flat_earth_phase.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_flood_mapping_pipeline.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_gcp_reprojection.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_geology_indices_and_rvi_fix.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_geoserver_generic.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_google_earth_engine.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_inpe_cbers.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_insar.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_insar_optical_fusion_pipeline.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_ionosphere.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_isro_bhuvan.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_jaxa_earth.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_lightweight_prefetch.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_map_preview_consolidation.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_models.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_monitor.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_nasa_earthdata_cloud_s3_fix.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_nasa_earthdata_public_search.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_network_thinning.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_noaa_big_data.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_offset_tracking.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_opentopography_pointcloud_usgs.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_optical_offset_tracking.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_optical_validation_wiring.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_optical_validator.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_optical_validator_stac.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_pgv_integration_contract.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_pipeline_process_export.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_planet_asset_type_fix.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_preflight_gate.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_preflight_quiet.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_preflight_spatial_baseline.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_provider_geometry_audit.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_provider_scene_disambiguation.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_providers.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_ps_selection.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_raster_collocation_integration.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_reference_pixel_and_despike.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_risk_mapper.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_risk_mapping.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_sar_pipelines.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_screen_stack_orchestration.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_search_download.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_sentinel_hub_catalog_fix.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_sign_convention.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_stack_selection_consolidation.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_state.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_strain_and_fusion.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_streaming.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_terrain_corrected_change_pipeline.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_topo_r2_bug.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_uq_exporter.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_utils.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_vegetation_disturbance_pipeline.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/tests/test_viz_plot.py +0 -0
- {pygeofetch-2.6.9.9 → pygeofetch-2.7.0.1}/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.
|
|
23
|
+
## [Unreleased] — v2.7.0.1.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.
|
|
133
|
+
## [2.7.0.1.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.
|
|
152
|
+
## [2.7.0.1] — 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.
|
|
264
|
+
**"2.7.0.1.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.
|
|
266
|
+
management, 17 spectral indices, and various bug fixes. **2.7.0.1.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.
|
|
410
|
-
2026-07-29 and 2026-07-12. **2.
|
|
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**,
|
|
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.
|
|
3
|
+
Version: 2.7.0.1
|
|
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.
|
|
374
|
+
version = {2.7.0.1.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.
|
|
232
|
+
version = {2.7.0.1.1},
|
|
233
233
|
doi = {10.5281/zenodo.22087230},
|
|
234
234
|
url = {https://doi.org/10.5281/zenodo.22087230}
|
|
235
235
|
}
|
|
@@ -113,12 +113,24 @@ from pygeofetch.insar.annotation import (
|
|
|
113
113
|
parse_burst_info,
|
|
114
114
|
parse_slc_geometry,
|
|
115
115
|
)
|
|
116
|
-
from pygeofetch.insar.atmosphere import
|
|
116
|
+
from pygeofetch.insar.atmosphere import (
|
|
117
|
+
AtmosphericCorrector,
|
|
118
|
+
)
|
|
117
119
|
from pygeofetch.insar.atmosphere_core import (
|
|
118
|
-
estimate_height_slopes_per_date,
|
|
120
|
+
estimate_height_slopes_per_date,
|
|
121
|
+
fit_height_dependence,
|
|
122
|
+
structure_function,
|
|
123
|
+
variance_reduction,
|
|
124
|
+
)
|
|
125
|
+
from pygeofetch.insar.radar_geometry import (
|
|
126
|
+
GeometryNodes,
|
|
127
|
+
PixelFrame,
|
|
128
|
+
compute_geometry_nodes,
|
|
129
|
+
)
|
|
130
|
+
from pygeofetch.insar.topo import (
|
|
131
|
+
apply_geometric_phase,
|
|
132
|
+
heights_on_output_grid,
|
|
119
133
|
)
|
|
120
|
-
from pygeofetch.insar.radar_geometry import GeometryNodes, PixelFrame, compute_geometry_nodes
|
|
121
|
-
from pygeofetch.insar.topo import apply_geometric_phase, heights_on_output_grid
|
|
122
134
|
from pygeofetch.insar.coregister import (
|
|
123
135
|
CoregistrationQuality,
|
|
124
136
|
collocate_by_geocoding,
|
|
@@ -128,14 +140,21 @@ from pygeofetch.insar.coregister import (
|
|
|
128
140
|
refine_offsets_by_coherence,
|
|
129
141
|
resample_with_offset_field,
|
|
130
142
|
)
|
|
131
|
-
from pygeofetch.insar.deburst import
|
|
143
|
+
from pygeofetch.insar.deburst import (
|
|
144
|
+
compute_burst_row_ranges,
|
|
145
|
+
deburst_array,
|
|
146
|
+
)
|
|
132
147
|
from pygeofetch.insar.esd import (
|
|
133
148
|
SENTINEL1_IW_DELTA_F_OVL_HZ,
|
|
134
149
|
compute_overlap_row_ranges,
|
|
135
150
|
estimate_esd_shift_per_burst_overlap,
|
|
136
151
|
)
|
|
137
|
-
from pygeofetch.insar.extraction import
|
|
138
|
-
|
|
152
|
+
from pygeofetch.insar.extraction import (
|
|
153
|
+
SLCExtractor,
|
|
154
|
+
)
|
|
155
|
+
from pygeofetch.insar.flatearth import (
|
|
156
|
+
compute_flat_earth_phase,
|
|
157
|
+
)
|
|
139
158
|
from pygeofetch.insar.geolocation import (
|
|
140
159
|
find_zero_doppler_time,
|
|
141
160
|
geodetic_to_ecef,
|
|
@@ -144,20 +163,52 @@ from pygeofetch.insar.geolocation import (
|
|
|
144
163
|
parse_orbit_file,
|
|
145
164
|
range_offset_to_vertical_displacement,
|
|
146
165
|
)
|
|
147
|
-
from pygeofetch.insar.gpu import
|
|
148
|
-
|
|
166
|
+
from pygeofetch.insar.gpu import (
|
|
167
|
+
gpu_available,
|
|
168
|
+
gpu_info,
|
|
169
|
+
)
|
|
170
|
+
from pygeofetch.insar.logs import (
|
|
171
|
+
set_verbosity,
|
|
172
|
+
current_verbosity,
|
|
173
|
+
)
|
|
149
174
|
from pygeofetch.insar.errors import (
|
|
150
|
-
BurstProcessingError,
|
|
151
|
-
|
|
152
|
-
|
|
175
|
+
BurstProcessingError,
|
|
176
|
+
CoregistrationError,
|
|
177
|
+
CropError,
|
|
178
|
+
FlatEarthError,
|
|
179
|
+
InputError,
|
|
180
|
+
ProcessingError,
|
|
181
|
+
QualityRecord,
|
|
182
|
+
TopographicPhaseError,
|
|
183
|
+
AtmosphereError,
|
|
184
|
+
GeometryProcessingError,
|
|
185
|
+
UnwrapError,
|
|
186
|
+
ModelLoadError,
|
|
187
|
+
UnwrapDependencyError,
|
|
188
|
+
)
|
|
189
|
+
from pygeofetch.insar.hybrid_unwrap import (
|
|
190
|
+
HybridConfig,
|
|
191
|
+
HybridUnwrapper,
|
|
192
|
+
HybridUnwrapResult,
|
|
193
|
+
tie_components,
|
|
153
194
|
)
|
|
154
|
-
from pygeofetch.insar.hybrid_unwrap import HybridConfig, HybridUnwrapper, HybridUnwrapResult, tie_components
|
|
155
195
|
from pygeofetch.insar.learned_unwrap import (
|
|
156
|
-
LearnedUnwrapConfig,
|
|
157
|
-
|
|
196
|
+
LearnedUnwrapConfig,
|
|
197
|
+
LearnedUnwrapper,
|
|
198
|
+
LearnedUnwrapResult,
|
|
199
|
+
UnwrapModel,
|
|
200
|
+
load_unwrap_model,
|
|
201
|
+
unwrap_diagnostics,
|
|
202
|
+
unwrap_interferograms,
|
|
203
|
+
)
|
|
204
|
+
from pygeofetch.insar.interferogram import (
|
|
205
|
+
InterferogramGenerator,
|
|
206
|
+
InterferogramResult,
|
|
207
|
+
)
|
|
208
|
+
from pygeofetch.insar.ionosphere import (
|
|
209
|
+
IonosphericCorrector,
|
|
210
|
+
parse_ionex,
|
|
158
211
|
)
|
|
159
|
-
from pygeofetch.insar.interferogram import InterferogramGenerator, InterferogramResult
|
|
160
|
-
from pygeofetch.insar.ionosphere import IonosphericCorrector, parse_ionex
|
|
161
212
|
|
|
162
213
|
# Range/azimuth pixel offsets to ground East/North/Up displacement. The
|
|
163
214
|
# math is verified (solve_enu_displacement agrees with
|
|
@@ -184,8 +235,14 @@ from pygeofetch.insar.offset_tracking import (
|
|
|
184
235
|
normalized_cross_correlation,
|
|
185
236
|
subpixel_peak_offset,
|
|
186
237
|
)
|
|
187
|
-
from pygeofetch.insar.preflight import
|
|
188
|
-
|
|
238
|
+
from pygeofetch.insar.preflight import (
|
|
239
|
+
PreflightGate,
|
|
240
|
+
PreflightIssue,
|
|
241
|
+
PreflightReport,
|
|
242
|
+
)
|
|
243
|
+
from pygeofetch.insar.provenance import (
|
|
244
|
+
write_provenance_manifest,
|
|
245
|
+
)
|
|
189
246
|
|
|
190
247
|
# Persistent Scatterer InSAR (Ferretti, Prati & Rocca 2001). Real, tested
|
|
191
248
|
# against synthetic data with known ground truth at every stage (ADI
|
|
@@ -201,7 +258,10 @@ from pygeofetch.insar.ps_selection import (
|
|
|
201
258
|
select_persistent_scatterers,
|
|
202
259
|
temporal_coherence,
|
|
203
260
|
)
|
|
204
|
-
from pygeofetch.insar.ps_eval import
|
|
261
|
+
from pygeofetch.insar.ps_eval import (
|
|
262
|
+
boost_coherence_with_ps,
|
|
263
|
+
compare_velocity_maps,
|
|
264
|
+
)
|
|
205
265
|
from pygeofetch.insar.ps_stack import (
|
|
206
266
|
ADISelector,
|
|
207
267
|
PSSelection,
|
|
@@ -259,14 +319,33 @@ from pygeofetch.insar.visualize import (
|
|
|
259
319
|
visualize_timeseries,
|
|
260
320
|
visualize_unwrapped,
|
|
261
321
|
)
|
|
262
|
-
from pygeofetch.insar.workflow import
|
|
322
|
+
from pygeofetch.insar.workflow import (
|
|
323
|
+
InSARProject,
|
|
324
|
+
)
|
|
263
325
|
|
|
264
326
|
__all__ = [
|
|
265
|
-
"ProcessingError",
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
327
|
+
"ProcessingError",
|
|
328
|
+
"InputError",
|
|
329
|
+
"CoregistrationError",
|
|
330
|
+
"BurstProcessingError",
|
|
331
|
+
"FlatEarthError",
|
|
332
|
+
"TopographicPhaseError",
|
|
333
|
+
"CropError",
|
|
334
|
+
"QualityRecord",
|
|
335
|
+
"PSStack",
|
|
336
|
+
"PSSelection",
|
|
337
|
+
"PSSelector",
|
|
338
|
+
"ADISelector",
|
|
339
|
+
"build_ps_stack",
|
|
340
|
+
"build_stack",
|
|
341
|
+
"select_ps",
|
|
342
|
+
"compare_selections",
|
|
343
|
+
"holdout_stability",
|
|
344
|
+
"residual_phase_coherence",
|
|
345
|
+
"stability_weights",
|
|
346
|
+
"choose_master",
|
|
347
|
+
"boost_coherence_with_ps",
|
|
348
|
+
"compare_velocity_maps",
|
|
270
349
|
"InterferogramGenerator",
|
|
271
350
|
"InterferogramResult",
|
|
272
351
|
"PhaseUnwrapper",
|
|
@@ -289,12 +368,32 @@ __all__ = [
|
|
|
289
368
|
"despike_velocity",
|
|
290
369
|
"InterferogramPair",
|
|
291
370
|
"TimeSeriesResult",
|
|
292
|
-
"AtmosphericCorrector",
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
371
|
+
"AtmosphericCorrector",
|
|
372
|
+
"estimate_height_slopes_per_date",
|
|
373
|
+
"fit_height_dependence",
|
|
374
|
+
"structure_function",
|
|
375
|
+
"variance_reduction",
|
|
376
|
+
"GeometryNodes",
|
|
377
|
+
"PixelFrame",
|
|
378
|
+
"compute_geometry_nodes",
|
|
379
|
+
"apply_geometric_phase",
|
|
380
|
+
"heights_on_output_grid",
|
|
381
|
+
"AtmosphereError",
|
|
382
|
+
"GeometryProcessingError",
|
|
383
|
+
"UnwrapError",
|
|
384
|
+
"ModelLoadError",
|
|
385
|
+
"UnwrapDependencyError",
|
|
386
|
+
"LearnedUnwrapConfig",
|
|
387
|
+
"LearnedUnwrapper",
|
|
388
|
+
"LearnedUnwrapResult",
|
|
389
|
+
"UnwrapModel",
|
|
390
|
+
"load_unwrap_model",
|
|
391
|
+
"unwrap_diagnostics",
|
|
392
|
+
"unwrap_interferograms",
|
|
393
|
+
"HybridConfig",
|
|
394
|
+
"HybridUnwrapper",
|
|
395
|
+
"HybridUnwrapResult",
|
|
396
|
+
"tie_components",
|
|
298
397
|
"SLCExtractor",
|
|
299
398
|
"DataValidator",
|
|
300
399
|
"ValidationResult",
|
|
@@ -686,8 +686,15 @@ def compute_offset_field(
|
|
|
686
686
|
return grid_rows, grid_cols, offset_rows, offset_cols
|
|
687
687
|
|
|
688
688
|
|
|
689
|
-
def _sample_complex_imagette(data, center_row: float, center_col: float, size: int
|
|
689
|
+
def _sample_complex_imagette(data, center_row: float, center_col: float, size: int,
|
|
690
|
+
phase_ramp=None, row_offset: float = 0.0, col_offset: float = 0.0):
|
|
690
691
|
"""
|
|
692
|
+
With ``phase_ramp`` (a TOPS ramp, see resample_with_offset_field), the
|
|
693
|
+
neighbourhood is deramped before the bilinear interpolation and the
|
|
694
|
+
imagette is reramped at the sampled (full-scene) positions, so a
|
|
695
|
+
sub-pixel shift of a TOPS burst keeps its phase; ``row_offset`` and
|
|
696
|
+
``col_offset`` are `data`'s origin in full-scene coordinates.
|
|
697
|
+
|
|
691
698
|
Extract a `size` x `size` complex imagette centered at an
|
|
692
699
|
arbitrary (possibly sub-pixel, possibly out-of-bounds) position via
|
|
693
700
|
bilinear interpolation. Positions outside `data` read as 0+0j
|
|
@@ -704,6 +711,25 @@ def _sample_complex_imagette(data, center_row: float, center_col: float, size: i
|
|
|
704
711
|
row_idx = row_idx - half + center_row
|
|
705
712
|
col_idx = col_idx - half + center_col
|
|
706
713
|
|
|
714
|
+
if phase_ramp is not None:
|
|
715
|
+
h, w = data.shape
|
|
716
|
+
r0 = max(0, int(np.floor(row_idx.min())) - 1)
|
|
717
|
+
r1 = min(h, int(np.ceil(row_idx.max())) + 2)
|
|
718
|
+
c0 = max(0, int(np.floor(col_idx.min())) - 1)
|
|
719
|
+
c1 = min(w, int(np.ceil(col_idx.max())) + 2)
|
|
720
|
+
if r1 <= r0 or c1 <= c0:
|
|
721
|
+
return np.zeros((size, size), dtype=np.complex64)
|
|
722
|
+
block = data[r0:r1, c0:c1].astype(np.complex128)
|
|
723
|
+
rows_g = np.arange(r0, r1, dtype=np.float64)[:, None] + row_offset
|
|
724
|
+
cols_g = np.arange(c0, c1, dtype=np.float64)[None, :] + col_offset
|
|
725
|
+
block = block * np.exp(-1j * phase_ramp(rows_g, cols_g))
|
|
726
|
+
coords = [row_idx - r0, col_idx - c0]
|
|
727
|
+
out = map_coordinates(block.real, coords, order=1, mode="constant", cval=0.0) + 1j * map_coordinates(
|
|
728
|
+
block.imag, coords, order=1, mode="constant", cval=0.0
|
|
729
|
+
)
|
|
730
|
+
out = out * np.exp(1j * phase_ramp(row_idx + row_offset, col_idx + col_offset))
|
|
731
|
+
return out.astype(np.complex64)
|
|
732
|
+
|
|
707
733
|
real = map_coordinates(
|
|
708
734
|
data.real, [row_idx, col_idx], order=1, mode="constant", cval=0.0
|
|
709
735
|
)
|
|
@@ -761,6 +787,8 @@ def refine_offsets_by_coherence(
|
|
|
761
787
|
coarse_search_radius: int = 4,
|
|
762
788
|
fine_search_radius: float = 1.5,
|
|
763
789
|
coherence_threshold: float = 0.3,
|
|
790
|
+
ref_phase_ramp=None,
|
|
791
|
+
sec_phase_ramp=None,
|
|
764
792
|
):
|
|
765
793
|
"""
|
|
766
794
|
Refine an orbit/DEM-derived offset field against the actual image
|
|
@@ -864,7 +892,8 @@ def refine_offsets_by_coherence(
|
|
|
864
892
|
continue
|
|
865
893
|
|
|
866
894
|
ref_imagette = _sample_complex_imagette(
|
|
867
|
-
ref_complex, ref_local_row, ref_local_col, window
|
|
895
|
+
ref_complex, ref_local_row, ref_local_col, window,
|
|
896
|
+
phase_ramp=ref_phase_ramp, row_offset=ref_row_offset, col_offset=ref_col_offset,
|
|
868
897
|
)
|
|
869
898
|
|
|
870
899
|
# --- Coarse stage: integer-pixel cross-correlation search ---
|
|
@@ -872,7 +901,8 @@ def refine_offsets_by_coherence(
|
|
|
872
901
|
for dr in range(-coarse_search_radius, coarse_search_radius + 1):
|
|
873
902
|
for dc in range(-coarse_search_radius, coarse_search_radius + 1):
|
|
874
903
|
sec_imagette = _sample_complex_imagette(
|
|
875
|
-
sec_complex, sec_local_row + dr, sec_local_col + dc, window
|
|
904
|
+
sec_complex, sec_local_row + dr, sec_local_col + dc, window,
|
|
905
|
+
phase_ramp=sec_phase_ramp, row_offset=sec_row_offset, col_offset=sec_col_offset,
|
|
876
906
|
)
|
|
877
907
|
coh = _imagette_coherence(ref_imagette, sec_imagette)
|
|
878
908
|
if coh > best_coh:
|
|
@@ -883,7 +913,8 @@ def refine_offsets_by_coherence(
|
|
|
883
913
|
shift, _row0=sec_local_row + best_dr, _col0=sec_local_col + best_dc
|
|
884
914
|
):
|
|
885
915
|
sec_imagette = _sample_complex_imagette(
|
|
886
|
-
sec_complex, _row0 + shift[0], _col0 + shift[1], window
|
|
916
|
+
sec_complex, _row0 + shift[0], _col0 + shift[1], window,
|
|
917
|
+
phase_ramp=sec_phase_ramp, row_offset=sec_row_offset, col_offset=sec_col_offset,
|
|
887
918
|
)
|
|
888
919
|
return -_imagette_coherence(ref_imagette, sec_imagette)
|
|
889
920
|
|
|
@@ -1343,6 +1374,8 @@ def resample_with_offset_field(
|
|
|
1343
1374
|
ref_col_offset: float = 0.0,
|
|
1344
1375
|
sec_row_offset: float = 0.0,
|
|
1345
1376
|
sec_col_offset: float = 0.0,
|
|
1377
|
+
phase_ramp=None,
|
|
1378
|
+
output_shape=None,
|
|
1346
1379
|
):
|
|
1347
1380
|
"""
|
|
1348
1381
|
Resample a complex array using a real, per-pixel offset field
|
|
@@ -1370,6 +1403,26 @@ def resample_with_offset_field(
|
|
|
1370
1403
|
offset than the reference crop.
|
|
1371
1404
|
All four default to 0 for already-full-scene
|
|
1372
1405
|
(uncropped) data.
|
|
1406
|
+
phase_ramp: Optional callable ``phase_ramp(rows, cols)`` giving
|
|
1407
|
+
the azimuth phase ramp (rad) that `data` carries at
|
|
1408
|
+
full-scene secondary positions -- for Sentinel-1
|
|
1409
|
+
TOPS bursts, :meth:`pygeofetch.insar.tops.TopsRamp.phase`.
|
|
1410
|
+
When given, `data` is deramped (multiplied by
|
|
1411
|
+
exp(-i ramp)) before interpolation and the result is
|
|
1412
|
+
reramped with the ramp at the positions sampled. A
|
|
1413
|
+
TOPS burst's Doppler centroid sweeps by ~5 kHz, ten
|
|
1414
|
+
times the azimuth sampling rate, so interpolating it
|
|
1415
|
+
without deramping corrupts its phase (fringes along
|
|
1416
|
+
azimuth that jump at burst edges) and its coherence.
|
|
1417
|
+
`data` itself is not modified.
|
|
1418
|
+
output_shape: (rows, cols) of the REFERENCE crop, i.e. of the
|
|
1419
|
+
grid to resample onto. Defaults to `data.shape`,
|
|
1420
|
+
which is only right when both crops have the same
|
|
1421
|
+
size: the output rows/cols are reference-local
|
|
1422
|
+
coordinates. With crops of different sizes the old
|
|
1423
|
+
default produced an array of the secondary's size,
|
|
1424
|
+
which the caller then zoomed to the reference's
|
|
1425
|
+
size -- stretching the secondary along azimuth.
|
|
1373
1426
|
|
|
1374
1427
|
Returns:
|
|
1375
1428
|
The resampled complex array, on the reference image's grid.
|
|
@@ -1396,10 +1449,19 @@ def resample_with_offset_field(
|
|
|
1396
1449
|
# halves the footprint on its own; chunking bounds peak memory to
|
|
1397
1450
|
# one row-block regardless of total crop size.
|
|
1398
1451
|
|
|
1399
|
-
h, w = data.shape
|
|
1452
|
+
h, w = (int(output_shape[0]), int(output_shape[1])) if output_shape is not None else data.shape
|
|
1400
1453
|
# One complex64 output filled tile by tile. The previous version built two float32 planes and then
|
|
1401
1454
|
# (out_real + 1j * out_imag).astype(complex64), which held about four extra full-size arrays at the end.
|
|
1402
1455
|
out = np.empty((h, w), dtype=np.complex64)
|
|
1456
|
+
if phase_ramp is not None:
|
|
1457
|
+
# Deramp a copy of the secondary on its own grid (baseband), in row chunks.
|
|
1458
|
+
work = np.array(data, dtype=np.complex64, copy=True)
|
|
1459
|
+
sec_cols_global = np.arange(work.shape[1], dtype=np.float64)[None, :] + sec_col_offset
|
|
1460
|
+
for r0 in range(0, work.shape[0], 512):
|
|
1461
|
+
r1 = min(work.shape[0], r0 + 512)
|
|
1462
|
+
rows_global = np.arange(r0, r1, dtype=np.float64)[:, None] + sec_row_offset
|
|
1463
|
+
work[r0:r1] *= np.exp(-1j * phase_ramp(rows_global, sec_cols_global)).astype(np.complex64)
|
|
1464
|
+
data = work
|
|
1403
1465
|
data_real = data.real
|
|
1404
1466
|
data_imag = data.imag
|
|
1405
1467
|
|
|
@@ -1448,6 +1510,10 @@ def resample_with_offset_field(
|
|
|
1448
1510
|
mode="constant",
|
|
1449
1511
|
cval=0.0,
|
|
1450
1512
|
)
|
|
1513
|
+
if phase_ramp is not None:
|
|
1514
|
+
tile *= np.exp(
|
|
1515
|
+
1j * phase_ramp(sample_rows_2d + sec_row_offset, sample_cols_2d + sec_col_offset)
|
|
1516
|
+
).astype(np.complex64)
|
|
1451
1517
|
|
|
1452
1518
|
del sample_rows_2d, sample_cols_2d, offset_row, offset_col
|
|
1453
1519
|
|
|
@@ -612,6 +612,10 @@ class InterferogramGenerator:
|
|
|
612
612
|
# metadata cannot be parsed for either date (a real, logged,
|
|
613
613
|
# non-fatal degradation).
|
|
614
614
|
self._use_real_burst_processing = use_real_burst_processing
|
|
615
|
+
self._tops_ctx = None
|
|
616
|
+
# Part of every pair fingerprint: results saved before TOPS deramping (0) or before resampling onto the
|
|
617
|
+
# reference grid (1) are not reused.
|
|
618
|
+
self._tops_deramp_version = 2
|
|
615
619
|
# Automatic by default (None): on when the inputs exist, explicit
|
|
616
620
|
# True/False always respected. It used to be opt-in and silent, which
|
|
617
621
|
# left a full-width range ramp in every interferogram unless the caller
|
|
@@ -1384,12 +1388,22 @@ class InterferogramGenerator:
|
|
|
1384
1388
|
# structure as the shared row-coordinate system for
|
|
1385
1389
|
# comparing reference and secondary at the same real rows.
|
|
1386
1390
|
if self._esd_enabled:
|
|
1391
|
+
# Doppler separation of the two looks in the overlaps, from this swath's own annotation when the
|
|
1392
|
+
# TOPS parameters were parsed (~4.8 kHz for IW2, not the 5.2 kHz maximum); the published
|
|
1393
|
+
# constant otherwise. Positive, as the ESD estimator's sign convention expects.
|
|
1394
|
+
_ctx = getattr(self, "_tops_ctx", None)
|
|
1395
|
+
_df = None
|
|
1396
|
+
if _ctx is not None:
|
|
1397
|
+
_df = abs(_ctx["ref_ramp"].overlap_doppler_difference_hz())
|
|
1398
|
+
metadata["esd_delta_f_ovl_hz"] = _df
|
|
1399
|
+
_esd_kwargs = {} if _df is None or not (_df > 0) else {"delta_f_ovl_hz": _df}
|
|
1387
1400
|
esd_shift_s, per_overlap = estimate_esd_shift_per_burst_overlap(
|
|
1388
1401
|
ref_complex,
|
|
1389
1402
|
sec_complex,
|
|
1390
1403
|
ref_burst_info,
|
|
1391
1404
|
azimuth_time_interval_s,
|
|
1392
1405
|
row_offset=int(ref_row_off),
|
|
1406
|
+
**_esd_kwargs,
|
|
1393
1407
|
)
|
|
1394
1408
|
if esd_shift_s is not None:
|
|
1395
1409
|
esd_shift_px = esd_shift_s / azimuth_time_interval_s
|
|
@@ -1415,7 +1429,7 @@ class InterferogramGenerator:
|
|
|
1415
1429
|
try:
|
|
1416
1430
|
resid_s, _ = estimate_esd_shift_per_burst_overlap(
|
|
1417
1431
|
ref_complex, sec_complex, ref_burst_info, azimuth_time_interval_s,
|
|
1418
|
-
row_offset=int(ref_row_off),
|
|
1432
|
+
row_offset=int(ref_row_off), **_esd_kwargs,
|
|
1419
1433
|
)
|
|
1420
1434
|
metadata["esd_residual_after_correction_px"] = (
|
|
1421
1435
|
None if resid_s is None else float(resid_s / azimuth_time_interval_s)
|
|
@@ -1548,7 +1562,8 @@ class InterferogramGenerator:
|
|
|
1548
1562
|
_FINGERPRINT_EXCLUDED_ARGS = frozenset({
|
|
1549
1563
|
"self", "chunk_rows", "use_chunked_processing", "output_dir", "resume", "save_visualizations",
|
|
1550
1564
|
"min_coreg_gcps", "max_coreg_rms_px", "max_burst_sync_ms"})
|
|
1551
|
-
_FINGERPRINT_EXCLUDED_SETTINGS = frozenset({"_use_gpu", "_chunk_size", "_on_error", "_coherence_backend", "_memory_guard"
|
|
1565
|
+
_FINGERPRINT_EXCLUDED_SETTINGS = frozenset({"_use_gpu", "_chunk_size", "_on_error", "_coherence_backend", "_memory_guard",
|
|
1566
|
+
"_tops_ctx"})
|
|
1552
1567
|
|
|
1553
1568
|
def _pair_fingerprint(self, arguments: Dict[str, Any]) -> Dict[str, Any]:
|
|
1554
1569
|
"""What a saved result depends on, from the process_pair arguments (all of them, defaults included)."""
|
|
@@ -1854,6 +1869,8 @@ class InterferogramGenerator:
|
|
|
1854
1869
|
", ".join(_changed) or "unknown")
|
|
1855
1870
|
|
|
1856
1871
|
quality = QualityRecord(on_error=self._on_error)
|
|
1872
|
+
# TOPS deramp context of this pair (set by _orbit_based_coregister, used by the ESD shift).
|
|
1873
|
+
self._tops_ctx = None
|
|
1857
1874
|
|
|
1858
1875
|
# Resolve chunk size: explicit param > instance default > None (full)
|
|
1859
1876
|
effective_chunk = chunk_rows if chunk_rows is not None else self._chunk_size
|
|
@@ -1946,6 +1963,11 @@ class InterferogramGenerator:
|
|
|
1946
1963
|
|
|
1947
1964
|
# ── Step 1: Coregistration ──
|
|
1948
1965
|
if coregistration_method == "raster_collocation":
|
|
1966
|
+
logger.warning(
|
|
1967
|
+
"coregistration_method='raster_collocation' resamples the secondary without TOPS deramping: "
|
|
1968
|
+
"for Sentinel-1 IW/EW bursts this corrupts the phase (fringes along azimuth, jumps at burst "
|
|
1969
|
+
"edges). Use coregistration_method='orbit_dem' for interferometry."
|
|
1970
|
+
)
|
|
1949
1971
|
ref_has_geocoding = (
|
|
1950
1972
|
profile.get("crs") is not None and profile.get("transform") is not None
|
|
1951
1973
|
)
|
|
@@ -2557,6 +2579,12 @@ class InterferogramGenerator:
|
|
|
2557
2579
|
"chunk_rows": effective_chunk,
|
|
2558
2580
|
"esd_per_overlap_px": burst_metadata.get("esd_per_overlap_px"),
|
|
2559
2581
|
"esd_overlap_std_px": burst_metadata.get("esd_overlap_std_px"),
|
|
2582
|
+
"tops_deramp": coreg_metadata.get("tops_deramp", False),
|
|
2583
|
+
"tops_deramp_reason": coreg_metadata.get("tops_deramp_reason"),
|
|
2584
|
+
"tops_sign": coreg_metadata.get("tops_sign"),
|
|
2585
|
+
"tops_sign_check_secondary": coreg_metadata.get("tops_sign_check_secondary"),
|
|
2586
|
+
"tops_doppler_rate_hz_s": coreg_metadata.get("tops_doppler_rate_hz_s"),
|
|
2587
|
+
"esd_delta_f_ovl_hz": burst_metadata.get("esd_delta_f_ovl_hz"),
|
|
2560
2588
|
"esd_residual_after_correction_px": burst_metadata.get("esd_residual_after_correction_px"),
|
|
2561
2589
|
"quality": quality.to_dict(),
|
|
2562
2590
|
"quality_grade": quality.grade,
|
|
@@ -2820,6 +2848,36 @@ class InterferogramGenerator:
|
|
|
2820
2848
|
b = src.bounds
|
|
2821
2849
|
sample_bounds = (b.left, b.bottom, b.right, b.top)
|
|
2822
2850
|
|
|
2851
|
+
# TOPS (IW/EW) bursts must be deramped before any sub-pixel interpolation or shift: their Doppler
|
|
2852
|
+
# centroid sweeps ~5 kHz through each burst, so interpolating them directly corrupts the phase
|
|
2853
|
+
# (fringes along azimuth, jumps at burst edges) and biases the cross-correlation offsets.
|
|
2854
|
+
ref_ramp = sec_ramp = None
|
|
2855
|
+
tops_meta: Dict[str, Any] = {"tops_deramp": False}
|
|
2856
|
+
try:
|
|
2857
|
+
from pygeofetch.insar.tops import parse_tops_ramp
|
|
2858
|
+
|
|
2859
|
+
ref_ramp = parse_tops_ramp(reference_safe_zip, member_hint=ref_swath_hint)
|
|
2860
|
+
sec_ramp = parse_tops_ramp(secondary_safe_zip, member_hint=sec_swath_hint)
|
|
2861
|
+
sec_scores = sec_ramp.calibrate_sign(sec_complex, sec_row_off, sec_col_off)
|
|
2862
|
+
ref_scores = ref_ramp.calibrate_sign(ref_complex, ref_row_off, ref_col_off)
|
|
2863
|
+
tops_meta = {
|
|
2864
|
+
"tops_deramp": True,
|
|
2865
|
+
"tops_sign": sec_ramp.sign,
|
|
2866
|
+
"tops_sign_check_secondary": {k: (float(v) if isinstance(v, (int, float)) else v)
|
|
2867
|
+
for k, v in sec_scores.items()},
|
|
2868
|
+
"tops_sign_check_reference": {k: (float(v) if isinstance(v, (int, float)) else v)
|
|
2869
|
+
for k, v in ref_scores.items()},
|
|
2870
|
+
"tops_doppler_rate_hz_s": ref_ramp.doppler_rate_hz_s(),
|
|
2871
|
+
"tops_overlap_doppler_difference_hz": ref_ramp.overlap_doppler_difference_hz(),
|
|
2872
|
+
}
|
|
2873
|
+
if ref_ramp.sign != sec_ramp.sign:
|
|
2874
|
+
logger.warning("TOPS deramp sign differs between reference (%+d) and secondary (%+d)",
|
|
2875
|
+
int(ref_ramp.sign), int(sec_ramp.sign))
|
|
2876
|
+
except Exception as exc: # stripmap, or annotation without the TOPS fields
|
|
2877
|
+
ref_ramp = sec_ramp = None
|
|
2878
|
+
tops_meta = {"tops_deramp": False, "tops_deramp_reason": str(exc)}
|
|
2879
|
+
logger.info("No TOPS deramping for this pair (%s)", exc)
|
|
2880
|
+
|
|
2823
2881
|
grid_rows, grid_cols, off_rows, off_cols = compute_offset_field_from_dem(
|
|
2824
2882
|
ref_geom,
|
|
2825
2883
|
ref_orbit,
|
|
@@ -2867,6 +2925,8 @@ class InterferogramGenerator:
|
|
|
2867
2925
|
ref_col_offset=ref_col_off,
|
|
2868
2926
|
sec_row_offset=sec_row_off,
|
|
2869
2927
|
sec_col_offset=sec_col_off,
|
|
2928
|
+
ref_phase_ramp=None if ref_ramp is None else ref_ramp.phase,
|
|
2929
|
+
sec_phase_ramp=None if sec_ramp is None else sec_ramp.phase,
|
|
2870
2930
|
**refine_kwargs,
|
|
2871
2931
|
)
|
|
2872
2932
|
)
|
|
@@ -2928,6 +2988,7 @@ class InterferogramGenerator:
|
|
|
2928
2988
|
"representative_row_offset_px": representative_row_offset,
|
|
2929
2989
|
"coreg_mode": coreg_quality.mode,
|
|
2930
2990
|
"n_geometry_points": coreg_quality.n_geometry_points,
|
|
2991
|
+
**tops_meta,
|
|
2931
2992
|
}
|
|
2932
2993
|
|
|
2933
2994
|
if ref_row_off or ref_col_off or sec_row_off or sec_col_off:
|
|
@@ -2954,9 +3015,18 @@ class InterferogramGenerator:
|
|
|
2954
3015
|
ref_col_offset=ref_col_off,
|
|
2955
3016
|
sec_row_offset=sec_row_off,
|
|
2956
3017
|
sec_col_offset=sec_col_off,
|
|
3018
|
+
phase_ramp=None if sec_ramp is None else sec_ramp.phase,
|
|
3019
|
+
output_shape=ref_complex.shape, # resample onto the reference grid, whatever the crop sizes
|
|
2957
3020
|
)
|
|
2958
3021
|
if resampled.shape != ref_complex.shape:
|
|
2959
3022
|
resampled = self._resample_to_reference(resampled, ref_complex.shape)
|
|
3023
|
+
elif sec_ramp is not None:
|
|
3024
|
+
# Remember where the resampled secondary's samples came from, so a later azimuth shift (ESD)
|
|
3025
|
+
# can deramp and reramp it with the right phase.
|
|
3026
|
+
self._tops_ctx = {
|
|
3027
|
+
"ref_ramp": ref_ramp, "sec_ramp": sec_ramp, "row_fn": row_fn, "col_fn": col_fn,
|
|
3028
|
+
"ref_row_off": float(ref_row_off), "ref_col_off": float(ref_col_off),
|
|
3029
|
+
}
|
|
2960
3030
|
return resampled, coreg_metadata
|
|
2961
3031
|
|
|
2962
3032
|
except Exception as exc:
|
|
@@ -3195,6 +3265,25 @@ class InterferogramGenerator:
|
|
|
3195
3265
|
the whole-array ones. Written into ``data`` when that is a plain writable complex64 array of its own
|
|
3196
3266
|
(every caller replaces its variable with the return value); otherwise into a new array."""
|
|
3197
3267
|
np = self._np()
|
|
3268
|
+
ctx = getattr(self, "_tops_ctx", None)
|
|
3269
|
+
if ctx is not None:
|
|
3270
|
+
# TOPS: deramp with the phase the resampled secondary carries, shift at baseband, reramp at the
|
|
3271
|
+
# shifted positions (see pygeofetch.insar.tops.shift_azimuth_tops). A plain Fourier shift of a
|
|
3272
|
+
# TOPS burst moves its amplitude but leaves a 2 pi f_DC * shift phase error that ramps through
|
|
3273
|
+
# every burst.
|
|
3274
|
+
from pygeofetch.insar.tops import shift_azimuth_tops
|
|
3275
|
+
|
|
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)
|
|
3198
3287
|
h, w = data.shape
|
|
3199
3288
|
freq = np.fft.fftfreq(h).reshape(-1, 1)
|
|
3200
3289
|
ramp = np.exp(-2j * np.pi * freq * shift_px)
|