Skip to main content

Python package for Microwave Radiometer processing in ACTRIS

Project description

MWRpy

MWRpy tests PyPI version DOI paper

MWRpy is a Python software to process RPG Microwave Radiometer data and is developed at the University of Cologne, Germany as part of the Aerosol, Clouds and Trace Gases Research Infrastructure (ACTRIS).

The software features reading raw data, Level 1 quality control, generation of Level 2 data products and visualization and is based on the IDL code mwr_pro.

The netCDF data format including metadata information, variable names and file naming is designed to be compliant with the data structure and naming convention developed in the EUMETNET Profiling Programme E-PROFILE.

MWRpy documentation: https://actris-cloudnet.github.io/mwrpy/

MWRpy example output

Citing

If you wish to acknowledge MWRpy in your publication, please cite:

Marke et al., (2024). MWRpy: A Python package for processing microwave radiometer data. Journal of Open Source Software, 9(98), 6733, https://doi.org/10.21105/joss.06733

Installation

From PyPI:

python3 -m pip install mwrpy

From GitHub:

git clone https://github.com/actris-cloudnet/mwrpy.git
cd mwrpy
python3 -m venv venv
source venv/bin/activate
pip3 install --upgrade pip
pip3 install .

MWRpy requires Python 3.10 or newer.

Configuration

The folder mwrpy/site_config/ contains configuration files for each instrument type, which defines the input and output data paths etc. For example, this is the configuration file for RPG-HATPRO.

The folders for each site, e.g. mwrpy/site_config/hyytiala/, contain a site and instrument specific configuration file (config.yaml) and retrieval coefficients. For example, this is the configuration file for Hyytiälä.

Command line usage

MWRpy can be run using the command line tool mwrpy/cli.py:

usage: mwrpy/cli.py [-h] -s SITE [-d YYYY-MM-DD] [--start YYYY-MM-DD]
                       [--stop YYYY-MM-DD] [-p ...] [{process,plot}]

Arguments:

Short Long Default Description
-h --help Show help and exit.
-s --site Site to process data from, e.g, hyytiala. Required.
-d --date Single date to be processed. Alternatively, --start and --stop can be defined.
--start current day - 1 Starting date.
--stop current day Stopping date.
-p --products 1C01, single, multi Processed products, e.g, 1C01, 2I02, 2P03, single, see below.

Commands:

Command Description
process Process data and generate plots (default).
plot Only generate plots.
no-plot Only generate products.

Data types

Level 1

  • 1B01: MWR brightness temperatures from .BRT and .BLB/.BLS files + retrieved spectrum
  • 1B11: IR brightness temperatures from .IRT files
  • 1B21: Weather station data from .MET files
  • 1C01: Combined data type with time corresponding to 1B01

Level 2

  • 2I01: Liquid water path (LWP)
  • 2I02: Integrated water vapor (IWV)
  • 2I06: Stability Indices
  • 2P01: Temperature profiles from single-pointing observations
  • 2P02: Temperature profiles from multiple-pointing observations
  • 2P03: Absolute humidity profiles
  • 2P04: Relative humidity profiles (derived from 2P01/2P02 + 2P03)
  • 2P07: Potential temperature (derived from 2P01/2P02 + 2P03)
  • 2P08: Equivalent potential temperature (derived from 2P01/2P02 + 2P03)
  • single: Single pointing data product (including 2I01, 2I02, 2I06, 2P01, 2P03, and derived products)
  • multi: Multiple pointing data product (including 2P02, and derived products)

Licence

MIT

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

mwrpy-1.1.1.tar.gz (835.9 kB view details)

Uploaded Source

Built Distribution

mwrpy-1.1.1-py3-none-any.whl (883.6 kB view details)

Uploaded Python 3

File details

Details for the file mwrpy-1.1.1.tar.gz.

File metadata

  • Download URL: mwrpy-1.1.1.tar.gz
  • Upload date:
  • Size: 835.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mwrpy-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a0034f3b0766a9ef89c032a565b3d2fd07909c3c64b270e2fa88e6d3864a2898
MD5 67652a25276c00ff0222b32fc224a685
BLAKE2b-256 aff74a2f4ccca26d4bc78527fb385139cb2fa4254df5685ca29f602924253e50

See more details on using hashes here.

Provenance

The following attestation bundles were made for mwrpy-1.1.1.tar.gz:

Publisher: publish.yml on actris-cloudnet/mwrpy

Attestations:

File details

Details for the file mwrpy-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: mwrpy-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 883.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mwrpy-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a98f19a8db37b33219ed877ee655aaf68ba3093ee8abe40343275a7182a53b40
MD5 8a0592e20a355d58e57d2ea3070ce323
BLAKE2b-256 a91a102723b1a5f321498a3911c62e8df14c398afbcfd9e44860f0b27a14a9a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mwrpy-1.1.1-py3-none-any.whl:

Publisher: publish.yml on actris-cloudnet/mwrpy

Attestations:

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