PyGeoFetch 2.7.0.8__tar.gz → 2.7.0.9__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.8 → pygeofetch-2.7.0.9}/CHANGELOG.md +7 -7
- {pygeofetch-2.7.0.8/pygeofetch.egg-info → pygeofetch-2.7.0.9}/PKG-INFO +2 -2
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/README.md +1 -1
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/__init__.py +1 -1
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/interferogram.py +285 -46
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/workflow.py +213 -7
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/meta.yaml +1 -1
- pygeofetch-2.7.0.9/pygeofetch/sar/extraction.py +720 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9/pygeofetch.egg-info}/PKG-INFO +2 -2
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch.egg-info/SOURCES.txt +0 -39
- pygeofetch-2.7.0.9/pygeofetch.egg-info/top_level.txt +1 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pyproject.toml +1 -1
- pygeofetch-2.7.0.8/pygeofetch/sar/extraction.py +0 -193
- pygeofetch-2.7.0.8/pygeofetch.egg-info/top_level.txt +0 -7
- pygeofetch-2.7.0.8/pygeofetch_crop_fix_part8/pygeofetch/insar/coregister.py +0 -1659
- pygeofetch-2.7.0.8/pygeofetch_crop_fix_part8/pygeofetch/insar/esd.py +0 -752
- pygeofetch-2.7.0.8/pygeofetch_crop_fix_part8/pygeofetch/insar/extraction.py +0 -986
- pygeofetch-2.7.0.8/pygeofetch_crop_fix_part8/pygeofetch/insar/interferogram.py +0 -3729
- pygeofetch-2.7.0.8/pygeofetch_crop_fix_part8/pygeofetch/insar/tops.py +0 -416
- pygeofetch-2.7.0.8/pygeofetch_crop_fix_part8/tests/insar/test_crop_offset.py +0 -85
- pygeofetch-2.7.0.8/pygeofetch_crop_fix_part8/tests/insar/test_tops_deramp.py +0 -236
- pygeofetch-2.7.0.8/pygeofetch_part9/pygeofetch/insar/coregister.py +0 -1659
- pygeofetch-2.7.0.8/pygeofetch_part9/pygeofetch/insar/esd.py +0 -752
- pygeofetch-2.7.0.8/pygeofetch_part9/pygeofetch/insar/extraction.py +0 -986
- pygeofetch-2.7.0.8/pygeofetch_part9/pygeofetch/insar/interferogram.py +0 -3741
- pygeofetch-2.7.0.8/pygeofetch_part9/pygeofetch/insar/tops.py +0 -416
- pygeofetch-2.7.0.8/pygeofetch_part9/tests/insar/test_coreg_default.py +0 -58
- pygeofetch-2.7.0.8/pygeofetch_part9/tests/insar/test_crop_offset.py +0 -85
- pygeofetch-2.7.0.8/pygeofetch_part9/tests/insar/test_tops_deramp.py +0 -236
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part4/files/pygeofetch/insar/coregister.py +0 -1648
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part4/files/pygeofetch/insar/interferogram.py +0 -3583
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part4/files/pygeofetch/insar/tops.py +0 -374
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part4/files/tests/insar/_fake_safe.py +0 -70
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part4/files/tests/insar/_tops_sim.py +0 -93
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part4/files/tests/insar/test_tops_deramp.py +0 -177
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part5/files/pygeofetch/insar/coregister.py +0 -1648
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part5/files/pygeofetch/insar/interferogram.py +0 -3611
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part5/files/pygeofetch/insar/tops.py +0 -374
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part5/files/tests/insar/_fake_safe.py +0 -70
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part5/files/tests/insar/_tops_sim.py +0 -93
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part5/files/tests/insar/test_tops_deramp.py +0 -177
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part6/pygeofetch/insar/esd.py +0 -752
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part6/pygeofetch/insar/interferogram.py +0 -3684
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part6/pygeofetch/insar/tops.py +0 -416
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part6/tests/insar/_fake_safe.py +0 -70
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part6/tests/insar/_tops_sim.py +0 -93
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part6/tests/insar/test_tops_deramp.py +0 -218
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part7/pygeofetch/insar/esd.py +0 -752
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part7/pygeofetch/insar/interferogram.py +0 -3728
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part7/pygeofetch/insar/tops.py +0 -416
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part7/tests/insar/_fake_safe.py +0 -70
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part7/tests/insar/_tops_sim.py +0 -93
- pygeofetch-2.7.0.8/pygeofetch_tops_fix_part7/tests/insar/test_tops_deramp.py +0 -236
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/LICENSE +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/MANIFEST.in +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/auth_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/classify_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/config_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/download_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/index_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/main.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/monitor_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/multisensor_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/optical_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/pipeline_process_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/postprocess_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/preprocess_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/sar_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/scale_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/cli/search_commands.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/config/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/config/defaults.yaml +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/config/settings.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/authenticator.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/cache_manager.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/chunked_processor.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/data_formats/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/data_formats/geoparquet_io.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/data_formats/zarr_io.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/data_organizer.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/downloader.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/engine.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/logging.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/monitor.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/orbits.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/progress.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/scheduler.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/searcher.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/core/state.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/geotech/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/geotech/risk_mapper.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/advanced_safeguards.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/analysis.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/annotation.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/atmosphere.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/atmosphere_core.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/auto_fallback.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/coregister.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/deburst.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/errors.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/esd.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/extraction.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/feasibility.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/flatearth.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/geolocation.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/gpu.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/hybrid_unwrap.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/ionosphere.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/learned_unwrap.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/logs.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/memory.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/network_thinning.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/offset_geometry.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/offset_tracking.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/orbits.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/preflight.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/provenance.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/ps_eval.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/ps_gnn_pygeofetch_selector.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/ps_selection.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/ps_stack.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/radar_geometry.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/stack_selection.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/synthetic.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/timeseries.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/topo.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/tops.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/unwrap.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/validate.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/insar/visualize.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/models/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/models/download_task.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/models/satellite_data.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/models/search_query.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/models/stream_options.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/models/user_auth.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/multisensor/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/multisensor/_init.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/multisensor/dem_differencing.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/multisensor/flood_mapping.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/multisensor/insar_optical_fusion.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/multisensor/terrain_corrected_change.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/multisensor/vegetation_disturbance.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/optical/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/optical/offset_tracking.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/base.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/batch.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/classification.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/indices.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/pipeline.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/postprocessor.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/preprocessor.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/sar.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processing/uq_exporter.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processor/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processor/indices.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processor/landsat.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processor/loader.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processor/stacker.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/processor/timeseries.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/airbus_oneatlas.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/alaska_satellite_facility.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/aws_earth.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/base.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/copernicus.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/copernicus_nodes.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/digitalglobe.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/earth_explorer_additional.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/element84.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/eodag_provider.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/esa_scihub.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/geoserver_generic.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/google_earth_engine.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/inpe_cbers.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/isro_bhuvan.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/jaxa_earth.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/maxar_gbdx.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/nasa_earthdata.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/nasa_earthdata_cloud.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/noaa_big_data.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/opentopography.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/planet.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/planetary_computer.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/sentinel_hub.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/terrabotics.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/providers/usgs.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/sar/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/sar/_native.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/sar/_ost.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/sar/_sarxarray.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/sar/math.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/sar/pipelines.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/sar/processor.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/stac_compute/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/stac_compute/burst_streaming.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/stac_compute/cog_streamer.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/stac_compute/lightweight_prefetch.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/stac_compute/window_calculator.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/streaming/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/streaming/scene.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/streaming/windowed.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/file_utils.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/gcp_recovery.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/geo_utils.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/geocoding.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/logging_setup.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/retry_handler.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/sar_math.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/utils/validators.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/validation/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/validation/optical_validator.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/viz/__init__.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/viz/insar.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/viz/map.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch/viz/plot.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch.egg-info/dependency_links.txt +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch.egg-info/entry_points.txt +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch.egg-info/not-zip-safe +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/pygeofetch.egg-info/requires.txt +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/setup.cfg +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_advanced_safeguards.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_airbus_oneatlas.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_alaska_satellite_facility.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_atmospheric_circular_regression.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_auto_fallback.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_auto_fallback_fixed.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_build_sbas_network-new.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_build_sbas_network.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_burst_metadata.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_burst_processing_integration.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_burst_sync_large_gap.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_burst_sync_prescreening.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_burst_synchronization.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_circuit_breaker_wiring.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_cli_optical_validation.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_copernicus_nodes.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_coregister_integration.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_coregister_upgrades (1).py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_coregister_upgrades.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_credential_encryption.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_data_organizer.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_dem_differencing_pipeline.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_digitalglobe.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_earth_explorer_additional.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_era5_atmospheric_correction.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_esa_scihub.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_extraction.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_flat_earth_phase.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_flood_mapping_pipeline.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_gcp_reprojection.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_geology_indices_and_rvi_fix.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_geoserver_generic.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_google_earth_engine.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_inpe_cbers.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_insar.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_insar_optical_fusion_pipeline.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_ionosphere.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_isro_bhuvan.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_jaxa_earth.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_lightweight_prefetch.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_map_preview_consolidation.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_models.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_monitor.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_nasa_earthdata_cloud_s3_fix.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_nasa_earthdata_public_search.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_network_thinning.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_noaa_big_data.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_offset_tracking.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_opentopography_pointcloud_usgs.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_optical_offset_tracking.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_optical_validation_wiring.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_optical_validator.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_optical_validator_stac.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_pgv_integration_contract.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_pipeline_process_export.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_planet_asset_type_fix.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_preflight_gate.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_preflight_quiet.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_preflight_spatial_baseline.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_provider_geometry_audit.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_provider_scene_disambiguation.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_providers.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_ps_selection.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_raster_collocation_integration.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_reference_pixel_and_despike.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_risk_mapper.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_risk_mapping.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_sar_pipelines.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_screen_stack_orchestration.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_search_download.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_sentinel_hub_catalog_fix.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_sign_convention.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_stack_selection_consolidation.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_state.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_strain_and_fusion.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_streaming.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_terrain_corrected_change_pipeline.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_topo_r2_bug.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_uq_exporter.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_utils.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_vegetation_disturbance_pipeline.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/tests/test_viz_plot.py +0 -0
- {pygeofetch-2.7.0.8 → pygeofetch-2.7.0.9}/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.9.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.9.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.9] — 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.9.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.9.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.9.4`**, dated
|
|
410
|
+
2026-07-29 and 2026-07-12. **2.7.0.9.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.9
|
|
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.9.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.9.1},
|
|
233
233
|
doi = {10.5281/zenodo.22087230},
|
|
234
234
|
url = {https://doi.org/10.5281/zenodo.22087230}
|
|
235
235
|
}
|
|
@@ -202,6 +202,138 @@ def make_fingerprint(arguments: Dict[str, Any], settings: Dict[str, Any]) -> Dic
|
|
|
202
202
|
return body
|
|
203
203
|
|
|
204
204
|
|
|
205
|
+
# ──────────────────────────────────────────────────────────────────────────
|
|
206
|
+
# Streaming cleanup (verify-then-delete) support for process_pairs.
|
|
207
|
+
#
|
|
208
|
+
# These helpers never touch the InSAR maths: they only inspect what
|
|
209
|
+
# process_pair() has already saved and decide when an input scene is no
|
|
210
|
+
# longer needed.
|
|
211
|
+
# ──────────────────────────────────────────────────────────────────────────
|
|
212
|
+
|
|
213
|
+
# process_pair() arguments that name scene data which streaming_cleanup may
|
|
214
|
+
# delete once every pair using them has been saved AND verified. Orbit files
|
|
215
|
+
# and the DEM are small / shared and are never deleted.
|
|
216
|
+
_CLEANUP_INPUT_KEYS = ("reference", "secondary", "reference_safe_zip", "secondary_safe_zip")
|
|
217
|
+
|
|
218
|
+
# Written next to result.json after a verified save. It records a fingerprint of
|
|
219
|
+
# everything EXCEPT the scene paths, so a later resume can still recognise the pair
|
|
220
|
+
# as current after those scenes have been deleted (the regular fingerprint hashes
|
|
221
|
+
# the input files themselves, and cannot be rebuilt once they are gone).
|
|
222
|
+
_CLEANUP_MARKER = "streaming_cleanup.json"
|
|
223
|
+
|
|
224
|
+
# A saved pair needs at least this share of valid coherence pixels to verify.
|
|
225
|
+
_MIN_VALID_FRACTION = 0.01
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
def _verify_saved_pair(folder: Union[str, Path]) -> "tuple[bool, str]":
|
|
229
|
+
"""
|
|
230
|
+
The *verify* step of verify-then-delete, run on what process_pair() saved.
|
|
231
|
+
|
|
232
|
+
Checks result.json parses, wrapped_phase/coherence/amplitude GeoTIFFs open
|
|
233
|
+
as one band with identical non-empty shape, interferogram_complex.npy has
|
|
234
|
+
that same shape, geometry.pkl exists when result.json says it should, the
|
|
235
|
+
coherence holds valid (>= 0) values that are not all zero, and the complex
|
|
236
|
+
interferogram is not empty. Reads are decimated, so it is cheap on large
|
|
237
|
+
pairs. Returns (ok, reason).
|
|
238
|
+
"""
|
|
239
|
+
import json
|
|
240
|
+
|
|
241
|
+
import numpy as np
|
|
242
|
+
|
|
243
|
+
folder = Path(folder)
|
|
244
|
+
try:
|
|
245
|
+
side = json.loads((folder / _RESULT_JSON).read_text())
|
|
246
|
+
except (OSError, ValueError) as exc:
|
|
247
|
+
return False, f"{_RESULT_JSON} unreadable ({exc})"
|
|
248
|
+
|
|
249
|
+
try:
|
|
250
|
+
import rasterio
|
|
251
|
+
|
|
252
|
+
shapes = {}
|
|
253
|
+
coh = None
|
|
254
|
+
for name in ("wrapped_phase", "coherence", "amplitude"):
|
|
255
|
+
with rasterio.open(folder / f"{name}.tif") as ds:
|
|
256
|
+
if ds.count != 1 or ds.height < 1 or ds.width < 1:
|
|
257
|
+
return False, f"{name}.tif has unexpected shape"
|
|
258
|
+
shapes[name] = (ds.height, ds.width)
|
|
259
|
+
if name == "coherence":
|
|
260
|
+
step = max(1, max(ds.height, ds.width) // 1024)
|
|
261
|
+
coh = ds.read(1, out_shape=(max(1, ds.height // step), max(1, ds.width // step)))
|
|
262
|
+
if len(set(shapes.values())) != 1:
|
|
263
|
+
return False, f"product shapes disagree: {shapes}"
|
|
264
|
+
shape = shapes["coherence"]
|
|
265
|
+
cplx = np.load(folder / "interferogram_complex.npy", mmap_mode="r")
|
|
266
|
+
if tuple(cplx.shape) != tuple(shape):
|
|
267
|
+
return False, f"interferogram_complex.npy shape {tuple(cplx.shape)} != {shape}"
|
|
268
|
+
step = max(1, max(shape) // 1024)
|
|
269
|
+
sample = np.asarray(cplx[::step, ::step])
|
|
270
|
+
if side.get("has_geometry") and not (folder / "geometry.pkl").is_file():
|
|
271
|
+
return False, "geometry.pkl is missing"
|
|
272
|
+
except Exception as exc: # noqa: BLE001 - any read failure means "not verified"
|
|
273
|
+
return False, f"could not read saved products ({exc})"
|
|
274
|
+
|
|
275
|
+
valid = np.isfinite(coh) & (coh >= 0)
|
|
276
|
+
if valid.mean() < _MIN_VALID_FRACTION:
|
|
277
|
+
return False, f"only {valid.mean():.2%} valid coherence pixels"
|
|
278
|
+
if not np.any(coh[valid] > 0):
|
|
279
|
+
return False, "coherence is all zero"
|
|
280
|
+
if not np.any(np.isfinite(sample) & (np.abs(sample) > 0)):
|
|
281
|
+
return False, "interferogram is empty"
|
|
282
|
+
return True, "ok"
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
def _write_cleanup_marker(folder: Union[str, Path], params_hash: str) -> None:
|
|
286
|
+
"""Atomically record the scene-independent fingerprint of a verified pair."""
|
|
287
|
+
import json
|
|
288
|
+
|
|
289
|
+
folder = Path(folder)
|
|
290
|
+
tmp = folder / (_CLEANUP_MARKER + ".tmp")
|
|
291
|
+
tmp.write_text(json.dumps({"params_hash": params_hash, "pipeline_version": PIPELINE_VERSION}))
|
|
292
|
+
tmp.replace(folder / _CLEANUP_MARKER)
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
def _read_cleanup_marker(folder: Union[str, Path]) -> Optional[Dict[str, Any]]:
|
|
296
|
+
import json
|
|
297
|
+
|
|
298
|
+
try:
|
|
299
|
+
return json.loads((Path(folder) / _CLEANUP_MARKER).read_text())
|
|
300
|
+
except (OSError, ValueError):
|
|
301
|
+
return None
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
def _delete_input(path: str, protect: Path) -> bool:
|
|
305
|
+
"""
|
|
306
|
+
Delete one input scene file, then its parent folder if that is now empty.
|
|
307
|
+
|
|
308
|
+
Directories are never removed recursively (an input given as a folder is
|
|
309
|
+
left alone with a warning), nothing inside ``protect`` (the results
|
|
310
|
+
folder) is touched, and a failure only logs: the pair's results are
|
|
311
|
+
already safe on disk.
|
|
312
|
+
"""
|
|
313
|
+
import os
|
|
314
|
+
|
|
315
|
+
p = Path(path)
|
|
316
|
+
try:
|
|
317
|
+
if not p.exists():
|
|
318
|
+
return False
|
|
319
|
+
if p.is_dir():
|
|
320
|
+
logger.warning("streaming_cleanup: %s is a directory; not deleting it", p)
|
|
321
|
+
return False
|
|
322
|
+
if protect.resolve() in p.resolve().parents:
|
|
323
|
+
logger.warning("streaming_cleanup: %s is inside the results folder; not deleting it", p)
|
|
324
|
+
return False
|
|
325
|
+
p.unlink()
|
|
326
|
+
logger.info("streaming_cleanup: deleted %s", p.name)
|
|
327
|
+
try:
|
|
328
|
+
os.rmdir(p.parent) # succeeds only when the folder is empty
|
|
329
|
+
except OSError:
|
|
330
|
+
pass
|
|
331
|
+
return True
|
|
332
|
+
except OSError as exc:
|
|
333
|
+
logger.warning("streaming_cleanup: could not delete %s (%s)", p, exc)
|
|
334
|
+
return False
|
|
335
|
+
|
|
336
|
+
|
|
205
337
|
@dataclass
|
|
206
338
|
class InterferogramResult:
|
|
207
339
|
"""Result of interferogram formation for one SLC pair."""
|
|
@@ -1644,6 +1776,40 @@ class InterferogramGenerator:
|
|
|
1644
1776
|
return saved.get("hash") == self.pair_fingerprint(
|
|
1645
1777
|
reference_date=reference_date, secondary_date=secondary_date, **process_pair_kwargs)["hash"]
|
|
1646
1778
|
|
|
1779
|
+
def _pair_params_hash(self, kw: Dict[str, Any]) -> str:
|
|
1780
|
+
"""Fingerprint hash of a pair's dates, settings and non-scene inputs (orbit files, DEM, options),
|
|
1781
|
+
deliberately excluding the scene paths that streaming_cleanup deletes. See _CLEANUP_MARKER."""
|
|
1782
|
+
import inspect
|
|
1783
|
+
|
|
1784
|
+
bound = inspect.signature(self.process_pair).bind(**kw)
|
|
1785
|
+
bound.apply_defaults()
|
|
1786
|
+
args = {k: v for k, v in bound.arguments.items() if k not in _CLEANUP_INPUT_KEYS}
|
|
1787
|
+
return self._pair_fingerprint(args)["hash"]
|
|
1788
|
+
|
|
1789
|
+
def _resume_state(self, out: Path, kw: Dict[str, Any], verify: bool):
|
|
1790
|
+
"""Decide whether one pair can be skipped. Returns (current, reason, via_marker).
|
|
1791
|
+
|
|
1792
|
+
The regular fingerprint check is tried first. If it fails only because streaming_cleanup already
|
|
1793
|
+
deleted the scenes, the marker written at the time of cleanup is accepted instead, provided its
|
|
1794
|
+
scene-independent hash still matches. A pair is only called current when its saved products also
|
|
1795
|
+
verify (always when scenes are gone or verify=True; the plain resume path is unchanged)."""
|
|
1796
|
+
rd, sd = kw["reference_date"], kw["secondary_date"]
|
|
1797
|
+
folder = out / f"{rd}_{sd}"
|
|
1798
|
+
pair_kw = {k: v for k, v in kw.items() if k not in ("reference_date", "secondary_date")}
|
|
1799
|
+
current = self.is_pair_current(out, rd, sd, **pair_kw)
|
|
1800
|
+
via_marker = False
|
|
1801
|
+
if not current:
|
|
1802
|
+
scenes_gone = any(kw.get(k) is not None and not Path(str(kw[k])).exists()
|
|
1803
|
+
for k in _CLEANUP_INPUT_KEYS)
|
|
1804
|
+
marker = _read_cleanup_marker(folder) if scenes_gone else None
|
|
1805
|
+
if marker and marker.get("params_hash") == self._pair_params_hash(kw):
|
|
1806
|
+
current = via_marker = True
|
|
1807
|
+
if current and (verify or via_marker):
|
|
1808
|
+
ok, why = _verify_saved_pair(folder)
|
|
1809
|
+
if not ok:
|
|
1810
|
+
return False, f"saved products failed verification ({why})", via_marker
|
|
1811
|
+
return current, "", via_marker
|
|
1812
|
+
|
|
1647
1813
|
def process_pairs(
|
|
1648
1814
|
self,
|
|
1649
1815
|
pairs,
|
|
@@ -1651,6 +1817,7 @@ class InterferogramGenerator:
|
|
|
1651
1817
|
resume: bool = True,
|
|
1652
1818
|
keep_results: bool = False,
|
|
1653
1819
|
stop_on_error: bool = False,
|
|
1820
|
+
streaming_cleanup: bool = False,
|
|
1654
1821
|
**common_kwargs,
|
|
1655
1822
|
):
|
|
1656
1823
|
"""Process many pairs one after another, saving each under output_dir/<ref>_<sec>.
|
|
@@ -1659,72 +1826,144 @@ class InterferogramGenerator:
|
|
|
1659
1826
|
reference_date, secondary_date, ... ). common_kwargs apply to every pair; a pair's own dict wins.
|
|
1660
1827
|
resume: pairs whose folder already holds a complete save made with the same inputs and settings
|
|
1661
1828
|
are skipped before any SLC is opened (checked with the same fingerprint process_pair stores).
|
|
1829
|
+
With streaming_cleanup the saved products are also verified first, and a pair whose scenes
|
|
1830
|
+
were deleted by an earlier cleanup is still recognised (see _CLEANUP_MARKER).
|
|
1662
1831
|
keep_results: False (default) keeps only a small record per pair, so memory stays flat however many
|
|
1663
1832
|
pairs run; True also returns each InterferogramResult (loaded from disk for skipped pairs).
|
|
1664
1833
|
stop_on_error: False records the failure and carries on with the next pair.
|
|
1834
|
+
streaming_cleanup: False (default) changes nothing. True applies verify-then-delete to the
|
|
1835
|
+
INPUTS of each pair (reference / secondary extracted SLCs and reference_safe_zip /
|
|
1836
|
+
secondary_safe_zip):
|
|
1837
|
+
try process_pair() as before, saving to output_dir/<ref>_<sec>;
|
|
1838
|
+
verify re-open the saved products (shape, validity, not empty);
|
|
1839
|
+
delete an input is deleted only once EVERY pair in this call that uses it has been saved
|
|
1840
|
+
and verified, so a scene shared by several pairs survives until its last pair;
|
|
1841
|
+
except the error is recorded and the inputs of that pair are KEPT (so is any scene the
|
|
1842
|
+
failed pair shares with others);
|
|
1843
|
+
finally gc.collect().
|
|
1844
|
+
Deleted inputs cannot be recomputed from: to redo a pair, re-download its scenes. Pass all the
|
|
1845
|
+
pairs that need a scene in ONE call, because pairs in other calls are not known to this one.
|
|
1846
|
+
Orbit files and the DEM are never deleted.
|
|
1665
1847
|
|
|
1666
1848
|
Returns a list of records: reference_date, secondary_date, status ("skipped: already generated",
|
|
1667
1849
|
"computed", "failed"), folder, metadata (the pair's summary, loaded from result.json when skipped),
|
|
1668
|
-
error,
|
|
1669
|
-
did not skip anything says so.
|
|
1850
|
+
error, deleted (inputs removed after this pair, streaming_cleanup only) and result (only with
|
|
1851
|
+
keep_results). The decision for every pair is printed, so a run that did not skip anything says so.
|
|
1670
1852
|
"""
|
|
1671
1853
|
import gc
|
|
1672
1854
|
import json
|
|
1855
|
+
import os
|
|
1673
1856
|
|
|
1674
1857
|
out = Path(output_dir)
|
|
1675
1858
|
pairs = list(pairs)
|
|
1676
1859
|
records = []
|
|
1677
1860
|
n_skip = n_done = n_fail = 0
|
|
1678
|
-
print(f"process_pairs: {len(pairs)} pairs, output_dir={out}, resume={resume}"
|
|
1679
|
-
|
|
1861
|
+
print(f"process_pairs: {len(pairs)} pairs, output_dir={out}, resume={resume}"
|
|
1862
|
+
+ (", streaming_cleanup=True" if streaming_cleanup else ""))
|
|
1863
|
+
|
|
1864
|
+
specs = []
|
|
1865
|
+
for spec in pairs:
|
|
1680
1866
|
kw = {**common_kwargs, **spec}
|
|
1681
|
-
|
|
1682
|
-
if not (rd and sd):
|
|
1867
|
+
if not (kw.get("reference_date") and kw.get("secondary_date")):
|
|
1683
1868
|
raise InputError("input", "every pair needs reference_date and secondary_date")
|
|
1869
|
+
specs.append(kw)
|
|
1870
|
+
|
|
1871
|
+
# Streaming bookkeeping. pending[input] = indices of pairs that still need that input; an input
|
|
1872
|
+
# becomes deletable when its set is empty. A pair leaves the sets only once its results are
|
|
1873
|
+
# saved and verified, so a failed pair pins every input it uses.
|
|
1874
|
+
pending: Dict[str, set] = {}
|
|
1875
|
+
states: Dict[int, Any] = {}
|
|
1876
|
+
if streaming_cleanup:
|
|
1877
|
+
for i, kw in enumerate(specs):
|
|
1878
|
+
for key in _CLEANUP_INPUT_KEYS:
|
|
1879
|
+
if kw.get(key) is not None:
|
|
1880
|
+
pending.setdefault(os.path.abspath(str(kw[key])), set()).add(i)
|
|
1881
|
+
|
|
1882
|
+
def _finish(i: int) -> list:
|
|
1883
|
+
"""Pair i is saved and verified: release its inputs and delete those nobody else needs."""
|
|
1884
|
+
deleted = []
|
|
1885
|
+
for key in _CLEANUP_INPUT_KEYS:
|
|
1886
|
+
if specs[i].get(key) is None:
|
|
1887
|
+
continue
|
|
1888
|
+
path = os.path.abspath(str(specs[i][key]))
|
|
1889
|
+
pending[path].discard(i)
|
|
1890
|
+
if not pending[path] and _delete_input(path, protect=out):
|
|
1891
|
+
deleted.append(path)
|
|
1892
|
+
return deleted
|
|
1893
|
+
|
|
1894
|
+
if streaming_cleanup and resume:
|
|
1895
|
+
# Decide every pair up front: pairs that are already done release their inputs straight away.
|
|
1896
|
+
for i, kw in enumerate(specs):
|
|
1897
|
+
try:
|
|
1898
|
+
states[i] = self._resume_state(out, kw, verify=True)
|
|
1899
|
+
except Exception as exc: # noqa: BLE001
|
|
1900
|
+
logger.warning("resume check failed for %s_%s (%s); computing it",
|
|
1901
|
+
kw["reference_date"], kw["secondary_date"], exc)
|
|
1902
|
+
for i, st in states.items():
|
|
1903
|
+
if st[0]:
|
|
1904
|
+
_finish(i)
|
|
1905
|
+
|
|
1906
|
+
for i, (kw, spec) in enumerate(zip(specs, pairs), 1):
|
|
1907
|
+
rd, sd = kw["reference_date"], kw["secondary_date"]
|
|
1684
1908
|
folder = out / f"{rd}_{sd}"
|
|
1685
1909
|
rec = {"reference_date": rd, "secondary_date": sd, "folder": folder, "status": None,
|
|
1686
1910
|
"metadata": None, "error": None, "result": None}
|
|
1911
|
+
if streaming_cleanup:
|
|
1912
|
+
rec["deleted"] = []
|
|
1687
1913
|
tag = f"[{i}/{len(pairs)}] {rd} -> {sd}"
|
|
1688
|
-
current = False
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
"
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
rec["
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1914
|
+
current, why_not = False, ""
|
|
1915
|
+
try:
|
|
1916
|
+
if resume:
|
|
1917
|
+
try:
|
|
1918
|
+
# Plain resume keeps its original cost; verification is added only for streaming runs
|
|
1919
|
+
# (or when the scenes are gone and the marker is all there is to go on).
|
|
1920
|
+
current, why_not, _ = states.get(i - 1) or self._resume_state(
|
|
1921
|
+
out, kw, verify=streaming_cleanup)
|
|
1922
|
+
except Exception as exc: # noqa: BLE001
|
|
1923
|
+
logger.warning("resume check failed for %s_%s (%s); computing it", rd, sd, exc)
|
|
1924
|
+
if current:
|
|
1925
|
+
rec["status"] = "skipped: already generated"
|
|
1926
|
+
try:
|
|
1927
|
+
rec["metadata"] = _restore(json.loads((folder / _RESULT_JSON).read_text()).get("metadata") or {})
|
|
1928
|
+
if keep_results:
|
|
1929
|
+
rec["result"] = InterferogramResult.load(folder)
|
|
1930
|
+
except Exception as exc: # noqa: BLE001
|
|
1931
|
+
logger.warning("could not read saved result for %s_%s (%s)", rd, sd, exc)
|
|
1932
|
+
n_skip += 1
|
|
1933
|
+
print(f"{tag}: {rec['status']}")
|
|
1934
|
+
else:
|
|
1935
|
+
why = why_not or ("resume off" if not resume else (
|
|
1936
|
+
"no complete save" if InterferogramResult.saved_fingerprint(folder) is None
|
|
1937
|
+
else "saved with different inputs/settings/version"))
|
|
1938
|
+
print(f"{tag}: computing ({why})")
|
|
1939
|
+
try:
|
|
1940
|
+
res = self.process_pair(output_dir=out, resume=False, **kw)
|
|
1941
|
+
rec["metadata"] = dict(res.metadata)
|
|
1942
|
+
if keep_results:
|
|
1943
|
+
rec["result"] = res
|
|
1944
|
+
del res
|
|
1945
|
+
if streaming_cleanup:
|
|
1946
|
+
ok, bad = _verify_saved_pair(folder)
|
|
1947
|
+
if not ok:
|
|
1948
|
+
raise RuntimeError(f"saved products failed verification ({bad}); "
|
|
1949
|
+
f"input scenes kept")
|
|
1950
|
+
_write_cleanup_marker(folder, self._pair_params_hash(kw))
|
|
1951
|
+
rec["deleted"] = _finish(i - 1)
|
|
1952
|
+
rec["status"] = "computed"
|
|
1953
|
+
n_done += 1
|
|
1954
|
+
except Exception as exc: # noqa: BLE001
|
|
1955
|
+
rec["status"] = "failed"
|
|
1956
|
+
rec["error"] = f"{type(exc).__name__}: {exc}"
|
|
1957
|
+
if streaming_cleanup:
|
|
1958
|
+
logger.error("%s: %s -- inputs of this pair kept", tag, rec["error"])
|
|
1959
|
+
n_fail += 1
|
|
1960
|
+
print(f"{tag}: FAILED {rec['error']}")
|
|
1961
|
+
if stop_on_error:
|
|
1962
|
+
records.append(rec)
|
|
1963
|
+
raise
|
|
1964
|
+
records.append(rec)
|
|
1965
|
+
finally:
|
|
1966
|
+
gc.collect()
|
|
1728
1967
|
print(f"process_pairs: {n_skip} skipped, {n_done} computed, {n_fail} failed")
|
|
1729
1968
|
return records
|
|
1730
1969
|
|