Skip to main content

Python based Atmospheric Phase Screen estimation

Project description

Language CircleCI Conda Download Version License Citation

PyAPS - Python based Atmospheric Phase Screen estimation

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: The current version does not work with NARR and MERRA datasets. Contributions are welcomed.

This is research code provided to you "as is" with NO WARRANTIES OF CORRECTNESS. Use at your own risk.

1. Installation

a. Install the released version [recommended]

pyaps3 is available on the conda-forge channel, PyPI and the main archive of the Debian GNU/Linux OS. The released version can be installed via conda as:

conda install -c conda-forge pyaps3

or via pip as:

pip install pyaps3

or via apt (or other package managers) for Debian-derivative OS users, including Ubuntu, as:

apt install python3-pyaps3

b. Install the development version

The development version can be installed via pip as:

pip install git+https://github.com/insarlab/PyAPS.git

or build from source manually as:

git clone https://github.com/insarlab/PyAPS.git
conda install -c conda-forge --file PyAPS/requirements.txt
python -m pip install -e PyAPS

Test the installation by running:

python PyAPS/tests/test_calc.py

2. Account setup for ERA5

ERA5 data set is redistributed over the Copernicus Climate Data Store (CDS)-beta (migration guide). Registration is required for the data access and downloading.

  • Create a new account on the CDS-beta website if you don't own a user account yet. Note: the old CDS account won't work.
  • CDS API setup: Create the local file $HOME/.cdsapirc (in your Unix/Linux environment) and add the following two lines:
url: https://cds-beta.climate.copernicus.eu/api
key: your-personal-access-token

Your Personal Access Token can be found under Your profile > Personal Access Token section or on the setup guide page. Alternatively, you could add the token to the [CDS] section in model.cfg file in the package directory, site-packages/pyaps3 if installed via conda. Note: using your old CDS API key will lead to a 401 Client Error and Authentication failed.

git clone https://github.com/insarlab/PyAPS.git --depth 1
python PyAPS/tests/test_dload.py

3. Citing this work

The methodology and validation 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyaps3-0.3.5.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

pyaps3-0.3.5-py3-none-any.whl (55.2 kB view details)

Uploaded Python 3

File details

Details for the file pyaps3-0.3.5.tar.gz.

File metadata

  • Download URL: pyaps3-0.3.5.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pyaps3-0.3.5.tar.gz
Algorithm Hash digest
SHA256 201fc0ca8c60de68015c031da179040c3709a8d3540f14ae453baba170aca82e
MD5 9fac3787344dafe232f7db15c68245cc
BLAKE2b-256 d1898a27338722891b822d5a638c0aab6ec532b5cd5aadf1f49ccf27cbc39cff

See more details on using hashes here.

File details

Details for the file pyaps3-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: pyaps3-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 55.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pyaps3-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8d249bac5efcb82db1856d8633156f86d6b4b4aa2cf2737b10468386d4f2bacb
MD5 2351dcd2c438b139dcaed8bd3266bb97
BLAKE2b-256 b6ac382990c629795f2b54a88fc4274a997b2b43b77f5246c129f6151dcaf74f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page