Reworking external/ build
[WRF.git] / Registry / registry.wrfplus
blob7f277a882d17b6e6cdc3018449cba41fe4b3b544
2 # ----------------------------------------
3 #  begin wrfplus variables and configuration
4 # ----------------------------------------
5 ######
7 # Variables that are set at run-time to control configuration  (namelist-settable)
9 #<Table>  <Type>  <Sym>                   <How set>          <Nentries>   <Default>
11 # Perturbation model control
12 rconfig   logical trajectory_io         namelist,perturbation          1      .true. -    "false: disk IO; true: memory IO"  ""      ""
13 rconfig   logical check_u               namelist,perturbation          1      .true. -    "AD/TL check U"             ""      ""
14 rconfig   logical check_v               namelist,perturbation          1      .true. -    "AD/TL check V"             ""      ""
15 rconfig   logical check_w               namelist,perturbation          1      .true. -    "AD/TL check W"             ""      ""
16 rconfig   logical check_ph              namelist,perturbation          1      .true. -    "AD/TL check PH"            ""      ""
17 rconfig   logical check_t               namelist,perturbation          1      .true. -    "AD/TL check T"             ""      ""
18 rconfig   logical check_mu              namelist,perturbation          1      .true. -    "AD/TL check MU"            ""      ""
19 rconfig   logical check_moist           namelist,perturbation          1      .true. -    "AD/TL check MOIST"         ""      ""
20 rconfig   logical check_tracer          namelist,perturbation          1      .true. -    "AD/TL check TRACER"        ""      ""
21 rconfig   logical check_TL              namelist,perturbation          1      .true. -    "TL check"                  ""      ""
22 rconfig   logical check_AD              namelist,perturbation          1      .true. -    "AD check"                  ""      ""
23 rconfig   logical var4d_run             namelist,perturbation          1      .false.  -   "true: exlcude the P calculation in start_em"   ""  ""
24 rconfig   real    nl_pert               namelist,perturbation          1         0.1 -    "nl_pert"    "nonlinear perturbation for TL check"      ""
25 rconfig   integer max_numer             namelist,perturbation          1           1 -    "max_numer"    ""      ""
26 rconfig   integer max_denom             namelist,perturbation          1           1 -    "max_denom"    ""      ""
27 rconfig   integer numer_vars            namelist,perturbation          max_sens    1 -    "numer_vars"    ""      ""
28 rconfig   integer denom_vars            namelist,perturbation          max_sens    1 -    "denom_vars"    ""      ""
29 rconfig   integer scenario_type         namelist,perturbation          1           1 -    "scenario_type"    ""      ""
31 rconfig   logical tl_standalone         namelist,perturbation          1      .false. -   "Run TLM standalone"                  ""      ""
32 rconfig   logical jcdfi_use             namelist,perturbation          1     .false. -    "jcdfi_use"   "JcDFI on/off"      ""
33 rconfig   integer jcdfi_diag            namelist,perturbation          1           1 -    "jcdfi_diag"  "JcDFI diag. on/off"      ""
34 rconfig   real    jcdfi_penalty         namelist,perturbation          1          1. -    "jcdfi_penalty"    "Penalty parameter for JcDF"      ""
35 rconfig   logical enable_identity       namelist,perturbation          1      .false. -   "enable identity AD/TL model"                         ""      ""
36 rconfig   logical var4d_detail_out      namelist,perturbation          1      .false. -   "true:output perturbation, gradient to disk"                         ""      ""
38 rconfig   integer mp_physics_ad         namelist,physics     max_domains   99       rh    "mp_physics_ad"            ""      ""
41 ######
42 # Variables for Eulerian mass coordinate dynamics
44 # Velocities
46 # U Vel
47 state    real   a_u              ikjb     dyn_em      2         X     \
48      i0rhusdf=(bdy_interp:dt)       "A_U"                      "x-wind component"   "m s-1"
49 state    real   a_ru             ikj     dyn_em      1         X      -        "A_MU_U"        "mu-coupled u"   "Pa m s-1"
50 state    real   a_ru_m           ikj     dyn_em      1         X      -        "a_ru_m"        ""   ""
51 state    real   a_ru_tend        ikj     dyn_em      1         X      -        "a_ru_tend"        ""   ""
52 i1       real   a_ru_tendf       ikj     dyn_em      1         X
53 state    real   a_u_save         ikj     dyn_em      1         X      -        "a_u_save"
55 state    real   g_u              ikjb     dyn_em      2         X     \
56      i0rhusdf=(bdy_interp:dt)       "G_U"                      "x-wind component"   "m s-1"
57 state    real   g_ru             ikj     dyn_em      1         X      -        "G_MU_U"        "mu-coupled u"   "Pa m s-1"
58 state    real   g_ru_m           ikj     dyn_em      1         X      -        "g_ru_m"        ""   ""
59 state    real   g_ru_tend        ikj     dyn_em      1         X      -        "g_ru_tend"        ""   ""
60 i1       real   g_ru_tendf       ikj     dyn_em      1         X
61 state    real   g_u_save         ikj     dyn_em      1         X      -        "g_u_save"
63 # V Vel
64 state    real   a_v              ikjb     dyn_em      2         Y     \
65      i0rhusdf=(bdy_interp:dt)        "A_V"                     "y-wind component"   "m s-1"
66 state    real   a_rv             ikj     dyn_em      1         Y      -        "A_MU_V"        "mu-coupled v"   "Pa m s-1"
67 state    real   a_rv_m           ikj     dyn_em      1         Y      -        "a_rv_m"
68 state    real   a_rv_tend        ikj     dyn_em      1         Y      -        "a_rv_tend"
69 i1       real   a_rv_tendf       ikj     dyn_em      1         Y
70 state    real   a_v_save         ikj     dyn_em      1         Y      -        "a_v_save"
72 state    real   g_v              ikjb     dyn_em      2         Y     \
73      i0rhusdf=(bdy_interp:dt)        "G_V"                     "y-wind component"   "m s-1"
74 state    real   g_rv             ikj     dyn_em      1         Y      -        "G_MU_V"        "mu-coupled v"   "Pa m s-1"
75 state    real   g_rv_m           ikj     dyn_em      1         Y      -        "g_rv_m"
76 state    real   g_rv_tend        ikj     dyn_em      1         Y      -        "g_rv_tend"
77 i1       real   g_rv_tendf       ikj     dyn_em      1         Y
78 state    real   g_v_save         ikj     dyn_em      1         Y      -        "g_v_save"
80 # Vertical Vel
81 state    real   a_w              ikjb     dyn_em      2         Z     \
82         irhusdf=(bdy_interp:dt)  "a_w"                          "z-wind component"   "m s-1"
83 state    real   a_ww             ikj     dyn_em      1         Z      r         "a_ww"   "mu-coupled eta-dot"    "Pa s-1"
84 state    real   a_rw             ikj     dyn_em      1         Z      -         "a_rw"   "mu-coupled w"          "Pa m s-1"
85 i1       real   a_ww1            ikj     dyn_em      1         Z
86 state    real   a_ww_m           ikj     dyn_em      1         Z      r         "a_ww_m"   "time-avg mu-coupled eta-dot"    "Pa s-1"
87 i1       real   a_wwp            ikj     dyn_em      1         Z
88 i1       real   a_rw_tend        ikj     dyn_em      1         Z
89 i1       real   a_rw_tendf       ikj     dyn_em      1         Z
90 i1       real   a_w_save         ikj     dyn_em      1         Z
92 state    real   g_w              ikjb     dyn_em      2         Z     \
93         i0rhusdf=(bdy_interp:dt)  "g_w"                          "z-wind component"   "m s-1"
94 state    real   g_ww             ikj     dyn_em      1         Z      r         "g_ww"   "mu-coupled eta-dot"    "Pa s-1"
95 state    real   g_rw             ikj     dyn_em      1         Z      -         "g_rw"   "mu-coupled w"          "Pa m s-1"
96 i1       real   g_ww1            ikj     dyn_em      1         Z
97 state    real   g_ww_m           ikj     dyn_em      1         Z      r         "g_ww_m"   "time-avg mu-coupled eta-dot"    "Pa s-1"
98 i1       real   g_wwp            ikj     dyn_em      1         Z
99 i1       real   g_rw_tend        ikj     dyn_em      1         Z
100 i1       real   g_rw_tendf       ikj     dyn_em      1         Z
101 i1       real   g_w_save         ikj     dyn_em      1         Z
103 # Geopotential
104 state    real   a_ph             ikjb     dyn_em      2         Z     \
105        irhusdf=(bdy_interp:dt)   "a_ph"   "perturbation geopotential"  "m2 s-2"
106 state    real   a_php            ikj     dyn_em      1         -      r     "a_php"  "geopotential"             "m2 s-2"
107 i1       real   a_ph_tend        ikj     dyn_em      1         Z
108 i1       real   a_ph_tendf       ikj     dyn_em      1         Z
109 i1       real   a_ph_save        ikj     dyn_em      1         Z
111 state    real   g_ph             ikjb     dyn_em      2         Z     \
112        i0rhusdf=(bdy_interp:dt)   "g_ph"   "perturbation geopotential"  "m2 s-2"
113 state    real   g_php            ikj     dyn_em      1         -      r     "g_php"  "geopotential"             "m2 s-2"
114 i1       real   g_ph_tend        ikj     dyn_em      1         Z
115 i1       real   g_ph_tendf       ikj     dyn_em      1         Z
116 i1       real   g_ph_save        ikj     dyn_em      1         Z
118 # Potential Temperature
119 state    real   a_t              ikjb     dyn_em      2         -     \
120        i0rhusdf=(bdy_interp:dt)   "a_t"      "perturbation potential temperature (theta-t0)" "K"
122 i1       real   a_t_tend         ikj     dyn_em      1         -
123 i1       real   a_t_tendf        ikj     dyn_em      1         -
124 state    real   a_tp             ikj     dyn_em      2         -
125 i1       real   a_t_2save        ikj     dyn_em      1         -
126 state    real   a_t_save         ikj     dyn_em      1         -               "a_t_save"
128 state    real   g_t              ikjb     dyn_em      2         -     \
129        i0rhusdf=(bdy_interp:dt)   "g_t"      "perturbation potential temperature (theta-t0)" "K"
131 i1       real   g_t_tend         ikj     dyn_em      1         -
132 i1       real   g_t_tendf        ikj     dyn_em      1         -
133 state    real   g_tp             ikj     dyn_em      2         -
134 i1       real   g_t_2save        ikj     dyn_em      1         -
135 state    real   g_t_save         ikj     dyn_em      1         -               "g_t_save"
137 # Mass
138 state    real   a_mu              ijb     dyn_em      2         -     \
139      irhusdf=(bdy_interp:dt)   "a_mu"  "perturbation dry air mass in column" "Pa"
140 state    real   a_mudf            ij     dyn_em      1         -      -           "a_mudf" "" ""
141 state    real   a_muu             ij     dyn_em      1          -                 "a_muu"
142 state    real   a_muus            ij     dyn_em      1          -                 "a_muus"
143 state    real   a_muv             ij     dyn_em      1          -                 "a_muv"
144 state    real   a_muvs            ij     dyn_em      1          -                 "a_muvs"
145 state    real   a_mut             ij     dyn_em      1          -                 "a_mut"
146 state    real   a_muts            ij     dyn_em      1          -                 "a_muts"
147 i1       real   a_muave           ij     dyn_em      1          -
148 i1       real   a_mu_save         ij     dyn_em      1          -
149 i1       real   a_mu_tend         ij     dyn_em      1          -
150 i1       real   a_mu_tendf        ij     dyn_em      1          -
152 state    real   g_mu              ijb     dyn_em      2         -     \
153      i0rhusdf=(bdy_interp:dt)   "g_mu"  "perturbation dry air mass in column" "Pa"
154 state    real   g_mudf            ij     dyn_em      1         -      -           "g_mudf" "" ""
155 state    real   g_muu             ij     dyn_em      1          -                 "g_muu"
156 state    real   g_muus            ij     dyn_em      1          -                 "g_muus"
157 state    real   g_muv             ij     dyn_em      1          -                 "g_muv"
158 state    real   g_muvs            ij     dyn_em      1          -                 "g_muvs"
159 state    real   g_mut             ij     dyn_em      1          -                 "g_mut"
160 state    real   g_muts            ij     dyn_em      1          -                 "g_muts"
161 i1       real   g_muave           ij     dyn_em      1          -
162 i1       real   g_mu_save         ij     dyn_em      1          -
163 i1       real   g_mu_tend         ij     dyn_em      1          -
164 i1       real   g_mu_tendf        ij     dyn_em      1          -
166 # TKE
167 state    real   g_tke            ikj     dyn_em      2         -       r        "g_tke"          "TURBULENCE KINETIC ENERGY"     "m2 s-2"
168 state    real   a_tke            ikj     dyn_em      2         -       r        "a_tke"          "TURBULENCE KINETIC ENERGY"     "m2 s-2"
169 i1       real   g_tke_tend       ikj     dyn_em      1         -      
170 i1       real   a_tke_tend       ikj     dyn_em      1         -      
172 state    real   g_sr             ij      dyn_em      1         -      irh         "g_sr" "fraction of frozen precipitation"
173 state    real   a_sr             ij      dyn_em      1         -      irh         "a_sr" "fraction of frozen precipitation"
174 state    real   g_rainnc         ij      misc        1         -      rhdu     "G_RAINNC"                "ACCUMULATED TOTAL GRID SCALE PRECIPITATION"              "mm"
175 state    real   a_rainnc         ij      misc        1         -      rhdu     "A_RAINNC"                "ACCUMULATED TOTAL GRID SCALE PRECIPITATION"              "mm"
176 state    real   g_rainncv        ij      misc        1         -      r        "G_RAINNCV"               "TIME-STEP NONCONVECTIVE PRECIPITATION"                   "mm"
177 state    real   a_rainncv        ij      misc        1         -      r        "A_RAINNCV"               "TIME-STEP NONCONVECTIVE PRECIPITATION"                   "mm"
178 state    real   g_PRATEC         ij      misc        1         -      r        "G_PRATEC"                "PRECIP RATE FROM CUMULUS SCHEME"                         "mm s-1"
179 state    real   a_PRATEC         ij      misc        1         -      r        "A_PRATEC"                "PRECIP RATE FROM CUMULUS SCHEME"                         "mm s-1"
180 state    real   g_PRATESH        ij      misc        1         -      r        "G_PRATESH"               "PRECIP RATE FROM SHALLOW CUMULUS SCHEME"                 "mm s-1"
181 state    real   a_PRATESH        ij      misc        1         -      r        "A_PRATESH"               "PRECIP RATE FROM SHALLOW CUMULUS SCHEME"                 "mm s-1"
182 state    real   g_RAINC          ij      misc        1         -      rhdu     "G_RAINC"                 "ACCUMULATED TOTAL CUMULUS PRECIPITATION"                 "mm"
183 state    real   a_RAINC          ij      misc        1         -      rhdu     "A_RAINC"                 "ACCUMULATED TOTAL CUMULUS PRECIPITATION"                 "mm"
184 state    real   g_RAINCV         ij      misc        1         -      r        "G_RAINCV"                "TIME-STEP CUMULUS PRECIPITATION"                         "mm"
185 state    real   a_RAINCV         ij      misc        1         -      r        "A_RAINCV"                "TIME-STEP CUMULUS PRECIPITATION"                         "mm"
186 state    real   g_RAINSH         ij      misc        1         -      rhdu     "G_RAINSH"                "ACCUMULATED SHALLOW CUMULUS PRECIPITATION"               "mm"
187 state    real   a_RAINSH         ij      misc        1         -      rhdu     "A_RAINSH"                "ACCUMULATED SHALLOW CUMULUS PRECIPITATION"               "mm"
188 state    real   g_NCA            ij      misc        1         -      r        "G_NCA"                   "COUNTER OF THE CLOUD RELAXATION TIME IN KF CUMULUS SCHEME"    ""
189 state    real   a_NCA            ij      misc        1         -      r        "A_NCA"                   "COUNTER OF THE CLOUD RELAXATION TIME IN KF CUMULUS SCHEME"    ""
190 state    real   g_W0AVG         ikj      misc        1         -      r        "G_W0AVG"                 "AVERAGE VERTICAL VELOCITY FOR KF CUMULUS SCHEME"         "m s-1"
191 state    real   a_W0AVG         ikj      misc        1         -      r        "A_W0AVG"                 "AVERAGE VERTICAL VELOCITY FOR KF CUMULUS SCHEME"         "m s-1"
192 state    real   g_SNOWNC         ij      misc        1         -      rhdu     "G_SNOWNC"                "ACCUMULATED TOTAL GRID SCALE SNOW AND ICE"               "mm"
193 state    real   a_SNOWNC         ij      misc        1         -      rhdu     "A_SNOWNC"                "ACCUMULATED TOTAL GRID SCALE SNOW AND ICE"               "mm"
194 state    real   g_SNOWNCV          ij      misc      1         -      r        "SNOWNCV"               "TIME-STEP NONCONVECTIVE SNOW AND ICE"                    "mm"
195 state    real   a_SNOWNCV          ij      misc      1         -      r        "SNOWNCV"               "TIME-STEP NONCONVECTIVE SNOW AND ICE"                    "mm"
196 state    real   g_GRAUPELNC      ij      misc        1         -      rhdu     "G_GRAUPELNC"             "ACCUMULATED TOTAL GRID SCALE GRAUPEL"                    "mm"
197 state    real   a_GRAUPELNC      ij      misc        1         -      rhdu     "A_GRAUPELNC"             "ACCUMULATED TOTAL GRID SCALE GRAUPEL"                    "mm"
198 state    real   g_GRAUPELNCV       ij      misc      1         -      r        "GRAUPELNCV"            "TIME-STEP NONCONVECTIVE GRAUPEL"                         "mm"
199 state    real   a_GRAUPELNCV       ij      misc      1         -      r        "GRAUPELNCV"            "TIME-STEP NONCONVECTIVE GRAUPEL"                         "mm"
201 # Pressure and Density
202 state    real   a_p              ikj     dyn_em      1         -      irh       "a_p"           "perturbation pressure"         "Pa"
203 state    real   a_al             ikj     dyn_em      1         -      r         "a_al"          "inverse perturbation density"  "m3 kg-1"
204 state    real   a_alt            ikj     dyn_em      1         -      r         "a_alt"         "inverse density"               "m3 kg-1"
206 state    real   g_p              ikj     dyn_em      1         -      irh       "g_p"           "perturbation pressure"         "Pa"
207 state    real   g_al             ikj     dyn_em      1         -      r         "g_al"          "inverse perturbation density"  "m3 kg-1"
208 state    real   g_alt            ikj     dyn_em      1         -      r         "g_alt"         "inverse density"               "m3 kg-1"
211 # Other dyn
213 i1       real   a_advect_tend    ikj     dyn_em      1         -
214 i1       real   a_alpha          ikj     dyn_em      1         -
215 i1       real   a_a              ikj     dyn_em      1         -
216 i1       real   a_gamma          ikj     dyn_em      1         -
217 i1       real   a_c2a            ikj     dyn_em      1         -     -
218 state    real   a_rho            ikj     dyn_em      1         -     r      "a_RHO"              "DENSITY"         "Kg m-3"
219 i1       real   a_phm            ikj     dyn_em      1         -     -
220 i1       real   a_cqu            ikj     dyn_em      1         -     -
221 i1       real   a_cqv            ikj     dyn_em      1         -     -
222 i1       real   a_cqw            ikj     dyn_em      1         -     -
223 i1       real   a_pm1            ikj     dyn_em      1         -     -
224 state    real   a_z              ikj     dyn_em      1         -     -         " " " " " "
225 state    real   a_z_at_w         ikj     dyn_em      1         Z
227 i1       real   g_advect_tend    ikj     dyn_em      1         -
228 i1       real   g_alpha          ikj     dyn_em      1         -
229 i1       real   g_a              ikj     dyn_em      1         -
230 i1       real   g_gamma          ikj     dyn_em      1         -
231 i1       real   g_c2a            ikj     dyn_em      1         -     -
232 state    real   g_rho            ikj     dyn_em      1         -     r      "g_RHO"              "DENSITY"         "Kg m-3"
233 i1       real   g_phm            ikj     dyn_em      1         -     -
234 i1       real   g_cqu            ikj     dyn_em      1         -     -
235 i1       real   g_cqv            ikj     dyn_em      1         -     -
236 i1       real   g_cqw            ikj     dyn_em      1         -     -
237 i1       real   g_pm1            ikj     dyn_em      1         -     -
238 state    real   g_z              ikj     dyn_em      1         -     -         " " " " " "
239 state    real   g_z_at_w         ikj     dyn_em      1         Z
241 state   real  g_defor11          ikj      misc        1         -     r         "g_defor11"               "DEFORMATION 11"              "s-1"      
242 state   real  g_defor22          ikj      misc        1         -     r         "g_defor22"               "DEFORMATION 22"              "s-1"      
243 state   real  g_defor12          ikj      misc        1         -     r         "g_defor12"               "DEFORMATION 12"              "s-1"      
244 state   real  g_defor33          ikj      misc        1         z     r         "g_defor33"               "DEFORMATION 33"              "s-1"      
245 state   real  g_defor13          ikj      misc        1         z     r         "g_defor13"               "DEFORMATION 13"              "s-1"      
246 state   real  g_defor23          ikj      misc        1         z     r         "g_defor23"               "DEFORMATION 23"              "s-1"      
247 state   real   g_xkmv            ikj      misc        1         -     r         "g_xkmv"                  "VERTICAL EDDY VISCOSITY"     "m2 s-1"      
248 state   real   g_xkmh            ikj      misc        1         -     r         "g_xkmh"                  "HORIZONTAL EDDY VISCOSITY"   "m2 s-1"      
249 state   real   g_xkhv            ikj      misc        1         -     r         "g_xkhv"                  "VERTICAL EDDY DIFFUSIVITY OF HEAT"                               "m2 s-1"      
250 state   real   g_xkhh            ikj      misc        1         -     r         "g_xkhh"                  "HORIZONTAL EDDY DIFFUSIVITY OF HEAT"                             "m2 s-1"      
251 state   real    g_div            ikj      misc        1         -     r         "g_div"                   "DIVERGENCE"                                                      "s-1"
252 state   real    g_BN2            ikj      misc        1         -     r         "g_BN2"                   "BRUNT-VAISALA FREQUENCY"                                         "s-2"
253 state    real   g_zx             ikj     dyn_em      1         XZ     -         " "  " "  " "    
254 state    real   g_zy             ikj     dyn_em      1         YZ     -         " "  " "  " "   
255 state    real   g_rdz            ikj     dyn_em      1         Z      -         " "  " "  " "   
256 state    real   g_rdzw           ikj     dyn_em      1         Z       -        " "  " "  " "   
257 state    real  g_HFX              ij      misc        1         -      rh       "g_HFX"                   "UPWARD HEAT FLUX AT THE SURFACE"              "W m-2"      
258 state    real  g_QFX              ij      misc        1         -      rh       "g_QFX"                   "UPWARD MOISTURE FLUX AT THE SURFACE"          "kg m-2 s-1"      
259 state    real  g_RTHRATEN        ikj      misc        1         -      rd       "g_RTHRATEN"              "COUPLED THETA TENDENCY DUE TO RADIATION"              "Pa K s-1"
260 state    real  g_RQCBLTEN        ikj      misc        1         -      r        "g_RQCBLTEN"              "COUPLED Q_C TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
261 state    real  g_RQIBLTEN        ikj      misc        1         -      r        "g_RQIBLTEN"              "COUPLED Q_I TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
262 state    real  g_RTHCUTEN        ikj      misc        1         -      r        "g_RTHCUTEN"              "COUPLED THETA TENDENCY DUE TO CUMULUS SCHEME"     "Pa K s-1"
263 state    real  g_RQVCUTEN        ikj      misc        1         -      r        "g_RQVCUTEN"              "COUPLED Q_V TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
264 state    real  g_RQRCUTEN        ikj      misc        1         -      r        "g_RQRCUTEN"              "COUPLED Q_R TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
265 state    real  g_RQCCUTEN        ikj      misc        1         -      r        "g_RQCCUTEN"              "COUPLED Q_C TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
266 state    real  g_RQSCUTEN        ikj      misc        1         -      r        "g_RQSCUTEN"              "COUPLED Q_S TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
267 state    real  g_RQICUTEN        ikj      misc        1         -      r        "g_RQICUTEN"              "COUPLED Q_I TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
268 state    real  g_RQCNCUTEN       ikj      misc        1         -      r        "g_RQCNCUTEN"             "COUPLED Q_CN TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
269 state    real  g_RQINCUTEN       ikj      misc        1         -      r        "g_RQINCUTEN"             "COUPLED Q_IN TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
270 state    real  g_RTHSHTEN        ikj      misc        1         -      r        "g_RTHSHTEN"              "COUPLED THETA TENDENCY DUE TO SHALLOW CUMULUS SCHEME"    "Pa K s-1"
271 state    real  g_RQVSHTEN        ikj      misc        1         -      r        "g_RQVSHTEN"              "COUPLED Q_V TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
272 state    real  g_RQRSHTEN        ikj      misc        1         -      r        "g_RQRSHTEN"              "COUPLED Q_R TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
273 state    real  g_RQCSHTEN        ikj      misc        1         -      r        "g_RQCSHTEN"              "COUPLED Q_C TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
274 state    real  g_RQSSHTEN        ikj      misc        1         -      r        "g_RQSSHTEN"              "COUPLED Q_S TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
275 state    real  g_RQISHTEN        ikj      misc        1         -      r        "g_RQISHTEN"              "COUPLED Q_I TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
276 state    real  g_RQGSHTEN        ikj      misc        1         -      r        "g_RQGSHTEN"              "COUPLED Q_G TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
277 state    real  g_RQCNSHTEN       ikj      misc        1         -      r        "g_RQCNSHTEN"             "COUPLED Q_CN TENDENCY DUE TO SHALLOW CUMULUS SCHEME"     "Pa kg kg-1 s-1"
278 state    real  g_RQINSHTEN       ikj      misc        1         -      r        "g_RQINSHTEN"             "COUPLED Q_IN TENDENCY DUE TO SHALLOW CUMULUS SCHEME"     "Pa kg kg-1 s-1"
279 state    real  g_RTHFTEN         ikj      misc        1         -      r        "a_RTHFTEN"               "TEMPERATURE TENDENCY USED IN GRELL CUMULUS SCHEME"  "K s-1"
280 state    real  g_RQVFTEN         ikj      misc        1         -      r        "g_RQVFTEN"               "MOISTURE TENDENCY USED IN GRELL CUMULUS SCHEME"     "kg s-1"
281 state    real  g_RUNDGDTEN       ikj      misc        1         X      r        "g_RUNDGDTEN"               "COUPLED X WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
282 state    real  g_RVNDGDTEN       ikj      misc        1         Y      r        "g_RVNDGDTEN"               "COUPLED Y WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
283 state    real  g_RTHNDGDTEN      ikj      misc        1         -      r        "g_RTHNDGDTEN"              "COUPLED THETA TENDENCY DUE TO FDDA GRID NUDGING"   "Pa K s-1"
284 state    real  g_RPHNDGDTEN      ikj      misc        1         -      r        "g_RPHNDGDTEN"              "COUPLED GEOPOTENTIAL TENDENCY DUE TO FDDA GRID NUDGING"   "Pa m2 s-3"
285 state    real  g_RQVNDGDTEN      ikj      misc        1         -      r        "g_RQVNDGDTEN"              "COUPLED Q_V TENDENCY DUE TO FDDA GRID NUDGING"     "Pa kg kg-1 s-1"
286 state    real  g_RUSHTEN         ikj      misc        1         -      r        "g_RUSHTEN"               "COUPLED X WIND TENDENCY DUE TO SHALLOW CUMULUS SCHEME"   "Pa m s-2"
287 state    real  g_RVSHTEN         ikj      misc        1         -      r        "g_RVSHTEN"               "COUPLED Y WIND TENDENCY DUE TO SHALLOW CUMULUS SCHEME"   "Pa m s-2"
288 state    real  g_RUCUTEN         ikj      misc        1         -      r        "g_RUCUTEN"               "COUPLED X WIND TENDENCY DUE TO CUMULUS PARAMETERIZATION"  "Pa m s-2"
289 state    real  g_RVCUTEN         ikj      misc        1         -      r        "g_RVCUTEN"               "COUPLED Y WIND TENDENCY DUE TO CUMULUS PARAMETERIZATION"  "Pa m s-2"
290 state    real  g_RUBLTEN         ikj      misc        1         -      r        "g_RUBLTEN"               "COUPLED X WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
291 state    real  g_RVBLTEN         ikj      misc        1         -      r        "g_RVBLTEN"               "COUPLED Y WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
292 state    real  g_RTHBLTEN        ikj      misc        1         -      r        "g_RTHBLTEN"              "COUPLED THETA TENDENCY DUE TO PBL PARAMETERIZATION"   "Pa K s-1"
293 state    real  g_RQVBLTEN        ikj      misc        1         -      r        "g_RQVBLTEN"              "COUPLED Q_V TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
294 state    real  g_UST              ij      misc        1         -      rh       "g_UST"                   "U* IN SIMILARITY THEORY"                      "m s-1"
295 state    real  g_USTM             ij      misc        1         -      r        "g_USTM"                  "U* IN SIMILARITY THEORY WITHOUT VCONV"        "m s-1"
296 # hydrostatic pressure vars
297 state    real   g_p_hyd           ikj     dyn_em      1         -      irh       "g_p_hyd"       "hydrostatic pressure"         "Pa"
298 state    real   g_p_hyd_w         ikj     dyn_em      1         Z       r        "g_p_hyd_w"     "hydrostatic pressure at full levels"         "Pa"
301 state   real  a_defor11          ikj      misc        1         -     r         "a_defor11"               "DEFORMATION 11"              "s-1"      
302 state   real  a_defor22          ikj      misc        1         -     r         "a_defor22"               "DEFORMATION 22"              "s-1"      
303 state   real  a_defor12          ikj      misc        1         -     r         "a_defor12"               "DEFORMATION 12"              "s-1"      
304 state   real  a_defor33          ikj      misc        1         z     r         "a_defor33"               "DEFORMATION 33"              "s-1"      
305 state   real  a_defor13          ikj      misc        1         z     r         "a_defor13"               "DEFORMATION 13"              "s-1"      
306 state   real  a_defor23          ikj      misc        1         z     r         "a_defor23"               "DEFORMATION 23"              "s-1"      
307 state   real   a_xkmv            ikj      misc        1         -     r         "a_xkmv"                  "VERTICAL EDDY VISCOSITY"     "m2 s-1"      
308 state   real   a_xkmh            ikj      misc        1         -     r         "a_xkmh"                  "HORIZONTAL EDDY VISCOSITY"   "m2 s-1"      
309 state   real   a_xkhv            ikj      misc        1         -     r         "a_xkhv"                  "VERTICAL EDDY DIFFUSIVITY OF HEAT"                               "m2 s-1"      
310 state   real   a_xkhh            ikj      misc        1         -     r         "a_xkhh"                  "HORIZONTAL EDDY DIFFUSIVITY OF HEAT"                             "m2 s-1"      
311 state   real    a_div            ikj      misc        1         -     r         "a_div"                   "DIVERGENCE"                                                      "s-1"
312 state   real    a_BN2            ikj      misc        1         -     r         "a_BN2"                   "BRUNT-VAISALA FREQUENCY"                                         "s-2"
313 state    real   a_zx             ikj     dyn_em      1         XZ     -         " "  " "  " "    
314 state    real   a_zy             ikj     dyn_em      1         YZ     -         " "  " "  " "   
315 state    real   a_rdz            ikj     dyn_em      1         Z      -         " "  " "  " "   
316 state    real   a_rdzw           ikj     dyn_em      1         Z       -        " "  " "  " "   
317 state    real  a_HFX              ij      misc        1         -      rh       "a_HFX"                   "UPWARD HEAT FLUX AT THE SURFACE"              "W m-2"      
318 state    real  a_QFX              ij      misc        1         -      rh       "a_QFX"                   "UPWARD MOISTURE FLUX AT THE SURFACE"          "kg m-2 s-1"      
319 state    real  a_RTHRATEN        ikj      misc        1         -      rd       "a_RTHRATEN"              "COUPLED THETA TENDENCY DUE TO RADIATION"              "Pa K s-1"
320 state    real  a_RQCBLTEN        ikj      misc        1         -      r        "a_RQCBLTEN"              "COUPLED Q_C TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
321 state    real  a_RQIBLTEN        ikj      misc        1         -      r        "a_RQIBLTEN"              "COUPLED Q_I TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
322 state    real  a_RTHCUTEN        ikj      misc        1         -      r        "a_RTHCUTEN"              "COUPLED THETA TENDENCY DUE TO CUMULUS SCHEME"     "Pa K s-1"
323 state    real  a_RQVCUTEN        ikj      misc        1         -      r        "a_RQVCUTEN"              "COUPLED Q_V TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
324 state    real  a_RQRCUTEN        ikj      misc        1         -      r        "a_RQRCUTEN"              "COUPLED Q_R TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
325 state    real  a_RQCCUTEN        ikj      misc        1         -      r        "a_RQCCUTEN"              "COUPLED Q_C TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
326 state    real  a_RQSCUTEN        ikj      misc        1         -      r        "a_RQSCUTEN"              "COUPLED Q_S TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
327 state    real  a_RQICUTEN        ikj      misc        1         -      r        "a_RQICUTEN"              "COUPLED Q_I TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
328 state    real  a_RQCNCUTEN       ikj      misc        1         -      r        "a_RQCNCUTEN"             "COUPLED Q_CN TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
329 state    real  a_RQINCUTEN       ikj      misc        1         -      r        "a_RQINCUTEN"             "COUPLED Q_IN TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
330 state    real  a_RTHSHTEN        ikj      misc        1         -      r        "a_RTHSHTEN"              "COUPLED THETA TENDENCY DUE TO SHALLOW CUMULUS SCHEME"    "Pa K s-1"
331 state    real  a_RQVSHTEN        ikj      misc        1         -      r        "a_RQVSHTEN"              "COUPLED Q_V TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
332 state    real  a_RQRSHTEN        ikj      misc        1         -      r        "a_RQRSHTEN"              "COUPLED Q_R TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
333 state    real  a_RQCSHTEN        ikj      misc        1         -      r        "a_RQCSHTEN"              "COUPLED Q_C TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
334 state    real  a_RQSSHTEN        ikj      misc        1         -      r        "a_RQSSHTEN"              "COUPLED Q_S TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
335 state    real  a_RQISHTEN        ikj      misc        1         -      r        "a_RQISHTEN"              "COUPLED Q_I TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
336 state    real  a_RQGSHTEN        ikj      misc        1         -      r        "a_RQGSHTEN"              "COUPLED Q_G TENDENCY DUE TO SHALLOW CUMULUS SCHEME"      "Pa kg kg-1 s-1"
337 state    real  a_RQCNSHTEN       ikj      misc        1         -      r        "a_RQCNSHTEN"             "COUPLED Q_CN TENDENCY DUE TO SHALLOW CUMULUS SCHEME"     "Pa kg kg-1 s-1"
338 state    real  a_RQINSHTEN       ikj      misc        1         -      r        "a_RQINSHTEN"             "COUPLED Q_IN TENDENCY DUE TO SHALLOW CUMULUS SCHEME"     "Pa kg kg-1 s-1"
339 state    real  a_RTHFTEN         ikj      misc        1         -      r        "a_RTHFTEN"               "TEMPERATURE TENDENCY USED IN GRELL CUMULUS SCHEME"  "K s-1"
340 state    real  a_RQVFTEN         ikj      misc        1         -      r        "a_RQVFTEN"               "MOISTURE TENDENCY USED IN GRELL CUMULUS SCHEME"     "kg s-1"
341 state    real  a_RUNDGDTEN       ikj      misc        1         X      r        "a_RUNDGDTEN"               "COUPLED X WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
342 state    real  a_RVNDGDTEN       ikj      misc        1         Y      r        "a_RVNDGDTEN"               "COUPLED Y WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
343 state    real  a_RTHNDGDTEN      ikj      misc        1         -      r        "a_RTHNDGDTEN"              "COUPLED THETA TENDENCY DUE TO FDDA GRID NUDGING"   "Pa K s-1"
344 state    real  a_RPHNDGDTEN      ikj      misc        1         -      r        "a_RPHNDGDTEN"              "COUPLED GEOPOTENTIAL TENDENCY DUE TO FDDA GRID NUDGING"   "Pa m2 s-3"
345 state    real  a_RQVNDGDTEN      ikj      misc        1         -      r        "a_RQVNDGDTEN"              "COUPLED Q_V TENDENCY DUE TO FDDA GRID NUDGING"     "Pa kg kg-1 s-1"
346 state    real  a_RUSHTEN         ikj      misc        1         -      r        "a_RUSHTEN"               "COUPLED X WIND TENDENCY DUE TO SHALLOW CUMULUS SCHEME"   "Pa m s-2"
347 state    real  a_RVSHTEN         ikj      misc        1         -      r        "a_RVSHTEN"               "COUPLED Y WIND TENDENCY DUE TO SHALLOW CUMULUS SCHEME"   "Pa m s-2"
348 state    real  a_RUCUTEN         ikj      misc        1         -      r        "a_RUCUTEN"               "COUPLED X WIND TENDENCY DUE TO CUMULUS PARAMETERIZATION"  "Pa m s-2"
349 state    real  a_RVCUTEN         ikj      misc        1         -      r        "a_RVCUTEN"               "COUPLED Y WIND TENDENCY DUE TO CUMULUS PARAMETERIZATION"  "Pa m s-2"
350 state    real  a_RUBLTEN         ikj      misc        1         -      r        "a_RUBLTEN"               "COUPLED X WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
351 state    real  a_RVBLTEN         ikj      misc        1         -      r        "a_RVBLTEN"               "COUPLED Y WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
352 state    real  a_RTHBLTEN        ikj      misc        1         -      r        "a_RTHBLTEN"              "COUPLED THETA TENDENCY DUE TO PBL PARAMETERIZATION"   "Pa K s-1"
353 state    real  a_RQVBLTEN        ikj      misc        1         -      r        "a_RQVBLTEN"              "COUPLED Q_V TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
354 state    real  a_UST              ij      misc        1         -      rh       "a_UST"                   "U* IN SIMILARITY THEORY"                      "m s-1"
355 state    real  a_USTM             ij      misc        1         -      r        "a_USTM"                  "U* IN SIMILARITY THEORY WITHOUT VCONV"        "m s-1"
356 # hydrostatic pressure vars
357 state    real   a_p_hyd           ikj     dyn_em      1         -      irh       "a_p_hyd"       "hydrostatic pressure"         "Pa"
358 state    real   a_p_hyd_w         ikj     dyn_em      1         Z       r        "a_p_hyd_w"     "hydrostatic pressure at full levels"         "Pa"
361 state   real    -       ikjf    g_nba_mij               1       -       -       -
362 state   real    g_m11     ikjf    g_nba_mij             1       -       h       "g_m11"         "11 component of NBA subgrid stress tensor"     "m2 s-2"
363 state   real    g_m22     ikjf    g_nba_mij             1       -       h       "g_m22"         "22 component of NBA subgrid stress tensor"     "m2 s-2"
364 state   real    g_m33     ikjf    g_nba_mij             1       -       h       "g_m33"         "33 component of NBA subgrid stress tensor"     "m2 s-2"
365 state   real    g_m12     ikjf    g_nba_mij             1       -       h       "g_m12"         "12 component of NBA subgrid stress tensor"     "m2 s-2"
366 state   real    g_m13     ikjf    g_nba_mij             1       -       h       "g_m13"         "13 component of NBA subgrid stress tensor"     "m2 s-2"
367 state   real    g_m23     ikjf    g_nba_mij             1       -       h       "g_m23"                 "23 component of NBA subgrid stress tensor"     "m2 s-2"
369 state   real    -       ikjf    g_nba_rij               1       -       -       -       
370 state   real    g_r12     ikjf    g_nba_rij             1       -       -       "g_r12"         "12 component of rotation tensor"               "s-1"
371 state   real    g_r13     ikjf    g_nba_rij             1       -       -       "g_r13"         "13 component of rotation tensor"               "s-1"
372 state   real    g_r23     ikjf    g_nba_rij             1       -       -       "g_r23"         "23 component of rotation tensor"               "s-1"
373 state   real    g_smnsmn  ikjf    g_nba_rij             1       -       -       "g_smnsmn"      "Smn*Smn"                                       "s-2"
375 state   real    -       ikjf    a_nba_mij               1       -       -       -
376 state   real    a_m11     ikjf    a_nba_mij             1       -       h       "a_m11"         "11 component of NBA subgrid stress tensor"     "m2 s-2"
377 state   real    a_m22     ikjf    a_nba_mij             1       -       h       "a_m22"         "22 component of NBA subgrid stress tensor"     "m2 s-2"
378 state   real    a_m33     ikjf    a_nba_mij             1       -       h       "a_m33"         "33 component of NBA subgrid stress tensor"     "m2 s-2"
379 state   real    a_m12     ikjf    a_nba_mij             1       -       h       "a_m12"         "12 component of NBA subgrid stress tensor"     "m2 s-2"
380 state   real    a_m13     ikjf    a_nba_mij             1       -       h       "a_m13"         "13 component of NBA subgrid stress tensor"     "m2 s-2"
381 state   real    a_m23     ikjf    a_nba_mij             1       -       h       "a_m23"                 "23 component of NBA subgrid stress tensor"     "m2 s-2"
383 state   real    -       ikjf    a_nba_rij               1       -       -       -       
384 state   real    a_r12     ikjf    a_nba_rij             1       -       -       "a_r12"         "12 component of rotation tensor"               "s-1"
385 state   real    a_r13     ikjf    a_nba_rij             1       -       -       "a_r13"         "13 component of rotation tensor"               "s-1"
386 state   real    a_r23     ikjf    a_nba_rij             1       -       -       "a_r23"         "23 component of rotation tensor"               "s-1"
387 state   real    a_smnsmn  ikjf    a_nba_rij             1       -       -       "a_smnsmn"      "Smn*Smn"                                       "s-2"
390 # State variables for landuse_init, Must be declared state because they are read in and needed for restarts. Had been SAVE vars in
391 # landuse_init (phys/module_physics_init.F)
393 i1       real  a_th_phy          ikj      misc        1         -
394 i1       real  a_pi_phy          ikj      misc        1         -
395 i1       real  a_p_phy           ikj      misc        1         -
396 state    real  a_t_phy           ikj      misc        1         -       r      "a_T_PHY"                        "Temperature"         "K"           
397 state    real  a_u_phy           ikj      misc        1         -       r      "a_U_PHY"                        "x-wind component at mass point"         "m s-1"
398 state    real  a_v_phy           ikj      misc        1         -       r      "a_V_PHY"                        "y-wind component at mass point"         "m s-1"
399 i1       real  a_dz8w            ikj      misc        1         Z
400 i1       real  a_p8w             ikj      misc        1         Z
401 i1       real  a_t8w             ikj      misc        1         Z
403 i1       real  g_th_phy          ikj      misc        1         -
404 i1       real  g_pi_phy          ikj      misc        1         -
405 i1       real  g_p_phy           ikj      misc        1         -
406 state    real  g_t_phy           ikj      misc        1         -       r      "g_T_PHY"                        "Temperature"         "K"           
407 state    real  g_u_phy           ikj      misc        1         -       r      "g_U_PHY"                        "x-wind component at mass point"         "m s-1"
408 state    real  g_v_phy           ikj      misc        1         -       r      "g_V_PHY"                        "y-wind component at mass point"         "m s-1"
409 i1       real  g_dz8w            ikj      misc        1         Z
410 i1       real  g_p8w             ikj      misc        1         Z
411 i1       real  g_t8w             ikj      misc        1         Z
413 # Additional for gravity wave drag
414 state   real   g_DTAUX3D         ikj     misc        1         -     rh        "g_DTAUX3D"               "LOCAL U GWDO STRESS"   "m s-1"
415 state   real   g_DTAUY3D         ikj     misc        1         -     rh        "g_DTAUY3D"               "LOCAL V GWDO STRESS"   "m s-1"
416 state   real   g_DUSFCG           ij     misc        1         -     rh        "g_DUSFCG"                "COLUMN-INTEGRATED U GWDO STRESS"   "Pa m s-1"
417 state   real   g_DVSFCG           ij     misc        1         -     rh        "g_DVSFCG"                "COLUMN-INTEGRATED V GWDO STRESS"   "Pa m s-1"
419 state   real   a_DTAUX3D         ikj     misc        1         -     rh        "a_DTAUX3D"               "LOCAL U GWDO STRESS"   "m s-1"
420 state   real   a_DTAUY3D         ikj     misc        1         -     rh        "a_DTAUY3D"               "LOCAL V GWDO STRESS"   "m s-1"
421 state   real   a_DUSFCG           ij     misc        1         -     rh        "a_DUSFCG"                "COLUMN-INTEGRATED U GWDO STRESS"   "Pa m s-1"
422 state   real   a_DVSFCG           ij     misc        1         -     rh        "a_DVSFCG"                "COLUMN-INTEGRATED V GWDO STRESS"   "Pa m s-1"
424 # g_h_diabatic and a_h_diabatic (Added by Ning Pan, 2010-07-10) 
425 state   real    g_h_diabatic     ikj     misc         1        -      rdu      "g_h_diabatic"            "PREVIOUS TIMESTEP CONDENSATIONAL HEATING"         "K s-1"      
426 state   real    a_h_diabatic     ikj     misc         1        -      rdu      "a_h_diabatic"            "PREVIOUS TIMESTEP CONDENSATIONAL HEATING"         "K s-1"      
427 state   real    g_qv_diabatic    ikj     misc         1        -      rdu      "g_qv_diabatic"           "MICROPHYSICS QV TENDENCY"            "g g-1 s-1"
428 state   real    a_qv_diabatic    ikj     misc         1        -      rdu      "a_qv_diabatic"           "MICROPHYSICS QV TENDENCY"            "g g-1 s-1"
429 state   real    g_qc_diabatic    ikj     misc         1        -      rdu      "g_qc_diabatic"           "MICROPHYSICS QC TENDENCY"            "g g-1 s-1"
430 state   real    a_qc_diabatic    ikj     misc         1        -      rdu      "a_qc_diabatic"           "MICROPHYSICS QC TENDENCY"            "g g-1 s-1"
432 # Arrays for Specified LBCs  (lbc arrays REMOVED; Boundary arrays are now specified with the state array; see above, 20050413 JM )
434 state    real   a_fcx            w         misc     -         -      ir       "a_fcx"                  "RELAXATION TERM FOR BOUNDARY ZONE"         ""
435 state    real   a_gcx            w         misc     -         -      ir       "a_gcx"                  "2ND RELAXATION TERM FOR BOUNDARY ZONE"         ""
436 state    real   a_dtbc            -        misc     -         -      ir       "a_dtbc"                 "TIME SINCE BOUNDARY READ"         ""
438 state    real   g_fcx            w         misc     -         -      ir       "g_fcx"                  "RELAXATION TERM FOR BOUNDARY ZONE"         ""
439 state    real   g_gcx            w         misc     -         -      ir       "g_gcx"                  "2ND RELAXATION TERM FOR BOUNDARY ZONE"         ""
440 state    real   g_dtbc            -        misc     -         -      ir       "g_dtbc"                 "TIME SINCE BOUNDARY READ"         ""
441 #-----------------------------------------------------------------------------------------------------------------------------------------------------------------
442 # Scalar (4D) arrays
444 # Moist Scalars
445 #  
446 # The first line ensures that there will be identifiers named g(a)_moist and
447 # g(a)_moist_tend even if there are not any moist scalars (so the essentially
448 # dry code will still link properly)
451 state   real    -              ikjftb   a_moist       1         -     -    -
452 state   real    a_qv             ikjftb   a_moist       1         -     \
453    i0rhusdf=(bdy_interp:dt)  "A_QVAPOR"           "Water vapor mixing ratio"      "kg kg-1"
454 state   real    a_qc             ikjftb   a_moist       1         -     \
455    i0rhusdf=(bdy_interp:dt)  "A_QCLOUD"           "Cloud water mixing ratio"      "kg kg-1"
456 state   real    a_qr             ikjftb   a_moist       1         -     \
457    i0rhusdf=(bdy_interp:dt)  "A_QRAIN"            "Rain water mixing ratio"       "kg kg-1"
458 state   real    a_qi             ikjftb   a_moist       1         -     \
459    i0rhusdf=(bdy_interp:dt)  "A_QICE"             "Ice mixing ratio"              "kg kg-1"
460 state   real    a_qi2            ikjftb   a_moist       1         -     \
461    i0rhusdf=(bdy_interp:dt)  "A_QICE2"            "Ice mixing ratio cat 2"        "kg kg-1"
462 state   real    a_qs             ikjftb   a_moist       1         -     \
463    i0rhusdf=(bdy_interp:dt)  "A_QSNOW"            "Snow mixing ratio"             "kg kg-1"
464 state   real    a_qg             ikjftb   a_moist       1         -     \
465    i0rhusdf=(bdy_interp:dt)  "A_QGRAUP"           "Graupel mixing ratio"          "kg kg-1"
466 state   real    a_qh             ikjftb   a_moist       1         -     \
467    i0rhusdf=(bdy_interp:dt)  "A_QHAIL"            "Hail mixing ratio"             "kg kg-1"
469 state   real    -              ikjftb   g_moist       1         -     -    -
470 state   real    g_qv             ikjftb   g_moist       1         -     \
471    i0rhusdf=(bdy_interp:dt)  "G_QVAPOR"           "Water vapor mixing ratio"      "kg kg-1"
472 state   real    g_qc             ikjftb   g_moist       1         -     \
473    i0rhusdf=(bdy_interp:dt)  "G_QCLOUD"           "Cloud water mixing ratio"      "kg kg-1"
474 state   real    g_qr             ikjftb   g_moist       1         -     \
475    i0rhusdf=(bdy_interp:dt)  "G_QRAIN"            "Rain water mixing ratio"       "kg kg-1"
476 state   real    g_qi             ikjftb   g_moist       1         -     \
477    i0rhusdf=(bdy_interp:dt)  "G_QICE"             "Ice mixing ratio"              "kg kg-1"
478 state   real    g_qi2            ikjftb   g_moist       1         -     \
479    i0rhusdf=(bdy_interp:dt)  "G_QICE2"            "Ice mixing ratio cat 2"        "kg kg-1"
480 state   real    g_qs             ikjftb   g_moist       1         -     \
481    i0rhusdf=(bdy_interp:dt)  "G_QSNOW"            "Snow mixing ratio"             "kg kg-1"
482 state   real    g_qg             ikjftb   g_moist       1         -     \
483    i0rhusdf=(bdy_interp:dt)  "G_QGRAUP"           "Graupel mixing ratio"          "kg kg-1"
484 state   real    g_qh             ikjftb   g_moist       1         -     \
485    i0rhusdf=(bdy_interp:dt)  "G_QHAIL"            "Hail mixing ratio"             "kg kg-1"
487 # JC_DFI variables
488 state   real   jcdfi_u           ikj   misc        1         -     -    "U_JCDFI"               "u accumulation array"          "   "
489 state   real   jcdfi_v           ikj   misc        1         -     -    "V_JCDFI"               "v accumulation array"          "   "
490 state   real   jcdfi_t           ikj   misc        1         -     -    "T_JCDFI"               "t accumulation array"          "   "
491 state   real   jcdfi_p           ikj   misc        1         -     -    "P_JCDFI"               "p accumulation array"          "Pa"
493 # Other Scalars
494 state   real    -              ikjftb  a_scalar      1         -     -   -
495 state   real    a_qndrop         ikjftb  a_scalar      1         -     \
496    i0rhusdf=(bdy_interp:dt)    "A_QNDROP"        "Droplet number mixing ratio"        "# kg-1"
497 state   real    a_qni            ikjftb  a_scalar      1         -     \
498    i0rhusdf=(bdy_interp:dt)    "A_QNICE"         "Ice Number concentration" "# kg-1"
499 state   real    a_qt             ikjftb  a_scalar      1         -     \
500    i0rhusdf=(bdy_interp:dt)    "A_CWM"           "Total condensate mixing ratio"      "kg kg-1"
501 state   real    a_qns            ikjftb  a_scalar      1         -     \
502    i0rhusdf=(bdy_interp:dt)    "A_QNSNOW"         "Snow Number concentration"   "# kg(-1)"
503 state   real    a_qnr            ikjftb  a_scalar      1         -     \
504    i0rhusdf=(bdy_interp:dt)    "A_QNRAIN"        "Rain Number concentration"   "# kg(-1)"
505 state   real    a_qng            ikjftb  a_scalar      1         -     \
506    i0rhusdf=(bdy_interp:dt)    "A_QNGRAUPEL"     "Graupel Number concentration" "# kg(-1)"
507 state   real    a_qnh            ikjftb  a_scalar      1         -     \
508    i0rhusdf=(bdy_interp:dt)    "A_QNHAIL"        "Hail Number concentration" "# kg(-1)"
509 state   real    a_qnn            ikjftb  a_scalar      1         -     \
510    i0rhusdf=(bdy_interp:dt)    "A_QNCCN"         "CCN Number concentration" "# kg(-1)"
511 state   real    a_qnc            ikjftb  a_scalar      1         -     \
512    i0rhusdf=(bdy_interp:dt)    "A_QNCLOUD"       "cloud water Number concentration" "# kg(-1)"
513 state   real    a_qnwfa          ikjftb  a_scalar      1         -     \
514    i0rhusdf=(bdy_interp:dt)    "A_QNWFA"         "water-friendly aerosol number con" "# kg(-1)"
515 state   real    a_qnifa          ikjftb  a_scalar      1         -     \
516    i0rhusdf=(bdy_interp:dt)    "A_QNIFA"         "ice-friendly aerosol number con"   "# kg(-1)"
517 state   real    a_qvolg          ikjftb  a_scalar      1         -     \
518    i0rhusdf=(bdy_interp:dt)    "A_QVGRAUPEL"     "Graupel Particle Volume" "m(3) kg(-1)"
519 state   real    a_qvolh          ikjftb  a_scalar      1         -     \
520    i0rhusdf=(bdy_interp:dt)    "A_QVHAIL"        "Hail Particle Volume" "m(3) kg(-1)"
521 state   real    a_qrimef         ikjftb  a_scalar      1         -     \
522    i0rhusdf=(bdy_interp:dt)    "A_QRIMEF"        "rime factor * qi" "kg kg-1"
523 #-------------------------------ntu3m------------------------------------------------------------------
524 state   real    a_qdcn           ikjftb  a_scalar      1         -     \
525    i0rhusdf=(bdy_interp:dt)    "A_QDCN"          "Mass mixing ratio for dry CN" "kg kg-1"
526 state   real    a_qtcn           ikjftb  a_scalar      1         -     \
527    i0rhusdf=(bdy_interp:dt)    "A_QTCN"          "Mass mixing ratio for total CN" "kg kg-1"
528 state   real    a_qccn           ikjftb  a_scalar      1         -     \
529    i0rhusdf=(bdy_interp:dt)    "A_QCCN"          "Mass mixing ratio for cloud CN" "kg kg-1"
530 state   real    a_qrcn           ikjftb  a_scalar      1         -     \
531    i0rhusdf=(bdy_interp:dt)    "A_QRCN"          "Mass mixing ratio for rain CN" "kg kg-1"
532 state   real    a_qnin           ikjftb  a_scalar      1         -     \
533    i0rhusdf=(bdy_interp:dt)    "A_QNIN"          "Potential ice nuclei number mixing ratio" "# kg-1"
534 state   real    a_fi             ikjftb  a_scalar      1         -     \
535    i0rhusdf=(bdy_interp:dt)    "A_FI"            "Shape moment mixing ratio for pristine ice" "kg kg-1"
536 state   real    a_fs             ikjftb  a_scalar      1         -     \
537    i0rhusdf=(bdy_interp:dt)    "A_FS"            "Shape moment mixing ratio for snow-aggregates" "kg kg-1"
538 state   real    a_vi             ikjftb  a_scalar      1         -     \
539    i0rhusdf=(bdy_interp:dt)    "A_VI"            "Volume moment mixing ratio for pristine ice" "m^3 kg-1"
540 state   real    a_vs             ikjftb  a_scalar      1         -     \
541    i0rhusdf=(bdy_interp:dt)    "A_VS"            "Volume moment mixing ratio for snow-aggregates" "m^3 kg-1"
542 state   real    a_vg             ikjftb  a_scalar      1         -     \
543    i0rhusdf=(bdy_interp:dt)    "A_VG"            "Volume moment mixing ratio for rimed ice" "m^3 kg-1"
544 state   real    a_ai             ikjftb  a_scalar      1         -     \
545    i0rhusdf=(bdy_interp:dt)    "A_AI"            "Second moment mixing ratio for pristine ice" "kg kg-1"
546 state   real    a_as             ikjftb  a_scalar      1         -     \
547    i0rhusdf=(bdy_interp:dt)    "A_AS"            "Second moment mixing ratio for snow-aggregates" "kg kg-1"
548 state   real    a_ag             ikjftb  a_scalar      1         -     \
549    i0rhusdf=(bdy_interp:dt)    "A_AG"            "Second moment mixing ratio for rimed ice" "kg kg-1"
550 state   real    a_ah             ikjftb  a_scalar      1         -     \
551    i0rhusdf=(bdy_interp:dt)    "A_AH"            "Second moment mixing ratio for hail" "kg kg-1"
552 state   real    a_i3m            ikjftb  a_scalar      1         -     \
553    i0rhusdf=(bdy_interp:dt)    "A_I3M"           "Third moment mixing ratio for pristine ice" "kg kg-1"
554 #-------------------------------ntu3m------------------------------------------------------------------
556 state   real    -              ikjftb  g_scalar      1         -     -   -
557 state   real    g_qndrop         ikjftb  g_scalar      1         -     \
558    i0rhusdf=(bdy_interp:dt)    "G_QNDROP"        "Droplet number mixing ratio"        "# kg-1"
559 state   real    g_qni            ikjftb  g_scalar      1         -     \
560    i0rhusdf=(bdy_interp:dt)    "G_QNICE"         "Ice Number concentration" "# kg-1"
561 state   real    g_qt             ikjftb  g_scalar      1         -     \
562    i0rhusdf=(bdy_interp:dt)    "G_CWM"           "Total condensate mixing ratio"      "kg kg-1"
563 state   real    g_qns            ikjftb  g_scalar      1         -     \
564    i0rhusdf=(bdy_interp:dt)    "G_QNSNOW"         "Snow Number concentration"   "# kg(-1)"
565 state   real    g_qnr            ikjftb  g_scalar      1         -     \
566    i0rhusdf=(bdy_interp:dt)    "G_QNRAIN"        "Rain Number concentration"   "# kg(-1)"
567 state   real    g_qng            ikjftb  g_scalar      1         -     \
568    i0rhusdf=(bdy_interp:dt)    "G_QNGRAUPEL"     "Graupel Number concentration" "# kg(-1)"
569 state   real    g_qnh            ikjftb  g_scalar      1         -     \
570    i0rhusdf=(bdy_interp:dt)    "G_QNHAIL"        "Hail Number concentration" "# kg(-1)"
571 state   real    g_qnn            ikjftb  g_scalar      1         -     \
572    i0rhusdf=(bdy_interp:dt)    "G_QNCCN"         "CCN Number concentration" "# kg(-1)"
573 state   real    g_qnc            ikjftb  g_scalar      1         -     \
574    i0rhusdf=(bdy_interp:dt)    "G_QNCLOUD"       "cloud water Number concentration" "# kg(-1)"
575 state   real    g_qnwfa          ikjftb  g_scalar      1         -     \
576    i0rhusdf=(bdy_interp:dt)    "G_QNWFA"         "water-friendly aerosol number con" "# kg(-1)"
577 state   real    g_qnifa          ikjftb  g_scalar      1         -     \
578    i0rhusdf=(bdy_interp:dt)    "G_QNIFA"         "ice-friendly aerosol number con"   "# kg(-1)"
579 state   real    g_qvolg          ikjftb  g_scalar      1         -     \
580    i0rhusdf=(bdy_interp:dt)    "G_QVGRAUPEL"     "Graupel Particle Volume" "m(3) kg(-1)"
581 state   real    g_qvolh          ikjftb  g_scalar      1         -     \
582    i0rhusdf=(bdy_interp:dt)    "G_QVHAIL"        "Hail Particle Volume" "m(3) kg(-1)"
583 state   real    g_qrimef         ikjftb  g_scalar      1         -     \
584    i0rhusdf=(bdy_interp:dt)    "G_QRIMEF"        "rime factor * qi" "kg kg-1"
585 #-----------------------------------------ntu3m----------------------------------------------------------------------
586 state   real    g_qdcn         ikjftb  g_scalar      1         -     \
587    i0rhusdf=(bdy_interp:dt)    "G_QDCN"         "Mass mixing ratio for dry CN" "kg kg-1"
588 state   real    g_qtcn         ikjftb  g_scalar      1         -     \
589    i0rhusdf=(bdy_interp:dt)    "G_QTCN"         "Mass mixing ratio for total CN" "kg kg-1"
590 state   real    g_qccn         ikjftb  g_scalar      1         -     \
591    i0rhusdf=(bdy_interp:dt)    "G_QCCN"         "Mass mixing ratio for cloud CN" "kg kg-1"
592 state   real    g_qrcn         ikjftb  g_scalar      1         -     \
593    i0rhusdf=(bdy_interp:dt)    "G_QRCN"         "Mass mixing ratio for rain CN" "kg kg-1"
594 state   real    g_qnin         ikjftb  g_scalar      1         -     \
595    i0rhusdf=(bdy_interp:dt)    "G_QNIN"         "Potential ice nuclei number mixing ratio" "# kg-1"
596 state   real    g_fi           ikjftb  g_scalar      1         -     \
597    i0rhusdf=(bdy_interp:dt)    "G_FI"           "Shape moment mixing ratio for pristine ice" "kg kg-1"
598 state   real    g_fs           ikjftb  g_scalar      1         -     \
599    i0rhusdf=(bdy_interp:dt)    "G_FS"           "Shape moment mixing ratio for snow-aggregates" "kg kg-1"
600 state   real    g_vi           ikjftb  g_scalar      1         -     \
601    i0rhusdf=(bdy_interp:dt)    "G_VI"           "Volume moment mixing ratio for pristine ice" "m^3 kg-1"
602 state   real    g_vs           ikjftb  g_scalar      1         -     \
603    i0rhusdf=(bdy_interp:dt)    "G_VS"           "Volume moment mixing ratio for snow-aggregates" "m^3 kg-1"
604 state   real    g_vg           ikjftb  g_scalar      1         -     \
605    i0rhusdf=(bdy_interp:dt)    "G_VG"           "Volume moment mixing ratio for rimed ice" "m^3 kg-1"
606 state   real    g_ai           ikjftb  g_scalar      1         -     \
607    i0rhusdf=(bdy_interp:dt)    "G_AI"           "Second moment mixing ratio for pristine ice" "kg kg-1"
608 state   real    g_as           ikjftb  g_scalar      1         -     \
609    i0rhusdf=(bdy_interp:dt)    "G_AS"           "Second moment mixing ratio for snow-aggreagtes" "kg kg-1"
610 state   real    g_ag           ikjftb  g_scalar      1         -     \
611    i0rhusdf=(bdy_interp:dt)    "G_AG"           "Second moment mixing ratio for rimed ice" "kg kg-1"
612 state   real    g_ah           ikjftb  g_scalar      1         -     \
613    i0rhusdf=(bdy_interp:dt)    "G_AH"           "Second moment mixing ratio for hail" "kg kg-1"
614 state   real    g_i3m          ikjftb  g_scalar      1         -     \
615    i0rhusdf=(bdy_interp:dt)    "G_I3M"          "Third moment mixing ratio for pristine ice" "kg kg-1"
616 #-----------------------------------------ntu3m----------------------------------------------------------------------
618 # Placeholder for decoupled advective tendency diagnostics for non-chem
619 state   real  -               ikjf      g_advh_t      1         -     -         -
620 state   real  g_advh_qv       ikjf      g_advh_t      1         -     -         "g_advh_qv"    "ACCUMULATED HORIZONTAL TENDENCY FOR WATER VAPOR"        "kg kg-1"
622 state   real  -               ikjf      g_advz_t      1         -     -         -
623 state   real  g_advz_qv       ikjf      g_advz_t      1         -     -         "g_advz_qv"    "ACCUMULATED VERTICAL TENDENCY FOR WATER VAPOR"          "kg kg-1"
625 state   real  -               ikjf      a_advh_t      1         -     -         -
626 state   real  a_advh_qv       ikjf      a_advh_t      1         -     -         "a_advh_qv"    "ACCUMULATED HORIZONTAL TENDENCY FOR WATER VAPOR"        "kg kg-1"
628 state   real  -               ikjf      a_advz_t      1         -     -         -
629 state   real  a_advz_qv       ikjf      a_advz_t      1         -     -         "a_advz_qv"    "ACCUMULATED VERTICAL TENDENCY FOR WATER VAPOR"          "kg kg-1"
631 # gfdl (eta) radiation State Variables
632 state    real    g_HTOP            ij     misc        1         -      r        "g_HTOP"                 "TOP OF CONVECTION LEVEL"         ""
633 state    real    a_HTOP            ij     misc        1         -      r        "a_HTOP"                 "TOP OF CONVECTION LEVEL"         ""
634 state    real    g_HBOT            ij     misc        1         -      r        "g_HBOT"                 "BOT OF CONVECTION LEVEL"         ""
635 state    real    a_HBOT            ij     misc        1         -      r        "a_HBOT"                 "BOT OF CONVECTION LEVEL"         ""
636 state    real    g_CUTOP           ij     misc        1         -      r        "g_CUTOP"                "TOP OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
637 state    real    a_CUTOP           ij     misc        1         -      r        "a_CUTOP"                "TOP OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
638 state    real    g_CUBOT           ij     misc        1         -      r        "g_CUBOT"                "BOT OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
639 state    real    a_CUBOT           ij     misc        1         -      r        "a_CUBOT"                "BOT OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
640 state    REAL    g_CUPPT           ij     misc        1         -      r        "g_CUPPT"                "ACCUMULATED CONVECTIVE RAIN SINC LAST CALL TO THE RADIATION"         ""
641 state    REAL    a_CUPPT           ij     misc        1         -      r        "a_CUPPT"                "ACCUMULATED CONVECTIVE RAIN SINC LAST CALL TO THE RADIATION"         ""
643 # MYNN PBL variables
644 state   real   g_qke_adv        ikjftb  g_scalar      1         -      i0rusdf=(bdy_interp:dt) "g_qke_adv"       "twice TKE from MYNN"      "m2 s-2"
645 state   real   a_qke_adv        ikjftb  a_scalar      1         -      i0rusdf=(bdy_interp:dt) "a_qke_adv"       "twice TKE from MYNN"      "m2 s-2"
647 # Chem Scalars
648 state   real    -              ikjftb   g_chem        1         -     -    -
649 state   real    -              ikjftb   a_chem        1         -     -    -
651 # Tracer Scalars: If you want full resolved and non-resolved dispersion, compile WRF-Chem
653 state   real    -          ikjftb  g_tracer        1         -     -    -
654 state   real    g_tr17_1     ikjftb  g_tracer        1         -     irh    "g_tr17_1"         "g_tr17_1"          -
655 state   real    g_tr17_2     ikjftb  g_tracer        1         -     irh    "g_tr17_2"         "g_tr17_2"          -
656 state   real    g_tr17_3     ikjftb  g_tracer        1         -     irh    "g_tr17_3"         "g_tr17_3"          -
657 state   real    g_tr17_4     ikjftb  g_tracer        1         -     irh    "g_tr17_4"         "g_tr17_4"          -
658 state   real    g_tr17_5     ikjftb  g_tracer        1         -     irh    "g_tr17_5"         "g_tr17_5"          -
659 state   real    g_tr17_6     ikjftb  g_tracer        1         -     irh    "g_tr17_6"         "g_tr17_6"          -
660 state   real    g_tr17_7     ikjftb  g_tracer        1         -     irh    "g_tr17_7"         "g_tr17_7"          -
661 state   real    g_tr17_8     ikjftb  g_tracer        1         -     irh    "g_tr17_8"         "g_tr17_8"
663 state   real    -          ikjftb  a_tracer        1         -     -    -
664 state   real    a_tr17_1     ikjftb  a_tracer        1         -     irh    "a_tr17_1"         "a_tr17_1"          -
665 state   real    a_tr17_2     ikjftb  a_tracer        1         -     irh    "a_tr17_2"         "a_tr17_2"          -
666 state   real    a_tr17_3     ikjftb  a_tracer        1         -     irh    "a_tr17_3"         "a_tr17_3"          -
667 state   real    a_tr17_4     ikjftb  a_tracer        1         -     irh    "a_tr17_4"         "a_tr17_4"          -
668 state   real    a_tr17_5     ikjftb  a_tracer        1         -     irh    "a_tr17_5"         "a_tr17_5"          -
669 state   real    a_tr17_6     ikjftb  a_tracer        1         -     irh    "a_tr17_6"         "a_tr17_6"          -
670 state   real    a_tr17_7     ikjftb  a_tracer        1         -     irh    "a_tr17_7"         "a_tr17_7"          -
671 state   real    a_tr17_8     ikjftb  a_tracer        1         -     irh    "a_tr17_8"         "a_tr17_8"
673 state    real    g_th_old         ikj   misc        1         -    i01rusd    "g_TH_OLD"        "Old Value of Th"   "K"
674 state    real    g_qv_old         ikj   misc        1         -    i01rusd    "g_QV_OLD"        "Old Value of qv"   "kg kg^-1"
675 state    real    a_th_old         ikj   misc        1         -    i01rusd    "a_TH_OLD"        "Old Value of Th"   "K"
676 state    real    a_qv_old         ikj   misc        1         -    i01rusd    "a_QV_OLD"        "Old Value of qv"   "kg kg^-1"
678 #---------------------------------------------------------------------------------------------------------------------------------------
679 # Package Declarations
682 #key      package       associated                package          associated 4d scalars
683 #         name          namelist choice           state vars
685 package   dyn_em        dyn_opt==2                   -             -
686 package   dyn_em_check  dyn_opt==102                 -             -
687 package   dyn_em_tl     dyn_opt==202                 -             -
688 package   dyn_em_ad     dyn_opt==302                 -             -
690 package   jcdfi_off     jcdfi_diag==0                  -             -
691 package   jcdfi_on      jcdfi_diag==1                  -             state:jcdfi_u,jcdfi_v,jcdfi_t,jcdfi_p
693 package   lscondscheme   mp_physics==98              -             moist:qv
694 package   mkesslerscheme mp_physics==99              -             moist:qv,qc,qr
695 package   surfdragscheme bl_pbl_physics==98          -             -
696 package   ducuscheme     cu_physics==98              -             -
698 halo      HALO_EM_PHYS_A_BL_SURF  dyn_em 4:xland
700 ## communications                                               
702 ### 8. Edit the Registry file and create a halo-exchange for x_1.
704 halo_nta      HALO_EM_INIT_1 dyn_em 48:u_1,u_2,v_1,v_2,w_1,w_2,ph_1,ph_2
705 halo_nta      HALO_EM_INIT_2 dyn_em 48:t_1,t_2,mu_1,mu_2,tke_1,tke_2,ww
706 halo_nta      HALO_EM_INIT_3 dyn_em 48:php,p,al,alt
707 halo_nta      HALO_EM_INIT_4 dyn_em 48:h_diabatic,qv_diabatic,qc_diabatic
708 halo_nta      HALO_EM_INIT_5 dyn_em 48:moist,scalar,tracer
709 halo_nta      HALO_EM_A dyn_em  8:ru,rv,rw,ww,php,alt,al,p,muu,muv,mut
710 halo_nta      HALO_EM_B dyn_em 4:ph_2,al,p,t_1,t_save,u_save,v_save,mu_1,mu_2,mudf,php,alt
711 halo_nta      HALO_EM_C dyn_em    4:u_2,v_2
712 halo_nta      HALO_EM_C2 dyn_em    4:ph_2,al,p,mu_2,muts,mudf
713 halo_nta      HALO_EM_D dyn_em    24:ru_m,rv_m,ww_m,mut,muts
714 halo_nta      HALO_EM_D2_3 dyn_em 24:u_2,v_2,w_2,t_2,ph_2;24:moist,chem,tracer,scalar;4:mu_2,al
715 halo_nta      HALO_EM_D2_5 dyn_em 48:u_2,v_2,w_2,t_2,ph_2;24:moist,chem,tracer,scalar;4:mu_2,al
716 halo_nta      HALO_EM_D3_3 dyn_em 24:u_1,u_2,v_1,v_2,w_1,w_2,t_1,t_2,ph_1,ph_2,tke_1,tke_2,moist,chem,tracer,scalar;4:mu_1,mu_2
717 halo_nta      HALO_EM_D3_5 dyn_em 48:u_1,u_2,v_1,v_2,w_1,w_2,t_1,t_2,ph_1,ph_2,tke_1,tke_2,moist,chem,tracer,scalar;4:mu_1,mu_2
718 halo_nta      HALO_EM_E_3 dyn_em 24:u_1,u_2,v_1,v_2,w_1,w_2,t_1,t_2,ph_1,ph_2,tke_1,tke_2,;4:mu_1,mu_2
719 halo_nta      HALO_EM_E_5 dyn_em 48:u_1,u_2,v_1,v_2,w_1,w_2,t_1,t_2,ph_1,ph_2,tke_1,tke_2,;4:mu_1,mu_2
720 halo_nta      HALO_EM_SBM dyn_em 8:p_phy,pi_phy,dz8w,th_phy,rho,qv_old,th_old,u_phy,v_phy
721 halo_nta      HALO_EM_HYDRO_UV   dyn_em 8:u_2,v_2
722 halo_nta      HALO_EM_MOIST_E_3 dyn_em 24:moist
723 halo_nta      HALO_EM_MOIST_E_5 dyn_em 48:moist
724 halo_nta      HALO_EM_MOIST_E_7 dyn_em 80:moist
725 halo_nta      HALO_EM_MOIST_OLD_E_5 dyn_em 48:moist_old
726 halo_nta      HALO_EM_MOIST_OLD_E_7 dyn_em 80:moist_old
727 halo_nta      HALO_EM_TKE_C dyn_em 8:u_2,v_2,z,zx,zy,rdz,rdzw,ustm,ust
728 halo_nta      HALO_EM_TKE_D dyn_em 8:defor11,defor22,defor33,defor12,defor13,defor23,div
729 halo_nta      HALO_EM_TKE_E dyn_em 8:xkmv,xkmh,xkhv,xkhh,BN2,moist,rho
730 halo_nta      HALO_EM_TKE_3 dyn_em   24:tke_1,tke_2
731 halo_nta      HALO_EM_TKE_5 dyn_em   48:tke_1,tke_2
732 halo_nta      HALO_EM_TKE_7 dyn_em   80:tke_1,tke_2
733 halo_nta      HALO_EM_TKE_OLD_E_5 dyn_em   48:tke_1
734 halo_nta      HALO_EM_TKE_OLD_E_7 dyn_em   80:tke_1
735 halo_nta      HALO_EM_TKE_ADVECT_3 dyn_em 24:tke_2
736 halo_nta      HALO_EM_TKE_ADVECT_5 dyn_em 48:tke_2
737 halo_nta      HALO_EM_PHYS_A  dyn_em 4:u_2,v_2
738 halo_nta      HALO_EM_PHYS_PBL dyn_em        4:rublten,rvblten
739 halo_nta      HALO_EM_PHYS_DIFFUSION dyn_em  4:defor11,defor22,defor12,defor13,defor23,div,xkmv,xkmh,xkhv,xkhh,tke_1,tke_2
740 halo_nta      HALO_EM_BDY  dyn_em 4:u_1,v_1,ph_1,mu_1,t_1,tke_1
741 halo_nta      HALO_EM_E  dyn_em 4:mu_1
742 halo_nta      HALO_EM_TRACER_E_3 dyn_em 24:tracer
743 halo_nta      HALO_EM_TRACER_E_5 dyn_em 48:tracer
744 halo_nta      HALO_EM_TRACER_E_7 dyn_em 80:tracer
745 halo_nta      HALO_EM_TRACER_OLD_E_5 dyn_em 48:tracer_old
746 halo_nta      HALO_EM_TRACER_OLD_E_7 dyn_em 80:tracer_old
747 halo          HALO_GSI_EM_E          dyn_em 4:mu_2,mub
748 halo          HALO_GSI_EM_E_TL       dyn_em 4:g_mu_2,mu_2,mub
749 halo          HALO_GSI_EM_BDY        dyn_em 4:a_u_1,a_v_1,a_ph_1,a_mu_1,a_t_1,a_w_1
751 #halo      HALO_EM_MU_AD dyn_em  4:a_muu,a_muv,a_mu_2,a_ru,a_rv
752 #halo      HALO_EM_SAVE_AD dyn_em  4:a_ph_save,a_t_save,a_u_save,a_v_save
755 # BEGIN XTRAJ_TYPE DEFINITION:
756 #      <Table>  <Type>  <Sym>                <Dims>   <Use>   <NumTLev> <Stagger> <IO>     <DNAME>             <DESCRIP>     <UNITS>
757 #typedef ad_forcing_type real    a_u_2                  ikj      -         1        X       -
758 #typedef ad_forcing_type real    a_v_2                  ikj      -         1        Y       -
759 #typedef ad_forcing_type real    a_w_2                  ikj      -         1        Z       -
760 #typedef ad_forcing_type real    a_ph_2                 ikj      -         1        Z       -
761 #typedef ad_forcing_type real    a_t_2                  ikj      -         1        -       -
762 #typedef ad_forcing_type real    a_mu_2                 ij       -         1        -       -
763 #typedef ad_forcing_type real    a_qv                   ikj      -         1        -       -
764 #typedef ad_forcing_type real    a_qc                   ikj      -         1        -       -
765 #typedef ad_forcing_type real    a_qr                   ikj      -         1        -       -
766 #typedef ad_forcing_type real    a_qi                   ikj      -         1        -       -
767 #typedef ad_forcing_type real    a_qs                   ikj      -         1        -       -
768 #typedef ad_forcing_type real    a_qg                   ikj      -         1        -       -
769 #typedef ad_forcing_type real    a_qh                   ikj      -         1        -       -
772 #typedef xtraj_type real    lu_index               ij       -         1        -       -
773 #typedef xtraj_type real    znu                    k        -         1        -       -
774 #typedef xtraj_type real    znw                    k        -         1        Z       -
775 #typedef xtraj_type real    zs                     l        -         -        Z       -
776 #typedef xtraj_type real    dzs                    l        -         -        Z       -
777 #typedef xtraj_type real    u_2                    ikj      -         1        X       -
778 #typedef xtraj_type real    v_2                    ikj      -         1        Y       -
779 #typedef xtraj_type real    w_2                    ikj      -         1        Z       -
780 #typedef xtraj_type real    ph_2                   ikj      -         1        Z       -
781 #typedef xtraj_type real    phb                    ikj      -         1        Z       -
782 #typedef xtraj_type real    t_2                    ikj      -         1        -       -
783 #typedef xtraj_type real    mu_2                   ij       -         1        -       -
784 #typedef xtraj_type real    mub                    ij       -         1        -       -
785 #typedef xtraj_type real    p                      ikj      -         1        -       -
786 #typedef xtraj_type real    al                     ikj      -         1        -       -
787 #typedef xtraj_type real    alt                    ikj      -         1        -       -
788 #typedef xtraj_type real    alb                    ikj      -         1        -       -
789 #typedef xtraj_type real    pb                     ikj      -         1        -       -
790 #typedef xtraj_type real    fnm                    k        -         1        -       -
791 #typedef xtraj_type real    fnp                    k        -         1        -       -
792 #typedef xtraj_type real    rdnw                   k        -         1        -       -
793 #typedef xtraj_type real    rdn                    k        -         1        -       -
794 #typedef xtraj_type real    dnw                    k        -         1        -       -
795 #typedef xtraj_type real    dn                     k        -         1        -       -
796 #typedef xtraj_type real    cfn                    -        -         -        -       -
797 #typedef xtraj_type real    cfn1                   -        -         -        -       -
798 #typedef xtraj_type real    q2                     ij       -         1        -       -
799 #typedef xtraj_type real    t2                     ij       -         1        -       -
800 #typedef xtraj_type real    psfc                   ij       -         1        -       -
801 #typedef xtraj_type real    th2                    ij       -         1        -       -
802 #typedef xtraj_type real    u10                    ij       -         1        -       -
803 #typedef xtraj_type real    v10                    ij       -         1        -       -
804 #typedef xtraj_type real    rdx                    -        -         -        -       -
805 #typedef xtraj_type real    rdy                    -        -         -        -       -
806 #typedef xtraj_type real    dts                    -        -         -        -       -
807 #typedef xtraj_type real    dtseps                 -        -         -        -       -
808 #typedef xtraj_type real    resm                   -        -         -        -       -
809 #typedef xtraj_type real    zetatop                -        -         -        -       -
810 #typedef xtraj_type real    cf1                    -        -         -        -       -
811 #typedef xtraj_type real    cf2                    -        -         -        -       -
812 #typedef xtraj_type real    cf3                    -        -         -        -       -
813 #typedef xtraj_type real    fcx                    w        -         -        -       -
814 #typedef xtraj_type real    gcx                    w        -         -        -       -
815 #typedef xtraj_type real    dtbc                   -        -         -        -       -
816 #typedef xtraj_type real    landmask               ij       -         1        -       -
817 #typedef xtraj_type real    tslb                   ilj      -         1        Z       -
818 #typedef xtraj_type real    smois                  ilj      -         1        Z       -
819 #typedef xtraj_type real    sh2o                   ilj      -         1        Z       -
820 #typedef xtraj_type real    smcrel                 ilj      -         1        Z       -
821 #typedef xtraj_type real    xice                   ij       -         1        -       -
822 #typedef xtraj_type real    ivgtyp                 ij       -         1        -       -
823 #typedef xtraj_type real    isltyp                 ij       -         1        -       -
824 #typedef xtraj_type real    vegfra                 ij       -         1        -       -
825 #typedef xtraj_type real    snow                   ij       -         1        -       -
826 #typedef xtraj_type real    snowc                  ij       -         1        -       -
827 #typedef xtraj_type real    snowh                  ij       -         1        -       -
828 #typedef xtraj_type real    canwat                 ij       -         1        -       -
829 #typedef xtraj_type real    sst                    ij       -         1        -       -
830 #typedef xtraj_type real    msft                   ij       -         1        -       -
831 #typedef xtraj_type real    msfu                   ij       -         1        X       -
832 #typedef xtraj_type real    msfv                   ij       -         1        Y       -
833 #typedef xtraj_type real    f                      ij       -         1        -       -
834 #typedef xtraj_type real    e                      ij       -         1        -       -
835 #typedef xtraj_type real    sina                   ij       -         1        -       -
836 #typedef xtraj_type real    cosa                   ij       -         1        -       -
837 #typedef xtraj_type real    ht                     ij       -         1        -       -
838 #typedef xtraj_type real    tsk                    ij       -         1        -       -
839 #typedef xtraj_type real    xlat                   ij       -         1        -       -
840 #typedef xtraj_type real    xlong                  ij       -         1        -       -
841 #typedef xtraj_type real    albbck                 ij       -         1        -       -
842 #typedef xtraj_type real    tmn                    ij       -         1        -       -
843 #typedef xtraj_type real    xland                  ij       -         1        -       -
844 #typedef xtraj_type real    znt                    ij       -         1        -       -
845 #typedef xtraj_type real    qv                     ikj      -         1        -       -
846 #typedef xtraj_type real    qc                     ikj      -         1        -       -
847 #typedef xtraj_type real    qr                     ikj      -         1        -       -
848 #typedef xtraj_type real    qi                     ikj      -         1        -       -
849 #typedef xtraj_type real    qs                     ikj      -         1        -       -
850 #typedef xtraj_type real    qg                     ikj      -         1        -       -
851 #typedef xtraj_type real    qh                     ikj      -         1        -       -
852 # BEGIN XTRAJ_TYPE DEFINITION:
854 #Set state
855 #state xtraj_type xtraj - -
856 #state ad_forcing_type ad_forcing - -
858 rconfig   integer mp_physics_plus   derived   max_domains   0    -   "mp_physics_plus"   ""   "allocate a_ and g_ moist variables for selected microphysics package"
859 package   passiveqv_plus        mp_physics_plus==0      -          g_moist:g_qv;a_moist:a_qv
860 package   kessler_plus          mp_physics_plus==1      -          g_moist:g_qv,g_qc,g_qr;a_moist:a_qv,a_qc,a_qr
861 package   lins_plus             mp_physics_plus==2      -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr
862 package   wsm3_plus             mp_physics_plus==3      -          g_moist:g_qv,g_qc,g_qr;a_moist:a_qv,a_qc,a_qr
863 package   wsm5_plus             mp_physics_plus==4      -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs
864 package   fer_mp_hi_plus        mp_physics_plus==5      -          g_moist:g_qv,g_qc,g_qr,g_qi;a_moist:a_qv,a_qc,a_qr,a_qi
865 package   fer_mp_hi_advect_plus mp_physics_plus==15     -          g_moist:g_qv,g_qc,g_qr,g_qi;a_moist:a_qv,a_qc,a_qr,a_qi
866 package   wsm6_plus             mp_physics_plus==6      -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
867 package   gsfcgce_plus          mp_physics_plus==7      -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
868 package   thompson_plus         mp_physics_plus==8      -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
869 package   milbrandt2mom_plus    mp_physics_plus==9      -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg,g_qh;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg,a_qh
870 package   morr_two_mom_plus     mp_physics_plus==10     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
871 package   cammgmp_plus          mp_physics_plus==11     -          g_moist:g_qv,g_qc,g_qi,g_qr,g_qs;a_moist:a_qv,a_qc,a_qi,a_qr,a_qs
872 package   sbu_ylin_plus         mp_physics_plus==13     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs
873 package   wdm5_plus             mp_physics_plus==14     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs
874 package   wdm6_plus             mp_physics_plus==16     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
875 package   nssl_2mom_plus        mp_physics_plus==17     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg,g_qh;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg,a_qh
876 package   nssl_2momccn_plus     mp_physics_plus==18     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg,g_qh;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg,a_qh
877 package   nssl_1mom_plus        mp_physics_plus==19     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg,g_qh;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg,a_qh
878 package   nssl_1momlfo_plus     mp_physics_plus==21     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
879 package   nssl_2momg_plus       mp_physics_plus==22     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
880 package   thompsonaero_plus     mp_physics_plus==28     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
881 package   p3_1category_plus     mp_physics_plus==50     -          g_moist:g_qv,g_qc,g_qr,g_qi;a_moist:a_qv,a_qc,a_qr,a_qi
882 package   p3_1category_nc_plus  mp_physics_plus==51     -          g_moist:g_qv,g_qc,g_qr,g_qi;a_moist:a_qv,a_qc,a_qr,a_qi
883 package   p3_2category_4dvar    mp_physics_plus==52     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qi2;a_moist:a_qv,a_qc,a_qr,a_qi,a_qi2
884 package   morr_tm_aero_4dvar    mp_physics_plus==40     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
885 package   ntu_plus              mp_physics_plus==56     -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg,g_qh;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg,a_qh
886 package   etampnew_plus         mp_physics_plus==95     -          g_moist:g_qv,g_qc,g_qr,g_qs;a_moist:a_qv,a_qc,a_qr,a_qs
887 package   lscond_plus           mp_physics_plus==98     -          g_moist:g_qv;a_moist:a_qv
888 package   mkessler_plus         mp_physics_plus==99     -          g_moist:g_qv,g_qc,g_qr;a_moist:a_qv,a_qc,a_qr
889 package   wsm6r_plus            mp_physics_plus==106    -          g_moist:g_qv,g_qc,g_qr,g_qi,g_qs,g_qg;a_moist:a_qv,a_qc,a_qr,a_qi,a_qs,a_qg
891 rconfig   integer cu_used_plus    derived               1          0       -     "cu_used_plus"   "turn on if any cumulus scheme is used"
892 rconfig   integer shcu_used_plus  derived               1          0       -     "shcu_used_plus" "turn on if any shallow cumulus scheme is used"
893 package   no_cu_used_plus       cu_used_plus==0         -          -
894 package   any_cu_used_plus      cu_used_plus==1         -          state:g_rucuten,g_rvcuten,g_rthcuten,g_rqvcuten,g_rqrcuten,g_rqccuten,g_rqscuten,g_rqicuten,g_rqcncuten,g_rqincuten,a_rucuten,a_rvcuten,a_rthcuten,a_rqvcuten,a_rqrcuten,a_rqccuten,a_rqscuten,a_rqicuten,a_rqcncuten,a_rqincuten
895 package   no_shcu_used_plus    shcu_used_plus==0        -          -
896 package   any_shcu_used_plus   shcu_used_plus==1        -          state:g_rushten,g_rvshten,g_rthshten,g_rqvshten,g_rqrshten,g_rqcshten,g_rqsshten,g_rqishten,g_rqgshten,g_rqcnshten,g_rqinshten,a_rushten,a_rvshten,a_rthshten,a_rqvshten,a_rqrshten,a_rqcshten,a_rqsshten,a_rqishten,a_rqgshten,a_rqcnshten,a_rqinshten