How bsingh88/pygmtsar works
PyGMTSAR is a Python Sentinel-1 InSAR processing library. Its principal workflow takes users from scene and auxiliary-data retrieval through stack preparation, interferogram generation, time-series analysis, and mapped or 3D outputs. The graph preserves the README’s stated capabilities—including SBAS/PSI, DEM and orbit retrieval, and visualization—and includes shared raster I/O and grid utilities. Source excerpts are partial, so edges mainly reflect README-documented workflow; unsampled implementation links are omitted rather than inferred.
Main entry points: Stack.py Stack workflow · Stack_sbas.py SBAS analysis · ASF.py ASF scene retrieval · S1.py Sentinel-1 tools
Components 27
Data acquisition
- ASF scene retrieval
pygmtsar/pygmtsar/ASF.py - Sentinel-1 tools
pygmtsar/pygmtsar/S1.py - AWS data access
pygmtsar/pygmtsar/AWS.py
Stack preparation
- Stack workflow
pygmtsar/pygmtsar/Stack.py - Stack state and I/O
pygmtsar/pygmtsar/Stack_base.py - Scene alignment
pygmtsar/pygmtsar/Stack_align.py - DEM and landmask
pygmtsar/pygmtsar/Stack_dem.py - Radar parameters
pygmtsar/pygmtsar/PRM.py
Interferometric analysis
- Interferograms
pygmtsar/pygmtsar/Stack_phasediff.py - Phase unwrapping
pygmtsar/pygmtsar/Stack_unwrap.py - SBAS analysis
pygmtsar/pygmtsar/Stack_sbas.py - Trend correction
pygmtsar/pygmtsar/Stack_detrend.py - Time-series inversion
pygmtsar/pygmtsar/Stack_lstsq.py - PSI analysis
pygmtsar/pygmtsar/Stack_ps.py - Tidal correction
pygmtsar/pygmtsar/Stack_tidal.py
Geospatial outputs
- Geocoding
pygmtsar/pygmtsar/Stack_geocode.py - Incidence angles
pygmtsar/pygmtsar/Stack_incidence.py - Data export
pygmtsar/pygmtsar/Stack_export.py - 3D visualization
pygmtsar/pygmtsar/NCubeVTK.py
Processing foundations
- Raster I/O
pygmtsar/pygmtsar/IO.py - Grid operations
pygmtsar/pygmtsar/datagrid.py - Dask progress
pygmtsar/pygmtsar/tqdm_dask.py - Joblib progress
pygmtsar/pygmtsar/tqdm_joblib.py
Other components
- InSAR user
- Sentinel-1 scenes
- DEM and masks
- Orbit data service
Connections 25
- InSAR user → Stack workflow: runs workflow
- ASF scene retrieval → Sentinel-1 scenes: retrieves scenes
- Sentinel-1 tools → Orbit data service: retrieves orbits
- Stack workflow → ASF scene retrieval: loads scenes
- Stack workflow → Sentinel-1 tools: gets orbits
pygmtsar/pygmtsar/Stack.py - Stack workflow → DEM and landmask: prepares DEM
- DEM and landmask → DEM and masks: uses elevation data
- Stack workflow → Scene alignment: prepares stack
- Stack workflow → Interferograms: computes interferograms
- Interferograms → Phase unwrapping: unwraps phase
- Stack workflow → SBAS analysis: runs SBAS
- Stack workflow → PSI analysis: supports PSI
- SBAS analysis → Time-series inversion: solves time series
- SBAS analysis → Trend correction: corrects trends
pygmtsar/pygmtsar/Stack_sbas.py - Stack workflow → Tidal correction: supports corrections
- Stack workflow → Geocoding: geocodes results
- Stack workflow → Data export: exports results
pygmtsar/pygmtsar/Stack.py - Stack workflow → 3D visualization: visualizes in 3D
- Stack workflow → Incidence angles: computes angles
- Stack workflow → Raster I/O: reads raster data
- Stack workflow → Radar parameters: uses radar parameters
pygmtsar/pygmtsar/Stack.py - Stack workflow → AWS data access: accesses cloud data
- Raster I/O → Grid operations: uses grid utilities
pygmtsar/pygmtsar/IO.py - Stack workflow → Dask progress: tracks computation
- Stack workflow → Joblib progress: tracks parallel tasks