This Jupyter Book contains data recipes for loading ASF HyP3 INSAR_GAMMA and INSAR_ISCE_BURST stacks into MintPy and performing Small Baseline Subset (SBAS) line-of-sight, displacement time series analyses. It also provides options for error analysis, plotting, and outputting data to GeoTiff.
The Miami INsar Time-series software in PYthon (MintPy as /mɪnt paɪ/) is an open-source package for Interferometric Synthetic Aperture Radar (InSAR) time series analysis. It reads the stack of interferograms (coregistered and unwrapped) in ISCE, ARIA, FRInGE, HyP3, GMTSAR, SNAP, GAMMA or ROI_PAC format, and produces three dimensional (2D in space and 1D in time) ground surface displacement in line-of-sight direction
Sign up for an OpenScienceLab account and request access to OpenSARLab.
Navigate to
~/Data_Recipe_Jupyter_Books/opensarlab_MintPy_Recipe_Bookto explore and execute the notebooks.If you are interested in running this material locally on your computer, you will need to follow this workflow:
Install
Pixiusing one of the following options if not already installed:
- macOS / Linux:
curl -fsSL https://pixi.sh/install.sh | bash
- Download the pixi installer
Restart your terminal after installing
Pixiso it is on your PATH.Clone the
opensarlab_MintPy_Recipe_BookGitHub repository:git clone https://github.com/ASFOpenSARlab/opensarlab_MintPy_Recipe_Book.gitMove into the
opensarlab_MintPy_Recipe_Bookdirectorycd opensarlab_MintPy_Recipe_BookInstall the
Pixienvironment needed to execute the notebooks and launch JupyterLab with a single command:pixi run lab:::{tip} Navigate the NISAR Cookbook from its table of contents
Click the "JB" tab on the left-hand sidebar if you wish to navigate the opensarlab_MintPy_Recipe_Book using a table of contents instead of the file browser.
This feature is provided by the jb-toc JupyterLab extension. :::
- Run the Set Up Climate Data Store Access notebook (2_CDS_Access.ipynb)
- Configure CDS access if you will perform tropospheric correction
- If you do not wish to perform tropospheric correction, you must set the following config option:
mintpy.troposphericDelay.method = no
- Run the Access & Subset HyP3 SBAS Stack (InSAR or Burst-InSAR) notebook (3_Access_HyP3_Data.ipynb)
- How-to: order interferograms from HyP3
- Run the A. Load HyP3 SBAS Stack into MintPy notebook (a_Load_HyP3_Data.ipynb)
- Run once per SBAS stack
- Run the B. Configure (or Reconfigure) MintPy Time Series Analysis notebook (b_Update_Configuration.ipynb)
- Run anytime you wish to update the configuration of your time series
- Run the C. Perform MintPy Time Series Analysis notebook (c_MintPy_Time_Series.ipynb)
- Error Analysis (Error_Analysis.ipynb)
- Plotting (Plots.ipynb)
- Output Results to GeoTiff (Output_GeoTiff.ipynb)
- Use the results of your time series and error analyses to make configuration adjustments and reprocess the time series by repeating steps 5 and 6.
MintPy loads data from any source or processor into two HDF5 datasets:
geometryGeo.h5ifgramStack.h5
As you run steps in the time series script, smallbaselineapp.py, additional HDF5 data sets will be created, which become inputs for following steps.
You only need to load your data once
- If you have loaded your times series from a bunch of large GeoTiffs, you can delete them to conserve space after loading your data.
- You will be able to reconfigure and rerun your time series without needing to reload your data.
- If you reconfigure your time series, you must rerun the time series for the updates to take effect.
- Once you have run your time series, until you wish to reconfigure it, you can rerun any data recipes in the
Extra Workflowssection without having to rerun the time series.