Python 3 Atmospheric Phase Screen
This python 3 module estimates differential phase delay maps due to the stratified atmosphere for correcting radar interferograms. It is rewritten in Python 3 language from PYAPS source code and adapted for ECMWF's ERA-5 corrections.
Warning: PyAPS3 could not work with NARR and MERRA weather models. Feel free to modify these parts of the code.
Add to your ~/.bash_profile file for bash user:
##--------- PyAPS ------------------##
export PYAPS_HOME=~/python/PyAPS
export PYTHONPATH=${PYAPS_HOME}:${PYTHONPATH}
Installing Python dependencies
mdkir PyAPS; cd PyAPS
git clone https://github.com/AngeliqueBenoit/pyaps3.git
wget https://github.com/ecmwf/cdsapi/archive/v0.1.4.tar.gz -O cdsapi-0.1.4.tar.gz
tar -xvf cdsapi-0.1.4.tar.gz; cd cdsapi-0.1.4
python setup.py build
python setup.py install
ERA-5 data set is redistributed over the Copernicus Climate Data Store (CDS), create a new account on the CDS website if you don't own a user account yet. On the profile, you will find your user id (UID) and your personal API Key. Add them to the model.cfg
file in [CDS]
section as below.
key = 1234:abcdefghij-134-abcdefgadf-82391b9d3f
where 1234 is your personal user ID (UID), the part behind the colon your personal API key. More details on CDSAPI can be found here.
The metholody and validation of DelayPackage can be found in:
- Jolivet, R., R. Grandin, C. Lasserre, M.-P. Doin and G. Peltzer (2011), Systematic InSAR tropospheric phase delay corrections from global meteorological reanalysis data, Geophys. Res. Lett., 38, L17311, doi:10.1029/2011GL048757.
Examples in the example directory.