Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Possible bug in calculation of 1km-AGL model level for radar reflectivity calculation in microphysics driver

mdtoy65

New member
In the microphysics driver 'core_atmosphere/physics/mpas_atmphys_driver_microphysics.F' the model level at 1km-AGL is calculated using the variable 'zp(k)', the height AGL of the model level. The following line occurs in two places:
zp(k) = z_p(i,k,j) - z_p(i,1,j)+0.5*dz_p(i,1,j) ! height AGL

The variable 'dz_p' (model layer thickness in meters) is hardwired to level 'k=1'. It seems this should be corrected to vary with each model level. That is:
zp(k) = z_p(i,k,j) - z_p(i,1,j)+0.5*dz_p(i,k,j) ! height AGL
 
I think MPAS-Dev/MPAS-Model PR #1213 addresses this, and the fix will appear in the MPAS v8.2.1 release (perhaps later today!).
 
Top