Skip to content

Commit a11aef6

Browse files
committed
Merge branch 'NSF-MPAS/physics_big_fix_zd' into hotfix-v8.2.1 (PR #1213)
This merge corrects the calculation of height above ground level (AGL) that is used in the computation of the 1-km simulated radar reflectivity field in mpas_atmphys_driver_microphysics.F. Specifically, the fixes in this merge affect the refl10cm_1km and refl10cm_1km_max fields. * NSF-MPAS/physics_big_fix_zd: * In ./src/core_atmosphere//physics/mpas_atmphys_driver_microphysics.F, corrected...
2 parents 93e2ac5 + 84724d5 commit a11aef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core_atmosphere/physics/mpas_atmphys_driver_microphysics.F

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ subroutine compute_radar_reflectivity(configs,diag_physics,its,ite)
705705
qs1d(k) = qs_p(i,k,j)
706706
qg1d(k) = qg_p(i,k,j)
707707
dBZ1d(k) = -35._RKIND
708-
zp(k) = z_p(i,k,j) - z_p(i,1,j)+0.5*dz_p(i,1,j) ! height AGL
708+
zp(k) = z_p(i,k,j) - z_p(i,1,j) + 0.5*dz_p(i,k,j) ! height AGL
709709
enddo
710710

711711
call refl10cm_wsm6(qv1d,qr1d,qs1d,qg1d,t1d,p1d,dBZ1d,kts,kte)
@@ -756,7 +756,7 @@ subroutine compute_radar_reflectivity(configs,diag_physics,its,ite)
756756
qg1d(k) = qg_p(i,k,j)
757757
nr1d(k) = nr_p(i,k,j)
758758
dBZ1d(k) = -35._RKIND
759-
zp(k) = z_p(i,k,j) - z_p(i,1,j)+0.5*dz_p(i,1,j) ! height AGL
759+
zp(k) = z_p(i,k,j) - z_p(i,1,j) + 0.5*dz_p(i,k,j) ! height AGL
760760
enddo
761761

762762
call calc_refl10cm(qv1d,qc1d,qr1d,nr1d,qs1d,qg1d,t1d,p1d,dBZ1d,kts,kte,i,j)

0 commit comments

Comments
 (0)