PyDisdrometer is a Python package to process disdrometer files. It currently is capable of reading several different types of disdrometer formats, with more being added regularly. It currently supports the following functionality:
- File Reading
- Microphysics Estimation
- T-Matrix Scattering of Radar Parameters
- QPE Relationship Estimation.
It currently supports OTT Parsivel disdrometers, Joss Waldvogel Disdrometers, 2DVD files, and HVPS and 2DS airborne disdrometers.
Author: Joseph C. Hardin
An quick example of using the pydisrometer package to read in a parsivel data file and calculate radar scattered parameters is:
dsd = pydisdrometer.read_parsivel(filename)
dsd.calculate_radar_parameters()
If using NASA Ground Validation Parsivel Disdrometer Data from the IFloodS campaign, usage is
dsd = pydisdrometer.read_parsivel_gv(filename, campaign='ifloods')
The scattered fields will be stored in the fields dictionary of the dsd object. So to plot the reflectivity one can run
plot(dsd.time, dsd.fields['Zh']['data'])
For more information, please see the examples in the Notebooks directory. Additionally you can find some initial documentation at PyDisdrometer Documentation
Requirements: This library currently requires the normal scientific python stack(numpy+scipy+matplotlib) It also requires the PyTMatrix Package.
We welcome contributions from all users. Please see the examples in Notebooks for a more indepth guide on how to use PyDisdrometer.
There is now a pydisdrometer user group mailing list at https://groups.google.com/forum/#!forum/pydisdrometer-user-group