Skip to content

Tools for groundbased MW retrievals building on the great projects ARTS and Typhon.

License

Notifications You must be signed in to change notification settings

jonas-hagen/pyretrievals

Repository files navigation

pyretrievals

Building on the great projects ARTS and Typhon, this library provides some tools I use to run simulations and retrievals for the WIRA-C instrument.

Currently this projects is probably only usefult for very specific applications in ground based microwave measurements, namely the WIRA-C instrument and similar. But, possibly with minor adjustments, it might also be useful for other things!

See also the Documentation.

Install

This package requires Python 3.6 and a recent version of ARTS.

Create an environment using your favourite tool (conda, virtualenv, ...) and activate it. Then first install the developement version of Typhon and then this package:

$ git clone <this repo>
$ cd pyretrievals
$ pip install git+https://github.com/atmtools/typhon.git
$ pip install -e .

To setup the full environment for testing and development, run:

pip install -r requirements.txt

Note: pygrib can be a hassle to install.

Environment setup

The variables $ARTS_BUILD_PATH and $ARTS_DATA_PATH should be exported in your shell. Example:

ARTS_DATA_PATH=/opt/arts-dev/arts-xml-data/
ARTS_SRC_PATH=/opt/arts-dev/arts/

Examples

The examples directory contains a test_oem.py file which is similar to the ARTS cfile controlfiles/artscomponents/test_oem.arts. It simulates the ozone line at 110 GHz and retrieves ozone VMR, frequency shift and a polynomial baseline.

About

Tools for groundbased MW retrievals building on the great projects ARTS and Typhon.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages