This is an object-oriented Python modul 6CCF e that facilitates precipitation retrievals (e.g., hydrometeor type, precipitation rate, precipitation mass, particle size distribution information) from polarimetric radar data. It leverages existing open source radar software packages to perform all-in-one QC and retrievals that are then easily visualized or saved using existing software.
DualPol works under Python 2.7 and 3.4-3.6 on most Mac/Linux setups. Windows installation and other Python versions are currently untested.
In the main source directory:
python setup.py install
The following dependencies need to be installed first:
- A robust version of Python 2.7 or 3.4-3.6 w/ most standard scientific packages (e.g.,
numpy
,matplotlib
,pandas
, etc.) - Get one for free here. - The Python Atmospheric Radiation Measurement (ARM) Radar Toolkit (Py-ART)
- CSU_RadarTools
- SkewT - a Python 3 version can be found here.
Specific import calls in the DualPol source code:
from __future__ import print_function
import numpy as np
import warnings
import time
import pyart
import matplotlib.colors as colors
from pyart.io.common import radar_coords_to_cart
from skewt import SkewT
from csu_radartools import (csu_fhc, csu_liquid_ice_mass, csu_blended_rain,
csu_dsd, csu_kdp)
To access everything:
import dualpol
A demonstration notebook is in the notebooks directory.