PyGeoFetch 2.7.0.5__tar.gz → 2.7.0.7__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.5 → pygeofetch-2.7.0.7}/CHANGELOG.md +7 -7
- {pygeofetch-2.7.0.5/pygeofetch.egg-info → pygeofetch-2.7.0.7}/PKG-INFO +2 -2
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/README.md +1 -1
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/__init__.py +1 -1
- {pygeofetch-2.7.0.5/pygeofetch_tops_fix_part5/files → pygeofetch-2.7.0.7}/pygeofetch/insar/coregister.py +15 -4
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/extraction.py +12 -4
- pygeofetch-2.7.0.7/pygeofetch/insar/interferogram.py +3729 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/meta.yaml +1 -1
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7/pygeofetch.egg-info}/PKG-INFO +2 -2
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch.egg-info/SOURCES.txt +13 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch.egg-info/top_level.txt +2 -0
- pygeofetch-2.7.0.7/pygeofetch_crop_fix_part8/pygeofetch/insar/coregister.py +1659 -0
- pygeofetch-2.7.0.7/pygeofetch_crop_fix_part8/pygeofetch/insar/extraction.py +986 -0
- pygeofetch-2.7.0.7/pygeofetch_crop_fix_part8/pygeofetch/insar/interferogram.py +3729 -0
- pygeofetch-2.7.0.7/pygeofetch_crop_fix_part8/tests/insar/test_crop_offset.py +85 -0
- pygeofetch-2.7.0.7/pygeofetch_crop_fix_part8/tests/insar/test_tops_deramp.py +236 -0
- pygeofetch-2.7.0.7/pygeofetch_tops_fix_part6/pygeofetch/insar/esd.py +752 -0
- pygeofetch-2.7.0.7/pygeofetch_tops_fix_part6/pygeofetch/insar/tops.py +416 -0
- pygeofetch-2.7.0.7/pygeofetch_tops_fix_part7/pygeofetch/insar/esd.py +752 -0
- {pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6 → pygeofetch-2.7.0.7/pygeofetch_tops_fix_part7}/pygeofetch/insar/interferogram.py +46 -2
- pygeofetch-2.7.0.7/pygeofetch_tops_fix_part7/pygeofetch/insar/tops.py +416 -0
- pygeofetch-2.7.0.7/pygeofetch_tops_fix_part7/tests/insar/_fake_safe.py +70 -0
- pygeofetch-2.7.0.7/pygeofetch_tops_fix_part7/tests/insar/_tops_sim.py +93 -0
- pygeofetch-2.7.0.7/pygeofetch_tops_fix_part7/tests/insar/test_tops_deramp.py +236 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pyproject.toml +1 -1
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/LICENSE +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/MANIFEST.in +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/auth_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/classify_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/config_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/download_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/index_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/main.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/monitor_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/multisensor_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/optical_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/pipeline_process_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/postprocess_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/preprocess_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/sar_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/scale_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/cli/search_commands.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/config/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/config/defaults.yaml +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/config/settings.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/authenticator.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/cache_manager.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/chunked_processor.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/data_formats/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/data_formats/geoparquet_io.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/data_formats/zarr_io.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/data_organizer.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/downloader.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/engine.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/logging.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/monitor.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/orbits.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/progress.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/scheduler.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/searcher.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/core/state.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/geotech/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/geotech/risk_mapper.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/advanced_safeguards.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/analysis.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/annotation.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/atmosphere.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/atmosphere_core.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/auto_fallback.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/deburst.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/errors.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/esd.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/feasibility.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/flatearth.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/geolocation.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/gpu.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/hybrid_unwrap.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/ionosphere.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/learned_unwrap.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/logs.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/memory.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/network_thinning.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/offset_geometry.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/offset_tracking.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/orbits.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/preflight.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/provenance.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/ps_eval.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/ps_gnn_pygeofetch_selector.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/ps_selection.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/ps_stack.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/radar_geometry.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/stack_selection.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/synthetic.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/timeseries.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/topo.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/tops.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/unwrap.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/validate.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/visualize.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/insar/workflow.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/models/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/models/download_task.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/models/satellite_data.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/models/search_query.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/models/stream_options.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/models/user_auth.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/multisensor/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/multisensor/_init.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/multisensor/dem_differencing.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/multisensor/flood_mapping.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/multisensor/insar_optical_fusion.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/multisensor/terrain_corrected_change.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/multisensor/vegetation_disturbance.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/optical/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/optical/offset_tracking.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/base.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/batch.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/classification.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/indices.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/pipeline.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/postprocessor.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/preprocessor.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/sar.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processing/uq_exporter.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processor/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processor/indices.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processor/landsat.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processor/loader.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processor/stacker.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/processor/timeseries.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/airbus_oneatlas.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/alaska_satellite_facility.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/aws_earth.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/base.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/copernicus.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/copernicus_nodes.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/digitalglobe.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/earth_explorer_additional.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/element84.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/eodag_provider.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/esa_scihub.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/geoserver_generic.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/google_earth_engine.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/inpe_cbers.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/isro_bhuvan.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/jaxa_earth.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/maxar_gbdx.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/nasa_earthdata.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/nasa_earthdata_cloud.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/noaa_big_data.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/opentopography.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/planet.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/planetary_computer.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/sentinel_hub.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/terrabotics.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/providers/usgs.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/_native.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/_ost.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/_sarxarray.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/extraction.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/math.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/pipelines.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/sar/processor.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/stac_compute/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/stac_compute/burst_streaming.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/stac_compute/cog_streamer.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/stac_compute/lightweight_prefetch.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/stac_compute/window_calculator.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/streaming/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/streaming/scene.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/streaming/windowed.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/file_utils.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/gcp_recovery.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/geo_utils.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/geocoding.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/logging_setup.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/retry_handler.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/sar_math.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/utils/validators.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/validation/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/validation/optical_validator.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/viz/__init__.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/viz/insar.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/viz/map.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch/viz/plot.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch.egg-info/dependency_links.txt +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch.egg-info/entry_points.txt +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch.egg-info/not-zip-safe +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch.egg-info/requires.txt +0 -0
- {pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6 → pygeofetch-2.7.0.7/pygeofetch_crop_fix_part8}/pygeofetch/insar/esd.py +0 -0
- {pygeofetch-2.7.0.5/pygeofetch_tops_fix_part6 → pygeofetch-2.7.0.7/pygeofetch_crop_fix_part8}/pygeofetch/insar/tops.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7/pygeofetch_tops_fix_part4/files}/pygeofetch/insar/coregister.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part4/files/pygeofetch/insar/interferogram.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part4/files/pygeofetch/insar/tops.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part4/files/tests/insar/_fake_safe.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part4/files/tests/insar/_tops_sim.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part4/files/tests/insar/test_tops_deramp.py +0 -0
- {pygeofetch-2.7.0.5/pygeofetch_tops_fix_part4 → pygeofetch-2.7.0.7/pygeofetch_tops_fix_part5}/files/pygeofetch/insar/coregister.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part5/files/pygeofetch/insar/interferogram.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part5/files/pygeofetch/insar/tops.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part5/files/tests/insar/_fake_safe.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part5/files/tests/insar/_tops_sim.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part5/files/tests/insar/test_tops_deramp.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7/pygeofetch_tops_fix_part6}/pygeofetch/insar/interferogram.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part6/tests/insar/_fake_safe.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part6/tests/insar/_tops_sim.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/pygeofetch_tops_fix_part6/tests/insar/test_tops_deramp.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/setup.cfg +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_advanced_safeguards.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_airbus_oneatlas.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_alaska_satellite_facility.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_atmospheric_circular_regression.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_auto_fallback.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_auto_fallback_fixed.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_build_sbas_network-new.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_build_sbas_network.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_burst_metadata.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_burst_processing_integration.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_burst_sync_large_gap.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_burst_sync_prescreening.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_burst_synchronization.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_circuit_breaker_wiring.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_cli_optical_validation.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_copernicus_nodes.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_coregister_integration.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_coregister_upgrades (1).py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_coregister_upgrades.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_credential_encryption.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_data_organizer.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_dem_differencing_pipeline.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_digitalglobe.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_earth_explorer_additional.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_era5_atmospheric_correction.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_esa_scihub.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_extraction.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_flat_earth_phase.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_flood_mapping_pipeline.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_gcp_reprojection.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_geology_indices_and_rvi_fix.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_geoserver_generic.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_google_earth_engine.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_inpe_cbers.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_insar.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_insar_optical_fusion_pipeline.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_ionosphere.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_isro_bhuvan.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_jaxa_earth.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_lightweight_prefetch.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_map_preview_consolidation.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_models.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_monitor.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_nasa_earthdata_cloud_s3_fix.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_nasa_earthdata_public_search.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_network_thinning.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_noaa_big_data.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_offset_tracking.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_opentopography_pointcloud_usgs.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_optical_offset_tracking.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_optical_validation_wiring.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_optical_validator.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_optical_validator_stac.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_pgv_integration_contract.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_pipeline_process_export.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_planet_asset_type_fix.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_preflight_gate.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_preflight_quiet.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_preflight_spatial_baseline.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_provider_geometry_audit.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_provider_scene_disambiguation.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_providers.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_ps_selection.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_raster_collocation_integration.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_reference_pixel_and_despike.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_risk_mapper.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_risk_mapping.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_sar_pipelines.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_screen_stack_orchestration.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_search_download.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_sentinel_hub_catalog_fix.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_sign_convention.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_splitspectrum_diagnostic.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_stack_selection_consolidation.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_state.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_strain_and_fusion.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_streaming.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_terrain_corrected_change_pipeline.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_topo_r2_bug.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_uq_exporter.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_utils.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_vegetation_disturbance_pipeline.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/tests/test_viz_plot.py +0 -0
- {pygeofetch-2.7.0.5 → pygeofetch-2.7.0.7}/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.7.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.7.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.7] — 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.7.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.7.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.7.4`**, dated
|
|
410
|
+
2026-07-29 and 2026-07-12. **2.7.0.7.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.7
|
|
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.7.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.7.1},
|
|
233
233
|
doi = {10.5281/zenodo.22087230},
|
|
234
234
|
url = {https://doi.org/10.5281/zenodo.22087230}
|
|
235
235
|
}
|
|
@@ -175,17 +175,28 @@ def read_crop_offset(path: Union[str, Path]) -> Tuple[float, float]:
|
|
|
175
175
|
which is the correct default: no crop means local and full-scene
|
|
176
176
|
coordinates are already the same thing.
|
|
177
177
|
"""
|
|
178
|
+
import math
|
|
179
|
+
|
|
178
180
|
import rasterio
|
|
179
181
|
|
|
180
182
|
try:
|
|
181
183
|
with rasterio.open(path) as src:
|
|
182
184
|
tags = src.tags()
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
float(tags.get("crop_col_off", 0.0)),
|
|
186
|
-
)
|
|
185
|
+
row = float(tags.get("crop_row_off", 0.0))
|
|
186
|
+
col = float(tags.get("crop_col_off", 0.0))
|
|
187
187
|
except Exception:
|
|
188
188
|
return (0.0, 0.0)
|
|
189
|
+
# Files cropped before 2026-11-09 may carry fractional offsets, but rasterio read them from the NEAREST whole
|
|
190
|
+
# pixel (half rounds up). The data's true origin is that whole pixel, so use it: taking the fractional value
|
|
191
|
+
# misregistered every pair by the difference of its two dates' fractions (up to ~0.5 px).
|
|
192
|
+
snapped = (float(math.floor(row + 0.5)), float(math.floor(col + 0.5)))
|
|
193
|
+
if snapped != (row, col):
|
|
194
|
+
logger.info(
|
|
195
|
+
"%s: fractional crop offset (%.3f, %.3f) in the tags; the data starts at whole pixel (%d, %d) "
|
|
196
|
+
"(rasterio rounds window offsets), which is what the geometry now uses",
|
|
197
|
+
Path(str(path)).name, row, col, int(snapped[0]), int(snapped[1]),
|
|
198
|
+
)
|
|
199
|
+
return snapped
|
|
189
200
|
|
|
190
201
|
|
|
191
202
|
def collocate_by_geocoding(
|
|
@@ -714,13 +714,21 @@ class SLCExtractor:
|
|
|
714
714
|
|
|
715
715
|
# Clamp to the actual raster extent -- the padded window
|
|
716
716
|
# can legitimately extend past the real data bounds.
|
|
717
|
-
|
|
718
|
-
|
|
717
|
+
# Whole pixels only: rasterio reads a window with fractional
|
|
718
|
+
# offsets starting at the NEAREST whole pixel, so a fractional
|
|
719
|
+
# offset recorded in the tags (as before 2026-11-09) put the
|
|
720
|
+
# crop's true origin up to half a pixel away from where the
|
|
721
|
+
# orbit geometry assumed it, differently for every date. That
|
|
722
|
+
# misregistered pairs by up to ~0.5 px in azimuth and range.
|
|
723
|
+
import math
|
|
724
|
+
|
|
725
|
+
col_off_clamped = max(0, int(math.floor(col_off)))
|
|
726
|
+
row_off_clamped = max(0, int(math.floor(row_off)))
|
|
719
727
|
width_clamped = min(
|
|
720
|
-
width -
|
|
728
|
+
int(math.ceil(col_off + width)) - col_off_clamped, src.width - col_off_clamped
|
|
721
729
|
)
|
|
722
730
|
height_clamped = min(
|
|
723
|
-
height -
|
|
731
|
+
int(math.ceil(row_off + height)) - row_off_clamped, src.height - row_off_clamped
|
|
724
732
|
)
|
|
725
733
|
|
|
726
734
|
if width_clamped <= 0 or height_clamped <= 0:
|