1 !WRF:MEDIATION_LAYER:PHYSICS
4 MODULE module_diag_refl
8 SUBROUTINE diagnostic_output_calc_refl( &
9 ids,ide, jds,jde, kds,kde, &
10 ims,ime, jms,jme, kms,kme, &
11 its,ite, jts,jte, kts,kte, & ! tile dims
15 !----------------------------------------------------------------------
19 !======================================================================
22 !-- DIAGFLAG logical flag to indicate if this is a history output time
23 !-- REF_MAX max derived radar reflectivity
24 !-- REFL_10CM model computed 3D reflectivity
26 !-- ids start index for i in domain
27 !-- ide end index for i in domain
28 !-- jds start index for j in domain
29 !-- jde end index for j in domain
30 !-- kds start index for k in domain
31 !-- kde end index for k in domain
32 !-- ims start index for i in memory
33 !-- ime end index for i in memory
34 !-- jms start index for j in memory
35 !-- jme end index for j in memory
36 !-- kms start index for k in memory
37 !-- kme end index for k in memory
38 !-- its start index for i in tile
39 !-- ite end index for i in tile
40 !-- jts start index for j in tile
41 !-- jte end index for j in tile
42 !-- kts start index for k in tile
43 !-- kte end index for k in tile
45 !======================================================================
47 INTEGER, INTENT(IN ) :: &
48 ids,ide, jds,jde, kds,kde, &
49 ims,ime, jms,jme, kms,kme, &
50 its,ite, jts,jte, kts,kte
52 LOGICAL, INTENT(IN ) :: diagflag
57 REAL, DIMENSION( ims:ime, kms:kme, jms:jme ), INTENT(IN) :: &
60 REAL, DIMENSION( ims:ime , jms:jme ), INTENT(INOUT) :: &
73 ! Calculate the max radar reflectivity between output times
75 IF ( refl_10cm(i,k,j) .GT. refd_max(i,j) ) THEN
76 refd_max(i,j) = refl_10cm(i,k,j)
81 ! !$OMP END PARALLEL DO
84 END SUBROUTINE diagnostic_output_calc_refl
89 END MODULE module_diag_refl