Three bugs are fixed in subcolumn distribution and inconsistent hydrometeor fraction assignment.
In function _set_precip_sub_colfrac (subcolumn.py) that computes the subcolumn distribution of precipitation hydrometeors, EMC2 incorrectly passes the model convective hydrometeor mass to stratiform precipitation hydrometeors.
In _calc_lidar_micro (lidarmoments.py) and _calc_radar_micro (radarmoments.py), the use of hydrometeor fraction is inconsistent. Based on Israel's comment, this should not have a significant impact, as it was corrected/overridden at some point in the code.
In function _calc_mulambda (psd.py), the hydrometeor fraction uses the value without being distributed in subcolumns but the hydrometeor number and mass use values after being distributed in subcolumns.
@isilber Thank you for reviewing the code. The code has been corrected following your comments. Please let me know if you have any additional comments. Thanks!
Three bugs are fixed in subcolumn distribution and inconsistent hydrometeor fraction assignment.