CSU-Radarmet / CSU_RadarTools

A module of independent functions to do precipitation retrievals from polarimetric radar data
GNU General Public License v2.0
88 stars 43 forks source link

Tropical Blended Rain #41

Closed bdolan44 closed 8 years ago

bdolan44 commented 8 years ago

Added tropical, oceanic blended logic. New 2DVD-derived relationships at X, C, and S-band and convective /stratiform logic in Z-R branch.

tjlang commented 8 years ago

I had to make several fixes to get this to work correctly. The if statement logic was messed up so r_blended and method were being returned as NoneType if fhc was not None. Also, I changed the missing rain data return to 0 rather than -9999. Philosophically, the other routines return 0 in ice and related non-raining regions.

These changes were all implemented in https://github.com/CSU-Radarmet/CSU_RadarTools/pull/42. @bdolan44 and @pfhein please check my changes to ensure they match your intended logic.