Closed pfhein closed 8 years ago
I am going to move the base rainfall functions in csu_blended_rain.py the to the common.py file. That way, they can be imported where they are needed and thus we can remove duplicate code. When that is done, you should import the R-Kdp functions, etc. from there.
OK, I updated the csu_blended_rain
and common
modules. Now you should alter the tropical code to import the base rain functions (e.g., R-Kdp) and _check_for_array
from common
. In addition, you should import the main tropical function to be part of csu_blended_rain
. That is, put from .csu_blended_rain_tropical import calc_blended_rain_tropical
in csu_blended_rain.py. Thanks!
Closing this because of merger of https://github.com/CSU-Radarmet/CSU_RadarTools/pull/41.
csu_blended_rain_tropical.py has Z-R relationships from the DYNAMO field project. (Thompson paper)