source: trunk/mesoscale/LMD_LES_MARS/modif_mars/Registry.EM @ 29

Last change on this file since 29 was 17, checked in by aslmd, 15 years ago

spiga:mineur

File size: 169.6 KB
RevLine 
[17]1# Registry file, EM
2#                                               
3# At the present time this file is managed manually and edited by hand.                                         
4#                                               
5################################################################################
6# Dimension specifications
7#
8# This section of the Registry file is used to specify the dimensions
9# that will be used to define arrays. Dim is the one-letter name of the
10# dimension.  How defined can either be "standard_domain", which means
11# that the dimension (1) is one of the three spatial dimensions and (2)
12# it will be set using the standard namelist mechanism and domain data
13# structure dimension fields (e.g. sd31,ed31,sd32...).
14#
15# Order refers to which of the three sets of just-mentioned internal
16# dimension variables the dimension is referred to by in the driver.
17# That is, is it the first, second, or third dimension.  The registry
18# infers the mapping of its internal dimensions according to the
19# combination of Order and Coord-axis that are specified in this table.
20# Note that it is all right to more than one dimension name for, say, the
21# x dimension.  However, the Order and Coord-axis relationship must be
22# consistent throughout.
23#
24# Note: these entries do not enforce storage order on a particular field.
25# That is determined by the dimension strings for each field. But it does
26# relate the dimspec to the internal data structures that the driver uses
27# to maintain the three physical domain dimensions.
28#
29# "How defined" can also specify the name of a namelist variable from which
30# the definition for the dimension will come; this is specified as
31# "namelist=<variable name>".  The namelist variable must have been
32# defined as an integer and with only one entry in the rconfig table. Or
33# a constant can be specified.  The coordinate axis for the dimension is
34# either X, Y, Z, or C (for "not a spatial dimension").  The Dimname is
35# the descriptive name of the dimension that will be included in the
36# metadata in data sets.  Note that the b, f, and t modifiers that appear
37# as the last characters of dimension strings used # in state and # i1
38# registry definitions are not dimensions and do not need to be declared
39# here.
40#
41
42# Available characters for dimspec: 0123456789@%+=|?.!&[{}]
43
44#<Table>  <Dim>  <Order> <How defined>         <Coord-axis>  <Dimname in Datasets>
45dimspec    i      1     standard_domain              x          west_east
46dimspec    j      3     standard_domain              y          south_north
47dimspec    k      2     standard_domain              z          bottom_top
48dimspec    l      2     namelist=num_soil_layers     z          soil_layers
49dimspec    u      2     namelist=num_land_cat        z          land_cat
50dimspec    s      2     namelist=num_soil_cat        z          soil_cat
51dimspec    p      -     constant=7501                c          microphysics_rstrt_state
52dimspec    w      -     namelist=spec_bdy_width      c          spec_bdy_width
53dimspec    e      3     namelist=ensdim              z          ensemble dimension
54dimspec    n      1     namelist=dfi_time_dim        c          dfi time dimension
55dimspec    z      -     namelist=max_obs          c          max_obs
56dimspec    h      -     namelist=nobs_err_flds    c          nobs_err_flds
57dimspec    r      -     namelist=nobs_ndg_vars    c          nobs_ndg_vars
58dimspec    g      2     namelist=num_metgrid_levels  z          num_metgrid_levels
59dimspec    m      2     constant=12                  z          months_per_year
60dimspec    a      -     namelist=cam_abs_dim1     c          cam_abs_dim1
61dimspec    c      -     namelist=cam_abs_dim2     z          cam_abs_dim2
62dimspec    q      2     namelist=levsiz           z          levsiz
63dimspec    d      2     namelist=paerlev          z          paerlev
64dimspec    ?      -     namelist=ts_buf_size      c          ts_buf_size
65dimspec    !      -     namelist=max_ts_locs      c          max_ts_locs
66dimspec    v      -     constant=1                z          one
67
68
69################################################################################
70################################################################################
71################################################################################
72
73####MARS MARS MARS MARS MARS
74####MARS MARS MARS MARS MARS
75####
76#### variables physiques ecrites dans les fichiers WRF
77#### - h indique l'ecriture
78#### - en commentaire, les variables physiques dans physiq.F
79#### - utiliser le script automatique Registry.bash
80####
81#### YOU CAN OUTPUT ANY 2D OR 3D VARIABLE THAT IS AVAILABLE IN MESO_PHYSIQ.F
82####
83state  real  TSURF     ij   misc  1  -  rhd  "TSURF"     "SURF TEMPERATURE"                "K"       #SAVEMARS2 tsurf
84state  real  CO2ICE    ij   misc  1  -  rd   "CO2ICE"    "CO2 GROUND ICE"                  "kg"      #SAVEMARS2 co2ice
85state  real  EMISSIV   ij   misc  1  -  rd   "EMISSIV"   "EMISSIVITY"                      ""        #SAVEMARS2 emis
86state  real  THETA     ij   misc  1  -  rd   "THETA"     "SLOPE INCLINATION"               "deg"     #SAVEMARS2 theta_sl
87state  real  PSI       ij   misc  1  -  rd   "PSI"       "SLOPE ORIENTATION"               "deg"     #SAVEMARS2 psi_sl
88state  real  TAU_DUST  ij   misc  1  -  rd   "TAU_DUST"  "REFERENCE VISIBLE DUST OPACITY"  ""        #SAVEMARS2 tauref
89state  real  SWDOWNZ   ij   misc  1  -  rhd  "SWDOWNZ"   "DOWNWARD SW FLUX AT SURFACE"     "W m-2"   #SAVEMARS2 fluxsurf_sw_tot     
90state  real  LWDOWNZ   ij   misc  1  -  rhd  "LWDOWNZ"   "DOWNWARD LW FLUX AT SURFACE"     "W m-2"   #SAVEMARS2 fluxsurf_lw
91state  real  SWUP      ij   misc  1  -  rd   "SWUP"      "UPWARD SW FLUX AT TOP"           "W m-2"   #SAVEMARS2 fluxtop_sw_tot   
92state  real  LWUP      ij   misc  1  -  rd   "LWUP"      "UPWARD LW FLUX AT TOP"           "W m-2"   #SAVEMARS2 fluxtop_lw
93state  real  MTOT      ij   misc  1  -  rd   "MTOT"      "TOTAL MASS WATER VAPOR"          "kg m-2"  #SAVEMARS2 mtot
94state  real  ICETOT    ij   misc  1  -  rd   "ICETOT"    "TOTAL MASS WATER ICE"            "kg m-2"  #SAVEMARS2 icetot
95state  real  RAVE      ij   misc  1  -  rd   "RAVE"      "MEAN ICE RADIUS"                 "m"       #SAVEMARS2 rave
96state  real  RICE      ikj  misc  1  -  rd   "RICE"      "ICE RADIUS"                      "m"       #SAVEMARS3 rice
97####
98####
99####MARS MARS MARS MARS MARS
100####MARS MARS MARS MARS MARS
101
102####MARS MARS MARS MARS MARS
103####MARS MARS MARS MARS MARS
104####
105####
106#### TRACEURS: POUR L'INSTANT NE PAS CHANGER L'ORDRE (>> mais l'ordre n'est-il pas defini plus bas ? dans les options mars ?)
107#### - effacer le h si l'on veut eviter les sorties
108####
109state  real  -         ikjftb  scalar  1  -  -                         -
110state  real  QH2O      ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QH2O"       "Water vapor mixing ratio"   "kg kg-1"
111state  real  QH2O_ICE  ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QH2O_ICE"   "Water ice mixing ratio"     "kg kg-1"
112state  real  QDUST     ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QDUST"      "Dust mixing ratio"          "kg kg-1"
113####
114####
115####MARS MARS MARS MARS MARS
116####MARS MARS MARS MARS MARS
117
118
119
120
121#state    real   floob       ikjb     dyn_em      1         -   
122#state    real   floob_x     ikjx     dyn_em      1         -     
123#state    real   floob_y     ikjy     dyn_em      1         -
124#xpose FLOOB dyn_em floob,floob_x,floob_y
125
126#state real xxx ijk misc 2 - h6ud
127#halo  HALO_FLOOB dyn_em  4:xxx_2
128
129# Lines that start with the word 'state' form a table that is                                           
130# used by the script use_registry to generate module_state_descript.F                                           
131# and other files.  Also see documentation in use_registry.                                             
132#                                               
133# table entries are of the form                                         
134#<Table> <Type> <Sym>         <Dims>   <Use>   <NumTLev> <Stagger> <IO>     <DNAME>             <DESCRIP>     <UNITS>   
135#
136
137# It is required that LU_INDEX appears before any variable that is
138# interpolated with a mask, as lu_index supplies that mask.
139# this next 1 is for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
140# with wave model, only if compiled with -DMCELIO, JM 2003/05/29
141state    real  LU_INDEX         ij      misc        1         -     i02r01d=(interp_fcnm)u=(copy_fcnm)   "LU_INDEX"              "LAND USE CATEGORY"         ""
142state    real  LU_MASK          ij      misc        1         -     i3h1     "LU_MASK"              "0 land 1 water"         ""
143
144# znw, znu, dzs, and zs must be listed before any 3-d fields
145# in order for the grib output module to work correctly.  The grib output
146# module retrieves the vertical levels from these parameters.  If znw, znu
147# dzs, and zs are not listed first, vertical level will not be encoded at
148# time 0.
149
150state    real    znu            k       dyn_em      1         -     irh       "znu"  "eta values on half (mass) levels"  ""
151state    real    znw            k       dyn_em      1         Z     i01rh     "znw"  "eta values on full (w) levels"  ""
152state    real   ZS              l        misc      -         Z     ir       "ZS"                    "DEPTHS OF CENTERS OF SOIL LAYERS"         "m"
153state    real   DZS             l        misc      -         Z     ir       "DZS"                   "THICKNESSES OF SOIL LAYERS"               "m"
154
155#
156# Variables from WPS
157#
158state    real   u_gc           igj      dyn_em      1        XZ    i1  "UU"     "x-wind component"    "m s-1"
159state    real   v_gc           igj      dyn_em      1        YZ    i1  "VV"     "y-wind component"    "m s-1"
160state    real   t_gc           igj      dyn_em      1        Z     i1  "TT"     "temperature"         "K"
161state    real   rh_gc          igj      dyn_em      1        Z     i1  "RH"    "relative humidity"   "%"
162state    real   ght_gc         igj      dyn_em      1        Z     i1  "GHT"   "geopotential height" "m"
163state    real   p_gc           igj      dyn_em      1        Z     i1  "PRES"   "pressure"            "Pa"
164state    real   xlat_gc        ij       dyn_em      1        -     i1  "XLAT_M" "latitude, positive north" "degrees"
165state    real   xlong_gc       ij       dyn_em      1        -     i1  "XLONG_M" "longitude, positive east" "degrees"
166state    real   ht_gc          ij       dyn_em      1        -     i1  "HGT_M" "topography elevation" "m"
167state    real   tsk_gc         ij       dyn_em      1        -     i1  "SKINTEMP"  "skin temperature"  "K"
168state    real   tavgsfc        ij       dyn_em      1        -     i1  "TAVGSFC"  "daily mean of surface air temperature"  "K"
169state    real   tmn_gc         ij       dyn_em      1        -     i1  "SOILTEMP"  "annual mean deep soil temperature"  "K"
170state    real   pslv_gc        ij       dyn_em      1        -     i1  "PMSL"  "sea level pressure"  "Pa"
171state    real   greenfrac      imj      dyn_em      1        Z     i1  "GREENFRAC" "monthly greenness fraction" "0 - 1 fraction"
172state    real   albedo12m      imj      dyn_em      1        Z     i1  "ALBEDO12M" "background albedo" "0 - 1 fraction"
173state    real   pd_gc          igj      dyn_em      1        Z     -   "PD"    "dry pressure"        "Pa"
174state    real   psfc_gc        ij       dyn_em      1        -      -  "PSFC_GC"     "surface pressure"            "Pa"
175state    real   intq_gc        ij       dyn_em      1        -     -   "INTQ"  "integrated mixing ratio" "Pa"
176state    real   pdhs           ij       dyn_em      1        -     -   "PDHS"  "hydrostatic dry surface pressure" "Pa"
177state    real   qv_gc          igj      dyn_em      1        Z     i1  "QV"     "mixing ratio"        "kg kg-1"
178ifdef RUC_CLOUD
179state    real   qr_gc          igj      dyn_em      1        Z     i1  "QR"    "rain water mixing ratio"   "kg kg-1"
180state    real   qc_gc          igj      dyn_em      1        Z     i1  "QC"    "cloud water mixing ratio"   "kg kg-1"
181state    real   qs_gc          igj      dyn_em      1        Z     i1  "QS"    "snow mixing ratio"   "kg kg-1"
182state    real   qi_gc          igj      dyn_em      1        Z     i1  "QI"    "cloud ice mixing ratio"   "kg kg-1"
183state    real   qg_gc          igj      dyn_em      1        Z     i1  "QG"    "graupel mixing ratio"   "kg kg-1"
184state    real   qni_gc         igj      dyn_em      1        Z     i1  "QNI"   "ice no concentration"   "m-3"
185endif
186
187
188###MARS MARS MARS MARS MARS
189####MARS MARS MARS MARS MARS     
190####
191#### INITIALISATION
192####
193#### variables dans real
194####
195state  real   albedo_gcm_gc   ij   dyn_em  1  -  i1  "ALBEDO_GCM"       "albedo of naked ground"  "0 - 1 fraction"
196state  real   therm_inert_gc  ij   dyn_em  1  -  i1  "THERMAL_INERTIA"  "thermal inertia"         "J/m2/K/s0.5"
197state  real   slpx_gc         ij   dyn_em  1  -  i1  "SLPX"             "slope x direction"       "rad"
198state  real   slpy_gc         ij   dyn_em  1  -  i1  "SLPY"             "slope y direction"       "rad"
199state  real   hv_gc          igj   dyn_em  1  Z  i1  "HV"               "water vapor"             "kg/kg"
200state  real   hi_gc          igj   dyn_em  1  Z  i1  "HI"               "water ice"               "kg/kg"
201state  real   tsoil_gc       igj   dyn_em  1  Z  i1  "TSOIL"            "soil temperatures"       "K"
202####
203#### variables dans wrf
204####
205state  real   albedo_gcm      ij   misc  1  -  i012rd  "MARS_ALB"    "albedo of naked ground"  "0 - 1 fraction"
206state  real   therm_inert     ij   misc  1  -  i012rd  "MARS_TI"     "thermal inertia"         "J/m2/K/s0.5"
207state  real   slpx            ij   misc  1  -  i012rd  "SLOPEX"      "slope x direction"       "rad"
208state  real   slpy            ij   misc  1  -  i012rd  "SLOPEY"      "slope y direction"       "rad"
209state  real   mars_emiss      ij   misc  1  -  i012rd  "MARS_EMISS"  "emissivity"              "0 - 1 fraction"
210state  real   mars_cice       ij   misc  1  -  i012rd  "MARS_CICE"   "co2 ice"                 "kg"
211state  real   mars_tsoil     ilj   misc  1  -  i012rd  "MARS_TSOIL"  "soil temperatures"       "K"
212state  real   mars_gw        ilj   misc  1  -  i012rd  "MARS_GW"     "gwparam"                 " "
213####
214####
215####MARS MARS MARS MARS MARS
216####MARS MARS MARS MARS MARS
217
218
219
220
221#-----------------------------------------------------------------------------------------------------------------------------------------------------------------
222#                                               
223# Variables for Eulerian mass coordinate dynamics                                           
224#                                               
225
226
227# Velocities
228#
229# U Vel
230state    real   u              ikjb     dyn_em      2         X     \
231     i01rhusdf=(bdy_interp:dt)       "U"                      "x-wind component"   "m s-1"
232state    real   ru             ikj     dyn_em      1         X      -        "MU_U"        "mu-coupled u"   "Pa m s-1"
233state    real   ru_m           ikj     dyn_em      1         X      -        "ru_m"        ""   ""
234state    real   ru_tend        ikj     dyn_em      1         X      -        "ru_tend"        ""   ""                                   
235i1       real   ru_tendf       ikj     dyn_em      1         X                                         
236state    real   u_save         ikj     dyn_em      1         X      -        "u_save"
237#                                               
238# V Vel
239state    real   v              ikjb     dyn_em      2         Y     \
240     i01rhusdf=(bdy_interp:dt)        "V"                     "y-wind component"   "m s-1"
241state    real   rv             ikj     dyn_em      1         Y      -        "MU_V"        "mu-coupled v"   "Pa m s-1"
242state    real   rv_m           ikj     dyn_em      1         Y      -        "rv_m"
243state    real   rv_tend        ikj     dyn_em      1         Y      -        "rv_tend"
244i1       real   rv_tendf       ikj     dyn_em      1         Y                                         
245state    real   v_save         ikj     dyn_em      1         Y      -        "v_save"                   
246#                                               
247# Vertical Vel                                         
248state    real   w              ikjb     dyn_em      2         Z     \
249        irhusdf=(bdy_interp:dt)  "w"                          "z-wind component"   "m s-1"
250state    real   ww             ikj     dyn_em      1         Z      r         "ww"   "mu-coupled eta-dot"    "Pa s-1"
251state    real   rw             ikj     dyn_em      1         Z      -         "rw"   "mu-coupled w"          "Pa m s-1"
252i1       real   ww1            ikj     dyn_em      1         Z                                         
253state    real   ww_m           ikj     dyn_em      1         Z      r         "ww_m"   "time-avg mu-coupled eta-dot"    "Pa s-1"
254i1       real   wwp            ikj     dyn_em      1         Z                                         
255i1       real   rw_tend        ikj     dyn_em      1         Z                                         
256i1       real   rw_tendf       ikj     dyn_em      1         Z                                         
257i1       real   w_save         ikj     dyn_em      1         Z                                         
258
259# Geopotential
260state    real   ph             ikjb     dyn_em      2         Z     \
261       irusdf=(bdy_interp:dt)   "ph"   "perturbation geopotential"  "m2 s-2"
262state    real   phb            ikj     dyn_em      1         Z     irdus "phb"  "base-state geopotential"  "m2 s-2"
263state    real   phb_fine       ikj     dyn_em      1         Z      -     "phb_fine"  "for nesting, temp holding interpolated coarse grid phb"  "m2 s-2"
264state    real   ph0            ikj     dyn_em      1         Z      r     "ph0"  "initial geopotential"     "m2 s-2"
265state    real   php            ikj     dyn_em      1         Z      r     "php"  "geopotential"             "m2 s-2"
266i1       real   ph_tend        ikj     dyn_em      1         Z
267i1       real   ph_tendf       ikj     dyn_em      1         Z
268i1       real   ph_save        ikj     dyn_em      1         Z
269##
270## MARS: TO GET LIGHTER HISTORY FILES
271##
272state    real   phtot          ikj     dyn_em      1         Z     irh       "PHTOT"        "total geopotential"      "m2 s-2"
273
274# Potential Temperature
275state    real   t              ikjb     dyn_em      2         -     \
276       i01rhusdf=(bdy_interp:dt)   "t"      "perturbation potential temperature (theta-t0)" "K"
277
278state    real   t_init         ikj     dyn_em      1         -      ir       "t_init" "initial potential temperature" "K"
279i1       real   t_tend         ikj     dyn_em      1         - 
280i1       real   t_tendf        ikj     dyn_em      1         - 
281state    real   tp             ikj     dyn_em      2         - 
282i1       real   t_2save        ikj     dyn_em      1         -   
283state    real   t_save         ikj     dyn_em      1         -               "t_save"
284#
285
286
287# Mass
288state    real   mu              ijb     dyn_em      2         -     \
289     irusdf=(bdy_interp:dt)   "mu"  "perturbation dry air mass in column" "Pa"
290state    real   mub             ij     dyn_em      1         -     irdus       "mub" "base state dry air mass in column" "Pa"
291state    real   mub_fine        ij     dyn_em      1         -      -           "mub_fine" "nest temp, holds interpolated coarse grid mub" "Pa"
292state    real   mub_save        ij     dyn_em      1         -      -           "mub_save" "nest temp, holds orig fine grid mub" "Pa"
293state    real   mu0             ij     dyn_em      1         -     i01rdu       "mu0" "initial dry mass in column" "Pa"
294state    real   mudf            ij     dyn_em      1         -      -           "mudf" "" ""
295state    real   muu             ij     dyn_em      1          -                 "muu"
296i1       real   muus            ij     dyn_em      1          -     
297state    real   muv             ij     dyn_em      1          -                 "muv"
298i1       real   muvs            ij     dyn_em      1          -     
299state    real   mut             ij     dyn_em      1          -                 "mut"
300state    real   muts            ij     dyn_em      1          -                 "muts"
301i1       real   muave           ij     dyn_em      1          -     
302i1       real   mu_save         ij     dyn_em      1          -     
303i1       real   mu_tend         ij     dyn_em      1          -     
304i1       real   mu_tendf        ij     dyn_em      1          -     
305
306#diagnostic for looking at nest position in output. A mungy version of terrain height.
307state    real   nest_pos        ij     misc        1   -   ru=(mark_domain)  "NEST_POS"
308state    real   nest_mask       ij     misc        1   -   ru=(mark_domain)   "NEST_MASK"     "LOCATION OF NEST IF ANY"
309state    real   ht_coarse       ij     misc        1   -     r                -              "STORAGE FOR LOW-RES TERRAIN"
310
311
312# TKE
313state    real   tke            ikj     dyn_em      2         -       r        "tke"          "TURBULENCE KINETIC ENERGY"     "m2 s-2"
314i1       real   tke_tend       ikj     dyn_em      1         -     
315
316# Pressure and Density
317state    real   p              ikj     dyn_em      1         -      r        "p"           "perturbation pressure"         "Pa"
318state    real   al             ikj     dyn_em      1         -      r         "al"          "inverse perturbation density"  "m3 kg-1"
319state    real   alt            ikj     dyn_em      1         -      r         "alt"         "inverse density"               "m3 kg-1"
320state    real   alb            ikj     dyn_em      1         -      rdus      "alb"         "inverse base density"          "m3 kg-1"
321state    real   zx             ikj     dyn_em      1         X      -         " "  " "  " "   
322state    real   zy             ikj     dyn_em      1         Y      -         " "  " "  " "   
323state    real   rdz            ikj     dyn_em      1         Z      -         " "  " "  " "   
324state    real   rdzw           ikj     dyn_em      1         Z       -        " "  " "  " "   
325state    real   pb             ikj     dyn_em      1         -      rdus     "pb"          "BASE STATE PRESSURE "          "Pa"
326##
327## MARS: TO GET LIGHTER HISTORY FILES
328##
329state    real   ptot           ikj     dyn_em      1         -      irh       "PTOT"        "total pressure"      "Pa"
330
331#                                               
332# Other dyn                                             
333#                                               
334i1       real   advect_tend    ikj     dyn_em      1         -                                         
335i1       real   alpha          ikj     dyn_em      1         -                                                 
336i1       real   a              ikj     dyn_em      1         -                                                 
337i1       real   gamma          ikj     dyn_em      1         -                                                 
338i1       real   c2a            ikj     dyn_em      1         -     -
339i1       real   rho            ikj     dyn_em      1         -     -
340i1       real   phm            ikj     dyn_em      1         -     -
341i1       real   cqu            ikj     dyn_em      1         -     -
342i1       real   cqv            ikj     dyn_em      1         -     -
343i1       real   cqw            ikj     dyn_em      1         -     -
344i1       real   pm1            ikj     dyn_em      1         -     -
345state    real   sr             ij      dyn_em      1         -      ir         "sr" "fraction of frozen precipitation"
346state    real   potevp         ij      dyn_em      1         -       r         "potevp" "accumulated potential evaporation" "W m-2"
347state    real   snopcx         ij      dyn_em      1         -       r         "snopcx" "snow phase change heat flux" "W m-2"
348state    real   soiltb         ij      dyn_em      1         -       -         "soiltb" "bottom soil temperature" "K"
349state    real    fnm            k       dyn_em      1         -     ir       "fnm"  "upper weight for vertical stretching"  ""
350state    real    fnp            k       dyn_em      1         -     ir       "fnp"  "lower weight for vertical stretching"  ""
351state    real    rdnw           k       dyn_em      1         -     ir       "rdnw"  "inverse d(eta) values between full (w) levels"   ""
352state    real    rdn            k       dyn_em      1         -     ir       "rdn"  "inverse d(eta) values between half (mass) levels"   ""
353state    real    dnw            k       dyn_em      1         -     ir       "dnw" "d(eta) values between full (w) levels"   ""
354state    real    dn             k       dyn_em      1         -     ir       "dn " "d(eta) values between half (mass) levels"   ""
355state    real    t_base         k       dyn_em      1         -     ir        "t_base"               "BASE STATE T IN IDEALIZED CASES"         "K"     
356state    real    z              ikj     dyn_em      1         -     -         " " " " " "
357i1       real    mu_3d          ikj     dyn_em      1         -                                         
358i1       real    z_at_w         ikj     dyn_em      1         Z
359state    real    cfn            -       misc      -         -     ir       "cfn"    "extrapolation constant"  ""
360state    real    cfn1           -       misc      -         -     ir       "cfn1"   "extrapolation constant"  ""
361state    integer step_number    -       misc      -         -     ir        "step_number"  ""
362
363# 2m and 10m output diagnostics
364state    real   Q2               ij     misc        1         -     ird      "Q2"                   "QV at 2 M"         "kg kg-1"
365state    real   T2               ij     misc        1         -     ird      "T2"                   "TEMP at 2 M"       "K"
366state    real   TH2              ij     misc        1         -     ird      "TH2"                  "POT TEMP at 2 M"   "K"
367state    real   PSFC             ij     misc        1         -     i01rhd    "PSFC"                 "SFC PRESSURE"      "Pa"
368
369# these next 2 are for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
370# with wave model, only if compiled with -DMCELIO, JM 2003/05/29
371state    real   U10              ij     misc        1         -     ir01d      "U10"                "U at 10 M"         "m s-1"
372state    real   V10              ij     misc        1         -     ir01d      "V10"                "V at 10 M"         "m s-1"
373
374# these next 4 are for observational nudging
375state    real   uratx           ij      misc        1         -      r          "URATX"            "Ratio of U over U10 on mass points "         "dimensionless"
376state    real   vratx           ij      misc        1         -      r          "VRATX"            "Ratio of V over V10 on mass points "         "dimensionless"   
377state    real   tratx           ij      misc        1         -      r          "TRATX"            "Ratio of T over TH2 on mass points "         "dimensionless"   
378state    real   obs_savwt      hikj     dyn_em      1         X      -       "OBS_SAVWT"
379
380# Other
381state   real    rdx            -        misc      -         -     ir       "rdx"                   "INVERSE X GRID LENGTH"         ""     
382state   real    rdy            -        misc      -         -     ir       "rdy"                   "INVERSE Y GRID LENGTH"         ""     
383state   real    dts            -        misc      -         -     ir        "dts"                   "SMALL TIMESTEP"         ""     
384state   real    dtseps         -        misc      -         -     ir        "dtseps"                "TIME WEIGHT CONSTANT FOR SMALL STEPS"         ""     
385state   real    resm           -        misc      -         -     ir       "resm"                  "TIME WEIGHT CONSTANT FOR SMALL STEPS"         ""     
386state   real    zetatop        -        misc      -         -     ir       "zetatop"               "ZETA AT MODEL TOP"         ""     
387state   real    cf1            -        misc      -         -     ir       "cf1"                   "2nd order extrapolation constant"         ""     
388state   real    cf2            -        misc      -         -     ir       "cf2"                   "2nd order extrapolation constant"         ""     
389state   real    cf3            -        misc      -         -     ir       "cf3"                   "2nd order extrapolation constant"         ""     
390state   integer number_at_same_level    -        -          -         -     -        "number_at_same_level"  ""         ""     
391
392# State for derived time quantities. 
393state   integer itimestep      -        -          -         -     r         "itimestep"             ""         ""     
394state   real    xtime          -        -          -         -     r         "xtime"                 "minutes since simulation start"         ""     
395state   real    julian         -        -          -         -     -          "julian"                "day of year, 0.0 at 0Z on 1 Jan."         "days"     
396
397
398# input file descriptor for lbcs on parent domain                                               
399state   integer lbc_fid        -        -          -         -     -         "lbc_fid"               ""         ""     
400# indicates if tiling has been computed                                         
401state   logical tiled          -        -          -         -     -         "tiled"                 ""         ""     
402# indicates if patches have been computed                                               
403state   logical patched        -        -          -         -     -         "patched"               ""         ""     
404# indicates whether to read input from file or generate                                         
405#state   logical input_from_file        -        -          -         -     -         "input_from_file"         ""         ""   
406# indicates whether to recompute mu                                                             
407state   logical press_adj      -        -          -         -     -         "press_adj"         "T/F flag adjust mu"         ""   
408
409# Mask for moving nest interpolations
410state    integer imask_nostag         ij      misc     1     -
411state    integer imask_xstag          ij      misc     1     X
412state    integer imask_ystag          ij      misc     1     Y
413state    integer imask_xystag         ij      misc     1     XY
414# vortex center indices; need for restarts of moving nests
415state    real    xi                   -       misc     -     -    r
416state    real    xj                   -       misc     -     -    r
417state    real    vc_i                 -       misc     -     -    r
418state    real    vc_j                 -       misc     -     -    r
419
420#-----------------------------------------------------------------------------------------------------------------------------------------------------------------
421# Scalar (4D) arrays
422
423# Moist Scalars
424#                                               
425# The first line ensures that there will be identifiers named moist and                                         
426# moist_tend even if there are not any moist scalars (so the essentially                                               
427# dry code will will still link properly)                                               
428#                                               
429state   real    -              ikjftb   moist       1         -     -    -
430state   real    qv             ikjftb   moist       1         -     \
431   i01rusdf=(bdy_interp:dt)  "QVAPOR"           "Water vapor mixing ratio"      "kg kg-1"
432state   real    qc             ikjftb   moist       1         -     \
433   i01rusdf=(bdy_interp:dt)  "QCLOUD"           "Cloud water mixing ratio"      "kg kg-1"
434state   real    qr             ikjftb   moist       1         -     \
435   i01rusdf=(bdy_interp:dt)  "QRAIN"            "Rain water mixing ratio"       "kg kg-1"
436state   real    qi             ikjftb   moist       1         -     \
437   i01rusdf=(bdy_interp:dt)  "QICE"             "Ice mixing ratio"              "kg kg-1"
438state   real    qs             ikjftb   moist       1         -     \
439   i01rusdf=(bdy_interp:dt)  "QSNOW"            "Snow mixing ratio"             "kg kg-1"
440state   real    qg             ikjftb   moist       1         -     \
441   i01rusdf=(bdy_interp:dt)  "QGRAUP"           "Graupel mixing ratio"          "kg kg-1"
442state   real    -              ikjftb   dfi_moist       1         -     -    -
443state   real    dfi_qv         ikjftb   dfi_moist       1         -     \
444   rusdf=(bdy_interp:dt)  "DFI_QVAPOR"       "Water vapor mixing ratio"      "kg kg-1"
445state   real    dfi_qc         ikjftb   dfi_moist       1         -     \
446   rusdf=(bdy_interp:dt)  "DFI_QCLOUD"       "Cloud water mixing ratio"      "kg kg-1"
447state   real    dfi_qr         ikjftb   dfi_moist       1         -     \
448   rusdf=(bdy_interp:dt)  "DFI_QRAIN"        "Rain water mixing ratio"       "kg kg-1"
449state   real    dfi_qi         ikjftb   dfi_moist       1         -     \
450   rusdf=(bdy_interp:dt)  "DFI_QICE"         "Ice mixing ratio"              "kg kg-1"
451state   real    dfi_qs         ikjftb   dfi_moist       1         -     \
452   rusdf=(bdy_interp:dt)  "DFI_QSNOW"        "Snow mixing ratio"             "kg kg-1"
453state   real    dfi_qg         ikjftb   dfi_moist       1         -     \
454   rusdf=(bdy_interp:dt)  "DFI_QGRAUP"       "Graupel mixing ratio"          "kg kg-1"
455
456
457# Chem Scalars
458state   real    -              ikjftb   chem        1         -     -    -                                       
459
460# Other Scalars
461state   real    -              ikjftb  scalar      1         -     -   -
462state   real    qndrop         ikjftb  scalar      1         -     \
463   i01rusdf=(bdy_interp:dt)    "QNDROP"        "Droplet number mixing ratio"        "# kg-1"
464state   real    qni            ikjftb  scalar      1         -     \
465   i01rusdf=(bdy_interp:dt)    "QNICE"         "Ice Number concentration" "# kg-1"
466state   real    qt             ikjftb  scalar      1         -     \
467   i01rusdf=(bdy_interp:dt)    "CWM"           "Total condensate mixing ratio"      "kg kg-1"
468state   real    qns            ikjftb  scalar      1         -     \
469   i01rusdf=(bdy_interp:dt)    "QNSNOW"         "Snow Number concentration"   "# kg(-1)"
470state   real    qnr            ikjftb  scalar      1         -     \
471   i01rusdf=(bdy_interp:dt)    "QNRAIN"        "Rain Number concentration"   "# kg(-1)"
472state   real    qng            ikjftb  scalar      1         -     \
473   i01rusdf=(bdy_interp:dt)    "QNGRAUPEL"     "Graupel Number concentration" "# kg(-1)"
474state   real    -              ikjftb  dfi_scalar      1         -     -   -
475state   real    dfi_qndrop     ikjftb  dfi_scalar      1         -     \
476   rusdf=(bdy_interp:dt)    "DFI_QNDROP"    "Droplet number mixing ratio"        "# kg-1"
477state   real    dfi_qni        ikjftb  dfi_scalar      1         -     \
478   rusdf=(bdy_interp:dt)    "DFI_QNICE"     "Ice Number concentration" "# kg-1"
479state   real    dfi_qt         ikjftb  dfi_scalar      1         -     \
480   rusdf=(bdy_interp:dt)    "DFI_CWM"       "Total condensate mixing ratio"      "kg kg-1"
481state   real    dfi_qns        ikjftb  dfi_scalar      1         -     \
482   rusdf=(bdy_interp:dt)    "DFI_QNSNOW"    "Snow Number concentration"   "# kg(-1)"
483state   real    dfi_qnr        ikjftb  dfi_scalar      1         -     \
484   rusdf=(bdy_interp:dt)    "DFI_QNRAIN"    "Rain Number concentration"   "# kg(-1)"
485state   real    dfi_qng        ikjftb  dfi_scalar      1         -     \
486   rusdf=(bdy_interp:dt)    "DFI_QNGRAUPEL" "Graupel Number concentration" "# kg(-1)"
487
488#-----------------------------------------------------------------------------------------------------------------------------------------------------------------
489
490# Arrays for Specified LBCs  (lbc arrays REMOVED; Boundary arrays are now specified with the state array; see above, 20050413 JM )
491
492state    real   fcx            w         misc     -         -      ir       "fcx"                  "RELAXATION TERM FOR BOUNDARY ZONE"         ""
493state    real   gcx            w         misc     -         -      ir       "gcx"                  "2ND RELAXATION TERM FOR BOUNDARY ZONE"         ""
494state    real   dtbc            -        misc     -         -      ir       "dtbc"                 "TIME SINCE BOUNDARY READ"         ""
495
496#-------------------------------------------------------------------------------------------------------------------------------------------
497#-------------------------------------------------------------------------------------------------------------------------------------------
498# Physics Related State Varibles
499
500#-------------------------------------------------------------------------------------------------------------------------------------------
501# SI - start variables from netCDF format from Standard Initialization, most eventually for use in LSM schemes
502#-------------------------------------------------------------------------------------------------------------------------------------------
503
504state   real   sm000007            ij    misc          1     -     i1      "SM000007"      "LAYER SOIL MOISTURE" "m3 m-3"
505state   real   sm007028            ij    misc          1     -     i1      "SM007028"      "LAYER SOIL MOISTURE" "m3 m-3"
506state   real   sm028100            ij    misc          1     -     i1      "SM028100"      "LAYER SOIL MOISTURE" "m3 m-3"
507state   real   sm100255            ij    misc          1     -     i1      "SM100255"      "LAYER SOIL MOISTURE" "m3 m-3"
508state   real   st000007            ij    misc          1     -     i1      "ST000007"      "LAYER SOIL TEMPERATURE" "K"
509state   real   st007028            ij    misc          1     -     i1      "ST007028"      "LAYER SOIL TEMPERATURE" "K"
510state   real   st028100            ij    misc          1     -     i1      "ST028100"      "LAYER SOIL TEMPERATURE" "K"
511state   real   st100255            ij    misc          1     -     i1      "ST100255"      "LAYER SOIL TEMPERATURE" "K"
512state   real   sm000010            ij    misc          1     -     i1      "SM000010"      "LAYER SOIL MOISTURE" "m3 m-3"
513state   real   sm010040            ij    misc          1     -     i1      "SM010040 "     "LAYER SOIL MOISTURE" "m3 m-3"
514state   real   sm040100            ij    misc          1     -     i1      "SM040100 "     "LAYER SOIL MOISTURE" "m3 m-3"
515state   real   sm100200            ij    misc          1     -     i1      "SM100200 "     "LAYER SOIL MOISTURE" "m3 m-3"
516state   real   sm010200            ij    misc          1     -     i1      "SM010200"      "LAYER SOIL MOISTURE" "m3 m-3"
517state   real   soilm000            ij    misc          1     -     i1      "SOILM000"      "LAYER SOIL MOISTURE" "m3 m-3"
518state   real   soilm005            ij    misc          1     -     i1      "SOILM005"      "LAYER SOIL MOISTURE" "m3 m-3"
519state   real   soilm020            ij    misc          1     -     i1      "SOILM020"      "LAYER SOIL MOISTURE" "m3 m-3"
520state   real   soilm040            ij    misc          1     -     i1      "SOILM040"      "LAYER SOIL MOISTURE" "m3 m-3"
521state   real   soilm160            ij    misc          1     -     i1      "SOILM160"      "LAYER SOIL MOISTURE" "m3 m-3"
522state   real   soilm300            ij    misc          1     -     i1      "SOILM300"      "LAYER SOIL MOISTURE" "m3 m-3"
523state   real   sw000010            ij    misc          1     -     i1      "SW000010"      "LAYER SOIL LIQUID" "m3 m-3"
524state   real   sw010040            ij    misc          1     -     i1      "SW010040"      "LAYER SOIL LIQUID" "m3 m-3"
525state   real   sw040100            ij    misc          1     -     i1      "SW040100"      "LAYER SOIL LIQUID" "m3 m-3"
526state   real   sw100200            ij    misc          1     -     i1      "SW100200"      "LAYER SOIL LIQUID" "m3 m-3"
527state   real   sw010200            ij    misc          1     -     i1      "SW010200"      "LAYER SOIL LIQUID" "m3 m-3"
528state   real   soilw000            ij    misc          1     -     i1      "SOILW000"      "LAYER SOIL LIQUID" "m3 m-3"
529state   real   soilw005            ij    misc          1     -     i1      "SOILW005"      "LAYER SOIL LIQUID" "m3 m-3"
530state   real   soilw020            ij    misc          1     -     i1      "SOILW020"      "LAYER SOIL LIQUID" "m3 m-3"
531state   real   soilw040            ij    misc          1     -     i1      "SOILW040"      "LAYER SOIL LIQUID" "m3 m-3"
532state   real   soilw160            ij    misc          1     -     i1      "SOILW160"      "LAYER SOIL LIQUID" "m3 m-3"
533state   real   soilw300            ij    misc          1     -     i1      "SOILW300"      "LAYER SOIL LIQUID" "m3 m-3"
534state   real   st000010            ij    misc          1     -     i1      "ST000010"      "LAYER SOIL TEMPERATURE" "K"
535state   real   st010040            ij    misc          1     -     i1      "ST010040"      "LAYER SOIL TEMPERATURE" "K"
536state   real   st040100            ij    misc          1     -     i1      "ST040100"      "LAYER SOIL TEMPERATURE" "K"
537state   real   st100200            ij    misc          1     -     i1      "ST100200"      "LAYER SOIL TEMPERATURE" "K"
538state   real   st010200            ij    misc          1     -     i1      "ST010200"      "LAYER SOIL TEMPERATURE" "K"
539state   real   soilt000            ij    misc          1     -     i1      "SOILT000"      "LAYER SOIL TEMPERATURE" "K"
540state   real   soilt005            ij    misc          1     -     i1      "SOILT005"      "LAYER SOIL TEMPERATURE" "K"
541state   real   soilt020            ij    misc          1     -     i1      "SOILT020"      "LAYER SOIL TEMPERATURE" "K"
542state   real   soilt040            ij    misc          1     -     i1      "SOILT040"      "LAYER SOIL TEMPERATURE" "K"
543state   real   soilt160            ij    misc          1     -     i1      "SOILT160"      "LAYER SOIL TEMPERATURE" "K"
544state   real   soilt300            ij    misc          1     -     i1      "SOILT300"      "LAYER SOIL TEMPERATURE" "K"
545state   real   landmask            ij    misc          1     -     i012rd=(interp_fcnm)u=(copy_fcnm)   "LANDMASK"      "LAND MASK (1 FOR LAND, 0 FOR WATER)"  ""
546state   real   topostdv            ij    misc          1     -     i12     "TOPOSTDV"      "ELEVATION STD DEV"  "m"
547state   real   toposlpx            ij    misc          1     -     i12     "TOPOSLPX"      "ELEVATION X SLOPE"  ""
548state   real   toposlpy            ij    misc          1     -     i12     "TOPOSLPY"      "ELEVATION Y SLOPE"  ""
549state   real   shdmax              ij    misc          1     -     i012r   "SHDMAX"        "ANNUAL MAX VEG FRACTION" ""
550state   real   shdmin              ij    misc          1     -     i012r   "SHDMIN"        "ANNUAL MIN VEG FRACTION" ""
551state   real   snoalb              ij    misc          1     -     i012r   "SNOALB"        "ANNUAL MAX SNOW ALBEDO IN FRACTION" ""
552state   real   slopecat            ij    misc          1     -     i12     "SLOPECAT"      "SLOPE CATEGORY"  ""
553state   real   toposoil            ij    misc          1     -     i12     "SOILHGT"       "ELEVATION OF LSM DATA"  "m"
554state   real   landusef            iuj   misc          1     Z     i012r   "LANDUSEF"      "LANDUSE FRACTION BY CATEGORY"  ""
555state   real   soilctop            isj   misc          1     Z     i012    "SOILCTOP"      "SOIL CAT FRACTION (TOP)"  ""
556state   real   soilcbot            isj   misc          1     Z     i012    "SOILCBOT"      "SOIL CAT FRACTION (BOTTOM)"  ""
557state   real   soilcat             ij    misc          1     -     i12     "SOILCAT"       "SOIL CAT DOMINANT TYPE" ""
558state   real   vegcat              ij    misc          1     -     i12     "VEGCAT"        "VEGETATION CAT DOMINANT TYPE" ""
559
560#---------------------------------------------------------------------------------------------------------------------------------------
561# SI - end variables from netCDF format from Standard Initialization
562#---------------------------------------------------------------------------------------------------------------------------------------
563
564# soil model variables  (Note that they are marked as staggered in the vertical dimension
565# because they are "fully dimensioned" -- they use every element in that dim
566state    real   TSLB           ilj       misc      1         Z     i02rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)           "TSLB"     "SOIL TEMPERATURE"   "K"
567
568# Time series variables
569state    real   ts_hour         ?!       misc      -         -      r        "TS_HOUR"        "Model integration time, hours"
570state    real   ts_u            ?!       misc      -         -      r        "TS_U"           "Surface wind U-component, earth-relative"
571state    real   ts_v            ?!       misc      -         -      r        "TS_V"           "Surface wind V-component, earth-relative"
572state    real   ts_q            ?!       misc      -         -      r        "TS_Q"           "Surface mixing ratio"
573state    real   ts_t            ?!       misc      -         -      r        "TS_T"           "Surface temperature"
574state    real   ts_psfc         ?!       misc      -         -      r        "TS_PSFC"        "Surface pressure"
575state    real   ts_glw          ?!       misc      -         -      r        "TS_GLW"         "Downward long wave flux at surface"
576state    real   ts_gsw          ?!       misc      -         -      r        "TS_GSW"         "Net short wave flux at surface"
577state    real   ts_hfx          ?!       misc      -         -      r        "TS_HFX"         "Upward heat flux at surface"
578state    real   ts_lh           ?!       misc      -         -      r        "TS_LH"          "Upward moisture flux at surface"
579state    real   ts_tsk          ?!       misc      -         -      r        "TS_TSK"         "Skin temperature"
580state    real   ts_tslb         ?!       misc      -         -      r        "TS_TSLB"        "Soil temperature"
581state    real   ts_clw          ?!       misc      -         -      r        "TS_CLW"         "Column integrated cloud water"
582state    real   ts_rainc        ?!       misc      -         -      r        "TS_RAINC"       "Cumulus precip"
583state    real   ts_rainnc       ?!       misc      -         -      r        "TS_RAINNC"      "Grid-scale precip"
584
585# urban model variables
586state    real   DZR             l        em      -            Z     r        "DZR"            "THICKNESSES OF ROOF LAYERS"                      "m"
587state    real   DZB             l        em      -            Z     r        "DZB"            "THICKNESSES OF WALL LAYERS"                      "m"
588state    real   DZG             l        em      -            Z     r        "DZG"            "THICKNESSES OF ROAD LAYERS"                      "m"
589
590# lsm State Variables
591
592state    real   SMOIS            ilj     -          1         Z     i02rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SMOIS"            "SOIL MOISTURE"     "m3 m-3"
593state    real   SH2O             ilj     -          1         Z     i02rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SH2O"             "SOIL LIQUID WATER" "m3 m-3"
594state    real   XICE             ij     misc        1         -     i0124rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)  "SEAICE"             "SEA ICE FLAG"  ""
595state    real   XICEM            ij     misc        1         -     rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)  "XICEM"             "SEA ICE FLAG (PREVIOUS STEP)"  ""
596state    real   SMSTAV           ij     misc        1         -      rd=(interp_mask_land_field:lu_index)       "SMSTAV"           "MOISTURE AVAILABILITY" ""
597state    real   SMSTOT           ij     misc        1         -      r                                          "SMSTOT"           "TOTAL SOIL MOISTURE" "m3 m-3"
598
599state    real   SFCRUNOFF        ij     misc        1         -      rd=(interp_mask_land_field:lu_index)      "SFROFF"           "SURFACE RUNOFF"     "mm"
600state    real   UDRUNOFF         ij     misc        1         -      rd=(interp_mask_land_field:lu_index)      "UDROFF"           "UNDERGROUND RUNOFF" "mm"
601state  integer  IVGTYP           ij     misc        1         -     i02rd=(interp_fcni)u=(copy_fcni)            "IVGTYP"           "DOMINANT VEGETATION CATEGORY" ""
602state  integer  ISLTYP           ij     misc        1         -     i02rd=(interp_fcni)u=(copy_fcni)            "ISLTYP"           "DOMINANT SOIL CATEGORY"       ""
603state    real   VEGFRA           ij     misc        1         -     i0124rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)   "VEGFRA"           "VEGETATION FRACTION" ""
604state    real   SFCEVP           ij     misc        1         -      r                                          "SFCEVP"           "SURFACE EVAPORATION" "kg m-2"
605state    real   GRDFLX           ij     misc        1         -      r                                          "GRDFLX"           "GROUND HEAT FLUX" "W m-2"
606state    real   SFCEXC           ij     misc        1         -      r                                          "SFCEXC "          "SURFACE EXCHANGE COEFFICIENT"   "m s-1"
607
608state    real   ACSNOW           ij     misc        1         -      rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)       "ACSNOW"           "ACCUMULATED SNOW"         "kg m-2"
609state    real   ACSNOM           ij     misc        1         -      rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)       "ACSNOM"           "ACCUMULATED MELTED SNOW"  "kg m-2"
610state    real   SNOW             ij     misc        1         -     i012rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SNOW"             "SNOW WATER EQUIVALENT"    "kg m-2"
611state    real   SNOWH            ij     misc        1         -     i012rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SNOWH"            "PHYSICAL SNOW DEPTH"      "m"
612state    real   RHOSN            ij     misc        1         -     i012rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "RHOSN"            " SNOW DENSITY"      "kg m-3"
613state    real   CANWAT           ij     misc        1         -     i012rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "CANWAT"           "CANOPY WATER"             "kg m-2"
614state    real   SST              ij     misc        1         -     i0124rd=(interp_mask_water_field:lu_index)   "SST"              "SEA SURFACE TEMPERATURE" "K"
615state  integer  IFNDSNOWH        -      misc        1         -     i         "FNDSNOWH" "SNOWH_LOGICAL"
616state  integer  IFNDSOILW        -      misc        1         -     i         "FNDSOILW" "SOILW_LOGICAL"
617
618# DFI variables
619state   real   hcoeff           n    misc        1         -     -    "HCOEFF"               "initialization weights"
620state   real   hcoeff_tot       -    misc        1         -     -    "HCOEFF_TOT"               "initialization weights"
621state   real   dfi_p           ikj   misc        1         -     r    "P_DFI"           "perturbation pressure"         "Pa"
622state   real   dfi_al          ikj   misc        1         -     r    "AL_DFI"          "inverse perturbation density"  "m3 kg-1"
623state   real   dfi_mu          ij    misc        1         -     r    "MU_DFI"  "perturbation dry air mass in column" "Pa"
624state   real   dfi_phb         ikj   misc        1         Z     r    "PHB_DFI"  "base-state geopotential"  "m2 s-2"
625state   real   dfi_ph0         ikj   misc        1         Z     r    "PH0_DFI"  "initial geopotential"     "m2 s-2"
626state   real   dfi_php         ikj   misc        1         Z     r    "PHP_DFI"  "geopotential"             "m2 s-2"
627state   real   dfi_u           ikj   misc        1         -     r    "U_DFI"               "u accumulation array"          "   "
628state   real   dfi_v           ikj   misc        1         -     r    "V_DFI"               "v accumulation array"          "   "
629state   real   dfi_w           ikj   misc        1         -     r    "W_DFI"               "w accumulation array"          "   "
630state   real   dfi_ww          ikj   misc        1         Z     r    "WW_DFI"              "mu-coupled eta-dot"    "Pa s-1"
631state   real   dfi_t           ikj   misc        1         -     r    "TT_DFI"               "t accumulation array"          "   "
632state   real   dfi_ph          ikj   misc        1         -     r    "PH_DFI"               "p accumulation array"          "   "
633state   real   dfi_pb          ikj   misc        1         -     r    "PB_DFI"               "pb accumulation array"          "   "
634state   real   dfi_alt         ikj   misc        1         -     r    "ALT_DFI"             "1/rho accumulation array"          "   "
635state   real   dfi_tke         ikj   misc        1         -     r    "TKE_DFI"          "TURBULENCE KINETIC ENERGY"     "m2 s-2"
636
637state    real  dfi_TSLB        ilj   misc        1         Z     r    "TSLB_dfi"         "SOIL TEMPERATURE"   "K"
638state    real  dfi_SMOIS       ilj    -          1         Z     r    "SMOIS_dfi"        "SOIL MOISTURE"     "m3 m-3"
639state    real  dfi_SNOW        ij    misc        1         -     r    "SNOW_dfi"         "SNOW WATER EQUIVALENT"    "kg m-2"
640state    real  dfi_SNOWH       ij    misc        1         -     r    "SNOWH_dfi"        "PHYSICAL SNOW DEPTH"      "m"
641state    real  dfi_CANWAT      ij    misc        1         -     r    "CANWAT_dfi"       "CANOPY WATER"             "kg m-2"
642state    real  dfi_SMFR3D      ilj   misc        1         Z     r    "SMFR3D_dfi"           "SOIL ICE" ""
643state    real  dfi_KEEPFR3DFLAG ilj  misc        1         Z     r    "KEEPFR3DFLAG_dfi"     "FLAG - 1. FROZEN SOIL YES, 0 - NO"             ""
644
645# urban state variables
646state    real   TR_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TR_URB"              "URBAN ROOF SKIN TEMPERATURE"        "K"
647state    real   TB_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TB_URB"              "URBAN WALL SKIN TEMPERATURE"        "K"
648state    real   TG_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TG_URB"              "URBAN ROAD SKIN TEMPERATURE"        "K"
649state    real   TC_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TC_URB"              "URBAN CANOPY TEMPERATURE"           "K"
650state    real   QC_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "QC_URB"              "URBAN CANOPY HUMIDITY"          "kg kg{-1}"
651state    real   UC_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "UC_URB"              "URBAN CANOPY WIND"          "m s{-1}"
652state    real   XXXR_URB2D       ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "XXXR_URB" "M-O LENGTH ABOVE URBAN ROOF"   "dimensionless"
653state    real   XXXB_URB2D       ij    misc        1         -      rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "XXXB_URB" "M-O LENGTH ABOVE URBAN WALL"   "dimensionless"
654state    real   XXXG_URB2D       ij    misc        1         -      rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)       "XXXG_URB" "M-O LENGTH ABOVE URBAN ROAD"   "dimensionless"
655state    real   XXXC_URB2D       ij    misc        1         -      rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)       "XXXC_URB" "M-O LENGTH ABOVE URBAN CANOPY" "dimensionless"
656state    real   TRL_URB3D        ilj    misc        1         Z     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "TRL_URB" "ROOF LAYER TEMPERATURE"          "K"
657state    real   TBL_URB3D        ilj    misc        1         Z     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "TBL_URB" "WALL LAYER TEMPERATURE"          "K"
658state    real   TGL_URB3D        ilj    misc        1         Z     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "TGL_URB" "ROAD LAYER TEMPERATURE"          "K"
659state    real   SH_URB2D        ij    misc        1         -     r       "SH_URB"  "SENSIBLE HEAT FLUX FROM URBAN SFC"  "W m{-2}"
660state    real   LH_URB2D        ij    misc        1         -     r       "LH_URB"  "LATENT HEAT FLUX FROM URBAN SFC"    "W m{-2}"
661state    real   G_URB2D         ij    misc        1         -     r        "G_URB"  "GROUND HEAT FLUX INTO URBAN"        "W m{-2}"
662state    real   RN_URB2D        ij    misc        1         -     r       "RN_URB"  "NET RADIATION ON URBAN SFC"         "W m{-2}"
663state    real   TS_URB2D        ij    misc        1         -     r       "TS_URB"  "SKIN TEMPERATURE"          "K"
664state    real   FRC_URB2D       ij    misc        1         -     rd=(interp_fcnm)u=(copy_fcnm)       "FRC_URB"  "URBAN FRACTION"         "dimensionless"
665state    integer   UTYPE_URB2D  ij    misc        1         -     rd=(interp_fcnm)u=(copy_fcnm)       "UTYPE_URB"  "URBAN TYPE"         "dimensionless"
666
667
668# urban variables from radiation model
669state    real   COSZ_URB2D       ij     misc        1         -      r       "COSZ_URB"  "COS of SOLAR ZENITH ANGLE"         "dimensionless"
670state    real   OMG_URB2D        ij     misc        1         -      r       "OMG_URB"   "SOLAR HOUR ANGLE"         "dimensionless"
671state    real   DECLIN_URB       -     misc        1         -       r       "DECLIN_URB"  "SOLAR DECLINATION"         "dimensionless"
672
673
674# RUC LSM
675state    real   SMFR3D           ilj    misc        1         Z      r        "SMFR3D"               "SOIL ICE" ""
676state    real   KEEPFR3DFLAG     ilj    misc        1         Z      r        "KEEPFR3DFLAG"          "FLAG - 1. FROZEN SOIL YES, 0 - NO"             ""
677
678# Additional for P-X PBL and LSM
679state    real   RA               ij     misc        1         -      r        "RA"           "AERODYNAMIC RESISTANCE"   "s m-1"
680state    real   RS               ij     misc        1         -      r        "RS"           "SURFACE RESISTANCE"       "s m-1"
681state    real   LAI              ij     misc        1         -      r        "LAI"          "Leaf area index"          "area/area"
682state    real   VEGF_PX          ij     misc        1         -      r        "VEGF_PX"      "Vegetation Fraction for PX LSM"    "area/area"
683state    real   T2OBS            ij     misc        1         -      r        "T2OBS"        "2-m temperature from analysis "          "K"
684state    real   Q2OBS            ij     misc        1         -      r        "Q2OBS"        "2-m mixing ratio from analysis "         "kg/kg"
685
686# MRF PBL variables
687i1      real   PSIM           ij     misc        1         -     -         "PSIM"                "SIMILARITY FUNCTION FOR MOMENTUM"     ""
688i1      real   PSIH           ij     misc        1         -     -         "PSIH"                "SIMILARITY FUNCTION FOR HEAT"         ""
689i1      real   WSPD           ij     misc        1         -     -         "WSPD"                "Wind speed"                           "m s-1"
690i1      real   GZ1OZ0         ij     misc        1         -     -         "GZ1OZ0"              "LOG OF Z1 over Z0"                     ""
691i1      real   BR             ij     misc        1         -     -         "BR"                  "Bulk Richardson"                       ""
692
693# MYJ PBL variables
694state    real   tke_myj        ikj     misc        1         -      r        "tke_myj"               "TKE FROM MELLOR-YAMADA-JANJIC"      "m2 s-2"
695state    real   EL_MYJ          ikj     misc        1         -     -        "el_myj"                "MIXING LENGTH FROM MELLOR-YAMADA-JANJIC"     "m"
696state    real   EXCH_H          ikj     misc        1         -     r          "EXCH_H"               "EXCHANGE COEFFICIENTS "
697state    real  CT              ij      misc        1         -      r        "CT"                    "COUNTERGRADIENT TERM"    "K"
698state   real   THZ0             ij     misc        1         -      r        "THZ0"                  "POTENTIAL TEMPERATURE AT ZNT"                 "K"
699state    real  Z0               ij     misc        1         -      r        "Z0"                    "Background ROUGHNESS LENGTH"                  "m"
700state   real   QZ0              ij     misc        1         -      r        "QZ0"                   "SPECIFIC HUMIDITY AT ZNT"                     "kg kg-1"
701state   real   UZ0              ij     misc        1         -      r        "UZ0"                   "U WIND COMPONENT AT ZNT"                      "m s-1"
702state   real   VZ0              ij     misc        1         -      r        "VZ0"                   "V WIND COMPONENT AT ZNT"                      "m s-1"
703state   real   QSFC             ij     misc        1         -      r        "QSFC"                  "SPECIFIC HUMIDITY AT LOWER BOUNDARY"          "kg kg-1"
704state   real   AKHS             ij     misc        1         -      r        "AKHS"                  "SFC EXCH COEFF FOR HEAT"                      "m s-1"   
705state   real   AKMS             ij     misc        1         -      r        "AKMS"                  "SFC EXCH COEFF FOR MOMENTUM"                  "m s-1"   
706state   integer KPBL            ij     misc        1         -     r         "KPBL"                  "LEVEL OF PBL TOP"                             ""
707state   real   TSHLTR           ij     misc        1         -     ir        "TSHLTR"                "SHELTER THETA FROM MYJ"                       "K"
708state   real   QSHLTR           ij     misc        1         -     ir        "QSHLTR"                "SHELTER SPECIFIC HUMIDITY FROM MYJ"           "kg kg-1"
709state   real   PSHLTR           ij     misc        1         -     ir        "PSHLTR"                "SHELTER PRESSURE FROM MYJ"           "Pa"
710state   real   TH10             ij     misc        1         -     ir        "TH10"                  "10-M THETA FROM MYJ"                          "K"
711state   real   Q10              ij     misc        1         -     ir        "Q10"                   "10-M SPECIFIC HUMIDITY FROM MYJ"              "kg kg-1"
712i1      real   CHKLOWQ          ij     misc        1         -     -         "CHKLOWQ"               "SURFACE SATURATION FLAG"        ""
713
714# gfdl (eta) radiation State Variables
715state    real    HTOP            ij     misc        1         -      r        "HTOP"                 "TOP OF CONVECTION LEVEL"         ""
716state    real    HBOT            ij     misc        1         -      r        "HBOT"                 "BOT OF CONVECTION LEVEL"         ""
717state    real    HTOPR           ij     misc        1         -      r        "HTOPR"                "TOP OF CONVECTION LEVEL FOR RADIATION"    ""
718state    real    HBOTR           ij     misc        1         -      r        "HBOTR"                "BOT OF CONVECTION LEVEL FOR RADIATION"    ""
719state    real    CUTOP           ij     misc        1         -      r        "CUTOP"                "TOP OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
720state    real    CUBOT           ij     misc        1         -      r        "CUBOT"                "BOT OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
721state    REAL      CUPPT         ij     misc        1         -      r        "CUPPT"                "ACCUMULATED CONVECTIVE RAIN SINC LAST CALL TO THE RADIATION"         ""
722state  real   rswtoa    ij    misc        1    -    i
723state  real   rlwtoa    ij    misc        1    -    i
724state  real   czmean    ij    misc      1    -     i
725state  real   cfracl    ij    misc      1    -     i
726state  real   cfracm    ij    misc      1    -     i
727state  real   cfrach    ij    misc      1    -     i
728state  real   acfrst    ij    misc        1    -    i
729state integer ncfrst    ij    misc        1    -    i
730state  real   acfrcv    ij    misc        1    -    i
731state integer ncfrcv    ij    misc        1    -    i
732
733# cam radiation variables
734state  real    -       iqjf ozmixm      1    -   -     -
735state  real   mth01    iqjf ozmixm      1    -   -     -
736state  real   mth02    iqjf ozmixm      1    -   -     -
737state  real   mth03    iqjf ozmixm      1    -   -     -
738state  real   mth04    iqjf ozmixm      1    -   -     -
739state  real   mth05    iqjf ozmixm      1    -   -     -
740state  real   mth06    iqjf ozmixm      1    -   -     -
741state  real   mth07    iqjf ozmixm      1    -   -     -
742state  real   mth08    iqjf ozmixm      1    -   -     -
743state  real   mth09    iqjf ozmixm      1    -   -     -
744state  real   mth10    iqjf ozmixm      1    -   -     -
745state  real   mth11    iqjf ozmixm      1    -   -     -
746state  real   mth12    iqjf ozmixm      1    -   -     -
747state  real   pin       q     misc      1    -   -      "PIN"             "PRESSURE LEVEL OF OZONE MIXING RATIO"  "millibar"
748state  real   m_ps       ij   misc      2    -   -      "m_ps"            "PS from MATCH on WRF grids"
749state  real    -       idjf aerosolc    2    -   -       -
750state  real   SUL      idjf aerosolc    2    -   -     "SUL"        "SUL aerosol concentration"
751state  real   SSLT     idjf aerosolc    2    -   -     "SSLT"        "SSLT aerosol concentration"
752state  real   DUST1    idjf aerosolc    2    -   -     "DUST1"        "DUST1 aerosol concentration"
753state  real   DUST2    idjf aerosolc    2    -   -     "DUST2"        "DUST2 aerosol concentration"
754state  real   DUST3    idjf aerosolc    2    -   -     "DUST3"        "DUST3 aerosol concentration"
755state  real   DUST4    idjf aerosolc    2    -   -     "DUST4"        "DUST4 aerosol concentration"
756state  real   OCPHO    idjf aerosolc    2    -   -     "OCPHO"        "OCPHO aerosol concentration"
757state  real   BCPHO    idjf aerosolc    2    -   -     "BCPHO"        "BCPHO aerosol concentration"
758state  real   OCPHI    idjf aerosolc    2    -   -     "OCPHI"        "OCPHI aerosol concentration"
759state  real   BCPHI    idjf aerosolc    2    -   -     "BCPHI"        "BCPHI aerosol concentration"
760state  real   BG       idjf aerosolc    2    -   -     "BG"        "BG aerosol concentration"
761state  real   VOLC     idjf aerosolc    2    -   -     "VOLC"        "VOLC aerosol concentration"
762state  real   m_hybi    d     misc      1    -   -     "m_hybi"         "MATCH hybi"
763
764# new eta microphpysics State Variables
765state    real    F_ICE_PHY       ikj    misc        1         -      rdu      "F_ICE_PHY"            "FRACTION OF ICE"         ""
766state    real    F_RAIN_PHY      ikj    misc        1         -      rdu      "F_RAIN_PHY"           "FRACTION OF RAIN "         ""
767state    real    F_RIMEF_PHY     ikj    misc        1         -      rdu      "F_RIMEF_PHY"          "MASS RATIO OF RIMED ICE "         ""
768state    real    qndropsource    ikj    misc        1         -      -        "qndropsource"         "Droplet number source"   "#/kg/s"
769
770# Other Misc State Variables                                           
771state   real    h_diabatic     ikj     misc         1         -      rdu      "h_diabatic"            "PREVIOUS TIMESTEP CONDENSATIONAL HEATING"         "K s-1"     
772state   real    msft           ij      misc         1         -     i012rdu=(copy_fcnm)    "MAPFAC_M"         "Map scale factor on mass grid" ""
773state   real    msfu           ij      misc         1         X     i012rdu=(copy_fcnm)    "MAPFAC_U"         "Map scale factor on u-grid" ""
774state   real    msfv           ij      misc         1         Y     i012rdu=(copy_fcnm)    "MAPFAC_V"         "Map scale factor on v-grid" ""
775state   real    msftx          ij      misc         1         -     i012rdu=(copy_fcnm)    "MAPFAC_MX"         "Map scale factor on mass grid, x direction" ""
776state   real    msfty          ij      misc         1         -     i012rdu=(copy_fcnm)    "MAPFAC_MY"         "Map scale factor on mass grid, y direction" ""
777state   real    msfux          ij      misc         1         X     i012rdu=(copy_fcnm)    "MAPFAC_UX"         "Map scale factor on u-grid, x direction" ""
778state   real    msfuy          ij      misc         1         X     i012rdu=(copy_fcnm)    "MAPFAC_UY"         "Map scale factor on u-grid, y direction" ""
779state   real    msfvx          ij      misc         1         Y     i012rdu=(copy_fcnm)    "MAPFAC_VX"         "Map scale factor on v-grid, x direction" ""
780state   real    msfvx_inv      ij      misc         1         Y     i012rdu=(copy_fcnm)    "MF_VX_INV"         "Inverse map scale factor on v-grid, x direction" ""
781state   real    msfvy          ij      misc         1         Y     i012rdu=(copy_fcnm)    "MAPFAC_VY"         "Map scale factor on v-grid, y direction" ""
782
783state   real    f              ij      misc         1         -     i012rdu=(copy_fcnm)    "f"                "Coriolis sine latitude term"  "s-1"
784state   real    e              ij      misc         1         -     i012rdu=(copy_fcnm)    "e"                "Coriolis cosine latitude term"  "s-1"
785state   real    sina           ij      misc         1         -     i012rdu=(copy_fcnm)    "SINALPHA"         "Local sine of map rotation"   ""
786state   real    cosa           ij      misc         1         -     i012rdu=(copy_fcnm)    "COSALPHA"         "Local cosine of map rotation"  ""
787state   real    ht             ij      misc         1         -     i012rdus  "HGT"              "Terrain Height"   "m"
788state   real    ht_fine        ij      misc         1         -     -          "HGT_FINE"         "Fine Terrain Height"   "m"
789state   real    ht_int         ij      misc         1         -     -          "HGT_INT"          "Terrain Height Horizontally Interpolated"   "m"
790state   real    ht_input       ij      misc         1         -     -          "HGT_INPUT"        "Terrain Height from FG Input File"   "m"
791state   real    ht_shad        ijb     misc         1         -     df=(bdy_interp:dt)         "HGT_SHAD"        "Height of orographic shadow"   "m"
792i1      real    ht_loc         ij      misc         1         -     -
793i1      integer  shadowmask    ij      misc         1         -     -
794state   integer min_ptchsz     -       misc         1         -     r
795
796state   real    TSK            ij      misc         1         -     i012rdu=(copy_fcnm)    "TSK"                   "SURFACE SKIN TEMPERATURE"                  "K"
797state   real    dfi_TSK        ij      misc         1         -     r                       "TSK_dfi"               "saved SURFACE SKIN TEMPERATURE"
798state   real    TSK_SAVE       ij      misc         1         -     -         "TSK_SAVE" "SURFACE SKIN TEMPERATURE, EXTRA COPY FOR SEA ICE TESTS in REAL"       "K"
799state   real    u_base         k       misc         1         -     ir        "u_base"                "BASE STATE X WIND IN IDEALIZED CASES"         ""     
800state   real    v_base         k       misc         1         -     ir        "v_base"                "BASE STATE Y WIND IN IDEALIZED CASES"         ""     
801state   real    qv_base        k       misc         1         -     ir        "qv_base"               "BASE STATE QV IN IDEALIZED CASES"         ""     
802state   real    z_base         k       misc         1         -     ir        "z_base"                "BASE STATE HEIGHT IN IDEALIZED CASES"         ""     
803state   real    u_frame        -       misc         1         -     ir        "u_frame"               "FRAME X WIND"         "m s-1"     
804state   real    v_frame        -       misc         1         -     ir        "v_frame"               "FRAME Y WIND"         "m s-1"     
805# p_top appears as metadata between SI and real but as a state variable in real and WRF
806# since it is a scalar and a constant, it makes sense to have it as metadata -- there
807# are, however, probably post-processing programs that expect to see it as an I/O record
808# another problem: share/input_wrf tries to read this as metadata (fine for real reading
809# SI, but with model reading real output, it generates a warning when debug is > 0 in
810# namelist and causes repeated questions from users.  A third problem is the potential
811# collision between a metadata name and a field record in the I/O data
812# resolve this how?  Have the real program throw a switch to tell the code to get it
813# from the metadata?  Otherwise it's a field?
814state   real    p_top          -       misc         -         -     ir       "p_top"                 "PRESSURE TOP OF THE MODEL"  "Pa"
815state   real    max_msftx      -       misc         -         -      r       "max_mstfx"             "Max map factor in domain"  ""
816state   real    max_msfty      -       misc         -         -      r       "max_mstfy"             "Max map factor in domain"  ""
817                                               
818# Other physics variables
819                                               
820state    real  RTHCUTEN        ikj      misc        1         -      r        "RTHCUTEN"              "COUPLED THETA TENDENCY DUE TO CUMULUS SCHEME"     "Pa K s-1"
821state    real  RQVCUTEN        ikj      misc        1         -      r        "RQVCUTEN"              "COUPLED Q_V TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
822state    real  RQRCUTEN        ikj      misc        1         -      r        "RQRCUTEN"              "COUPLED Q_R TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
823state    real  RQCCUTEN        ikj      misc        1         -      r        "RQCCUTEN"              "COUPLED Q_C TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
824state    real  RQSCUTEN        ikj      misc        1         -      r        "RQSCUTEN"              "COUPLED Q_S TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
825state    real  RQICUTEN        ikj      misc        1         -      r        "RQICUTEN"              "COUPLED Q_I TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
826state    real  W0AVG           ikj      misc        1         -      r        "W0AVG"                 "AVERAGE VERTICAL VELOCITY FOR KF CUMULUS SCHEME"         "m s-1"
827                                               
828state    real  RAINC            ij      misc        1         -      rdu     "RAINC"                 "ACCUMULATED TOTAL CUMULUS PRECIPITATION"                 "mm"     
829state    real  RAINNC           ij      misc        1         -      rdu     "RAINNC"                "ACCUMULATED TOTAL GRID SCALE PRECIPITATION"              "mm"     
830state    real  PRATEC           ij      misc        1         -      r       "PRATEC"                "PRECIP RATE FROM CUMULUS SCHEME"                         "mm s-1"
831state    real  RAINCV           ij      misc        1         -      r       "RAINCV"                "TIME-STEP CUMULUS PRECIPITATION"                         "mm"     
832state    real  RAINNCV          ij      misc        1         -      r        "RAINNCV"               "TIME-STEP NONCONVECTIVE PRECIPITATION"                   "mm"
833state    real  RAINBL           ij      misc        1         -      r        "RAINBL"                "PBL TIME-STEP TOTAL PRECIPITATION"                       "mm"     
834state    real  SNOWNC           ij      misc        1         -      rdu     "SNOWNC"                "ACCUMULATED TOTAL GRID SCALE SNOW AND ICE"               "mm"
835state    real  GRAUPELNC        ij      misc        1         -      rdu     "GRAUPELNC"             "ACCUMULATED TOTAL GRID SCALE GRAUPEL"                    "mm"
836state    real  SNOWNCV          ij      misc        1         -      r        "SNOWNCV"               "TIME-STEP NONCONVECTIVE SNOW AND ICE"                    "mm"
837state    real  GRAUPELNCV       ij      misc        1         -      r        "GRAUPELNCV"            "TIME-STEP NONCONVECTIVE GRAUPEL"                      "mm"
838state    real  NCA              ij      misc        1         -      r        "NCA"                   "COUNTER OF THE CLOUD RELAXATION TIME IN KF CUMULUS SCHEME"    ""     
839state    integer  LOWLYR        ij      misc        1         -     -         "LOWLYR"                "INDEX OF LOWEST MODEL LAYER ABOVE THE GROUND IN BMJ SCHEME"   ""     
840state    real  MASS_FLUX        ij      misc        1         -      r        "MASS_FLUX"             "DOWNDRAFT MASS FLUX FOR IN GRELL CUMULUS SCHEME"  "mb hour-1"
841state    real  apr_gr           ij      misc        1         -      r       "APR_GR"                "PRECIP FROM CLOSURE OLD_GRELL"   "mm hour-1"
842state    real  apr_w            ij      misc        1         -      r       "APR_W"                 "PRECIP FROM CLOSURE W"           "mm hour-1"
843state    real  apr_mc           ij      misc        1         -      r       "APR_MC"                "PRECIP FROM CLOSURE KRISH MV"    "mm hour-1"
844state    real  apr_st           ij      misc        1         -      r       "APR_ST"                "PRECIP FROM CLOSURE STABILITY"   "mm hour-1"
845state    real  apr_as           ij      misc        1         -      r       "APR_AS"                "PRECIP FROM CLOSURE AS-TYPE"     "mm hour-1"
846state    real  apr_capma        ij      misc        1         -      r       "APR_CAPMA"             "PRECIP FROM MAX CAP"             "mm hour-1"
847state    real  apr_capme        ij      misc        1         -      r       "APR_CAPME"             "PRECIP FROM MEAN CAP"            "mm hour-1"
848state    real  apr_capmi        ij      misc        1         -      r       "APR_CAPMI"             "PRECIP FROM MIN CAP"             "mm hour-1"
849state    real  edt_out          ij      misc        1         -      -        "EDT_OUT"             "EDT FROM GD SCHEME"             ""
850state    real  xf_ens           ije     misc        1         Z      r        "XF_ENS"                "MASS FLUX PDF IN GRELL CUMULUS SCHEME"     "mb hour-1"
851state    real  pr_ens           ije     misc        1         Z      r        "PR_ENS"                "PRECIP RATE PDF IN GRELL CUMULUS SCHEME"    "mb hour-1"
852state    real  cugd_tten        ikj     misc        1         -      h        "CUGD_TTEN"             "INITIAL TTENDENCY OUT OFF GRELL CUMULUS SCHEME"  "K s-1"
853state    real  cugd_qvten       ikj     misc        1         -      h        "CUGD_QVTEN"            "INITIAL QTENDENCY OUT OFF GRELL CUMULUS SCHEME"  "K s-1"
854state    real  cugd_ttens       ikj     misc        1         -      h        "CUGD_TTENS"            "INITIAL SUBSIDENCE TTENDENCY OUT OFF GRELL CUMULUS SCHEME"  "K s-1"
855state    real  cugd_qvtens      ikj     misc        1         -      h        "CUGD_QVTENS"           "INITIAL SUBSIDNCE QTENDENCY OUT OFF GRELL CUMULUS SCHEME"  "K s-1"
856state    real  cugd_qcten       ikj     misc        1         -      h        "CUGD_QCTEN"            "INITIAL TEMPERATURE TENDENCY OUT OFF GRELL CUMULUS SCHEME"  "K s-1"
857#state    real  ACLWUPTC         ij      misc       1         -      rhdu     "ACLWUPTC"              "ACCUMULATED UPWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
858state    real  RTHFTEN          ikj     misc        1         -      r        "RTHFTEN"               "TEMPERATURE TENDENCY USED IN GRELL CUMULUS SCHEME"  "K s-1"     
859state    real  RQVFTEN          ikj     misc        1         -      r        "RQVFTEN"               "MOISTURE TENDENCY USED IN GRELL CUMULUS SCHEME"     "kg s-1"
860
861state integer  STEPCU          -        misc        1         -      r        "STEPCU"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN CONVECTION CALLS"  ""
862                                               
863state    real  RTHRATEN        ikj      misc        1         -      rd       "RTHRATEN"              "COUPLED THETA TENDENCY DUE TO RADIATION"              "Pa K s-1"
864state    real  RTHRATENLW      ikj      misc        1         -      r        "RTHRATLW"              "UNCOUPLED THETA TENDENCY DUE TO LONG WAVE RADIATION"    "K s-1"
865state    real  RTHRATENSW      ikj      misc        1         -      r        "RTHRATSW"              "UNCOUPLED THETA TENDENCY DUE TO SHORT WAVE RADIATION"   "K s-1"
866state    real  CLDFRA          ikj      misc        1         -      r        "CLDFRA"                "CLOUD FRACTION"                                       ""
867
868state    real  SWDOWN           ij      misc        1         -      rd      "SWDOWN"                "DOWNWARD SHORT WAVE FLUX AT GROUND SURFACE"           "W m-2"     
869state    real  SWDOWNC          ij      misc        1         -      -        "SWDOWNC"               "DOWNWARD CLEAR-SKY SHORT WAVE FLUX AT GROUND SURFACE"           "W m-2"     
870state    real  GSW              ij      misc        1         -      rd       "GSW"                   "NET SHORT WAVE FLUX AT GROUND SURFACE"           "W m-2"     
871state    real  GLW              ij      misc        1         -      rd      "GLW"                   "DOWNWARD LONG WAVE FLUX AT GROUND SURFACE"            "W m-2"     
872
873# upward and downward clearsky and total diagnostic fluxes for CAM radiation
874#state    real  ACSWUPT          ij      misc        1         -      rhdu     "ACSWUPT"               "ACCUMULATED UPWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
875#state    real  ACSWUPTC         ij      misc        1         -      rhdu     "ACSWUPTC"              "ACCUMULATED UPWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
876#state    real  ACSWDNT          ij      misc        1         -      rhdu     "ACSWDNT"               "ACCUMULATED DOWNWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
877#state    real  ACSWDNTC         ij      misc        1         -      rhdu     "ACSWDNTC"              "ACCUMULATED DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
878#state    real  ACSWUPB          ij      misc        1         -      rhdu     "ACSWUPB"               "ACCUMULATED UPWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
879#state    real  ACSWUPBC         ij      misc        1         -      rhdu     "ACSWUPBC"              "ACCUMULATED UPWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
880#state    real  ACSWDNB          ij      misc        1         -      rhdu     "ACSWDNB"               "ACCUMULATED DOWNWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
881#state    real  ACSWDNBC         ij      misc        1         -      rhdu     "ACSWDNBC"              "ACCUMULATED DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
882#state    real  ACLWUPT          ij      misc        1         -      rhdu     "ACLWUPT"               "ACCUMULATED UPWELLING LONGWAVE FLUX AT TOP"          "J m-2"
883#state    real  ACLWUPTC         ij      misc        1         -      rhdu     "ACLWUPTC"              "ACCUMULATED UPWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
884#state    real  ACLWDNT          ij      misc        1         -      rhdu     "ACLWDNT"               "ACCUMULATED DOWNWELLING LONGWAVE FLUX AT TOP"          "J m-2"
885#state    real  ACLWDNTC         ij      misc        1         -      rhdu     "ACLWDNTC"              "ACCUMULATED DOWNWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
886#state    real  ACLWUPB          ij      misc        1         -      rhdu     "ACLWUPB"               "ACCUMULATED UPWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
887#state    real  ACLWUPBC         ij      misc        1         -      rhdu     "ACLWUPBC"              "ACCUMULATED UPWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
888#state    real  ACLWDNB          ij      misc        1         -      rhdu     "ACLWDNB"               "ACCUMULATED DOWNWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
889#state    real  ACLWDNBC         ij      misc        1         -      rhdu     "ACLWDNBC"              "ACCUMULATED DOWNWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
890#state    real  SWUPT            ij      misc        1         -      rhdu     "SWUPT"                 "INSTANTANEOUS UPWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
891#state    real  SWUPTC           ij      misc        1         -      rhdu     "SWUPTC"                "INSTANTANEOUS UPWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
892#state    real  SWDNT            ij      misc        1         -      rhdu     "SWDNT"                 "INSTANTANEOUS DOWNWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
893#state    real  SWDNTC           ij      misc        1         -      rhdu     "SWDNTC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
894#state    real  SWUPB            ij      misc        1         -      rhdu     "SWUPB"                 "INSTANTANEOUS UPWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
895#state    real  SWUPBC           ij      misc        1         -      rhdu     "SWUPBC"                "INSTANTANEOUS UPWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
896#state    real  SWDNB            ij      misc        1         -      rhdu     "SWDNB"                 "INSTANTANEOUS DOWNWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
897#state    real  SWDNBC           ij      misc        1         -      rhdu     "SWDNBC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
898#state    real  LWUPT            ij      misc        1         -      rhdu     "LWUPT"                 "INSTANTANEOUS UPWELLING LONGWAVE FLUX AT TOP"          "J m-2"
899#state    real  LWUPTC           ij      misc        1         -      rhdu     "LWUPTC"                "INSTANTANEOUS UPWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
900#state    real  LWDNT            ij      misc        1         -      rhdu     "LWDNT"                 "INSTANTANEOUS DOWNWELLING LONGWAVE FLUX AT TOP"          "J m-2"
901#state    real  LWDNTC           ij      misc        1         -      rhdu     "LWDNTC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
902#state    real  LWUPB            ij      misc        1         -      rhdu     "LWUPB"                 "INSTANTANEOUS UPWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
903#state    real  LWUPBC           ij      misc        1         -      rhdu     "LWUPBC"                "INSTANTANEOUS UPWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
904#state    real  LWDNB            ij      misc        1         -      rhdu     "LWDNB"                 "INSTANTANEOUS DOWNWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
905#state    real  LWDNBC           ij      misc        1         -      rhdu     "LWDNBC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
906
907state    real  SWCF             ij      misc        1         -      r         "SWCF"                  "SHORT WAVE CLOUD FORCING AT TOA"                     "W m-2"
908state    real  LWCF             ij      misc        1         -      r         "LWCF"                  "LONG WAVE CLOUD FORCING AT TOA"                      "W m-2"
909state    real  OLR              ij      misc        1         -      r        "OLR"                   "TOA OUTGOING LONG WAVE"                              "W m-2"
910
911# these next 2 are for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
912# with wave model, only if compiled with -DMCELIO, JM 2003/05/29
913state    real  XLAT             ij      misc        1         -     i0123r01du=(copy_fcnm)      "XLAT"                "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
914state    real  XLONG            ij      misc        1         -     i0123r01du=(copy_fcnm)      "XLONG"               "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
915state    real  XLAT_U           ij      dyn_em      1         X     i012r01du=(copy_fcnm)       "XLAT_U"              "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
916state    real  XLONG_U          ij      dyn_em      1         X     i012r01du=(copy_fcnm)       "XLONG_U"             "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
917state    real  XLAT_V           ij      dyn_em      1         Y     i012r01du=(copy_fcnm)       "XLAT_V"              "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
918state    real  XLONG_V          ij      dyn_em      1         Y     i012r01du=(copy_fcnm)       "XLONG_V"             "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
919state    real  ALBEDO           ij      misc        1         -      r          "ALBEDO"                   "ALBEDO"
920state    real  CLAT             ij      misc        1         -     i012rdu=(copy_fcnm)          "CLAT"                "COMPUTATIONAL GRID LATITUDE, SOUTH IS NEGATIVE"                       "degree_north"
921state    real  CLONG            ij      misc        1         -     i012rdu=(copy_fcnm)          "CLONG"               "COMPUTATIONAL GRID LONGITUDE, WEST IS NEGATIVE"                       "degree_east"
922state    real  ALBBCK           ij      misc        1         -     i0124r   "ALBBCK"                "BACKGROUND ALBEDO"        ""
923state    real  EMBCK            ij      misc        1         -      r        "EMBCK"                 "BACKGROUND EMISSIVITY"         ""
924state    real  EMISS            ij      misc        1         -      r       "EMISS"                 "SURFACE EMISSIVITY"         ""
925
926state    real  CLDEFI           ij      misc        1         -      r        "CLDEFI"                "precipitation efficiency in BMJ SCHEME"    ""     
927state integer  STEPRA          -        misc        1         -      r        "STEPRA"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN RADIATION CALLS"        ""
928                                               
929state    real  RUBLTEN         ikj      misc        1         -      r        "RUBLTEN"               "COUPLED X WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
930state    real  RVBLTEN         ikj      misc        1         -      r        "RVBLTEN"               "COUPLED Y WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
931state    real  RTHBLTEN        ikj      misc        1         -      r        "RTHBLTEN"              "COUPLED THETA TENDENCY DUE TO PBL PARAMETERIZATION"   "Pa K s-1"
932state    real  RQVBLTEN        ikj      misc        1         -      r        "RQVBLTEN"              "COUPLED Q_V TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
933state    real  RQCBLTEN        ikj      misc        1         -      r        "RQCBLTEN"              "COUPLED Q_C TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
934state    real  RQIBLTEN        ikj      misc        1         -      r        "RQIBLTEN"              "COUPLED Q_I TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"     
935
936# State vector for etampnew microphysics. Must be declared state because it is not read-once and is needed for restarting.
937state    real  mp_restart_state   p      misc        1         -      r       "MP_RESTART_STATE"       "STATE VECTOR FOR MICROPHYSICS RESTARTS"
938state    real  tbpvs_state        p      misc        1         -      r        "TBPVS_STATE"           "STATE FOR ETAMPNEW MICROPHYSICS"
939state    real  tbpvs0_state       p      misc        1         -      r        "TBPVS0_STATE"          "STATE FOR ETAMPNEW MICROPHYSICS"
940
941# State variables for landuse_init, Must be declared state because they are read in and needed for restarts. Had been SAVE vars in
942# landuse_init (phys/module_physics_init.F)
943state    integer  landuse_isice   -      misc       -          -     r
944state    integer  landuse_lucats  -      misc       -          -     r
945state    integer  landuse_luseas  -      misc       -          -     r
946state    integer  landuse_isn     -      misc       -          -     r
947state    real     lu_state        p      misc       -          -     r
948
949i1       real  th_phy          ikj      misc        1         -                                         
950i1       real  pi_phy          ikj      misc        1         -                                         
951i1       real  p_phy           ikj      misc        1         -                                         
952i1       real  t_phy           ikj      misc        1         -                                         
953i1       real  u_phy           ikj      misc        1         -                                         
954i1       real  v_phy           ikj      misc        1         -                                         
955i1       real  dz8w            ikj      misc        1         Z                                         
956i1       real  p8w             ikj      misc        1         Z                                         
957i1       real  t8w             ikj      misc        1         Z                                         
958i1       real  rho_phy         ikj      misc        1         -                                         
959i1    logical  CU_ACT_FLAG     ij       misc        1         -
960
961                                               
962state    real  TMN              ij      misc        1         -     i012rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TMN"                   "SOIL TEMPERATURE AT LOWER BOUNDARY"           "K"
963state    real  XLAND            ij      misc        1         -     i02rd=(interp_fcnm)u=(copy_fcnm)       "XLAND"                 "LAND MASK (1 FOR LAND, 2 FOR WATER)"          ""     
964state    real  ZNT              ij      misc        1         -      i3r      "ZNT"                   "TIME-VARYING ROUGHNESS LENGTH"                "m"     
965state    real  CK               ij      misc        1         -      r        "CK"                    "ENTHALPY EXCHANGE COEFF AT 10 m"                      ""
966state    real  CKA              ij      misc        1         -      r        "CKA"                   "ENTHALPY EXCHANGE COEFF AT LOWEST MODEL LVL"          ""
967state    real  CD               ij      misc        1         -      r        "CD"                    "DRAG COEFF AT 10m"                      ""
968state    real  CDA              ij      misc        1         -      r        "CDA"                   "DRAG COEFF AT LOWEST MODEL LVL"                      ""
969state    real  UST              ij      misc        1         -      r        "UST"                   "U* IN SIMILARITY THEORY"                      "m s-1"   
970state    real  USTM             ij      misc        1         -      rh       "USTM"                  "U* IN SIMILARITY THEORY WITHOUT VCONV"        "m s-1"    #SAVEMARS2 ust
971i1       real  HOL              ij      misc        1         -      -        "HOL"                   "PBL HEIGHT OVER MONIN-OBUKHOV LENGTH"         ""
972state    real  RMOL             ij      misc        1         -      r        "RMOL"                  "1./Monin Ob. Length"                      ""
973state    real  MOL              ij      misc        1         -      r        "MOL"                   "T* IN SIMILARITY THEORY"                      "K"     
974state    real  PBLH             ij      misc        1         -      r       "PBLH"                  "PBL HEIGHT"         "m"     
975state    real  CAPG             ij      misc        1         -      r        "CAPG"                  "HEAT CAPACITY FOR SOIL"                       "J K-1 m-3"     
976state    real  THC              ij      misc        1         -      r        "THC"                   "THERMAL INERTIA"                              "Cal cm-1 K-1 s-0.5"     
977state    real  HFX              ij      misc        1         -      rh       "HFX"                   "UPWARD HEAT FLUX AT THE SURFACE"              "W m-2"     #SAVEMARS2 hfx
978state    real  QFX              ij      misc        1         -      r       "QFX"                   "UPWARD MOISTURE FLUX AT THE SURFACE"          "kg m-2 s-1"     
979state    real  LH               ij      misc        1         -      r       "LH"                    "LATENT HEAT FLUX AT THE SURFACE"              "W m-2"
980state    real  FLHC             ij      misc        1         -      r        "FLHC"                  "SURFACE EXCHANGE COEFFICIENT FOR HEAT"       ""
981state    real  FLQC             ij      misc        1         -      r        "FLQC"                  "SURFACE EXCHANGE COEFFICIENT FOR MOISTURE"   ""
982state    real  QSG              ij      misc        1         -      r        "QSG"                   "SURFACE SATURATION WATER VAPOR MIXING RATIO"   "kg kg-1"
983state    real  QVG              ij      misc        1         -      r        "QVG"                   "WATER VAPOR MIXING RATIO AT THE SURFACE"      "kg kg-1"
984state    real  dfi_QVG          ij      misc        1         -      r        "QVG_dfi"               "WATER VAPOR MIXING RATIO AT THE SURFACE"      "kg kg-1"
985state    real  QCG              ij      misc        1         -      r        "QCG"                   "CLOUD WATER MIXING RATIO AT THE SURFACE"      "kg kg-1"
986state    real  SOILT1           ij      misc        1         -      r        "SOILT1"                "TEMPERATURE INSIDE SNOW "    "K"
987state    real  dfi_SOILT1       ij      misc        1         -      r        "SOILT1_dfi"            "TEMPERATURE INSIDE SNOW "    "K"
988state    real  TSNAV            ij      misc        1         -      r        "TSNAV"                 "AVERAGE SNOW TEMPERATURE "                    "C"
989state    real  dfi_TSNAV        ij      misc        1         -      r        "TSNAV_dfi"             "AVERAGE SNOW TEMPERATURE "                    "C"
990state    real  REGIME           ij      misc        1         -      r        "REGIME"  "FLAGS: 1=Night/Stable, 2=Mechanical Turbulent, 3=Forced Conv, 4=Free Conv" ""
991state    real  SNOWC            ij      misc        1         -     ird=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "SNOWC"                 "FLAG INDICATING SNOW COVERAGE (1 FOR SNOW COVER)"         ""
992state    real  dfi_SNOWC        ij      misc        1         -      r        "SNOWC_dfi"             "FLAG INDICATING SNOW COVERAGE (1 FOR SNOW COVER)"         ""
993state    real  MAVAIL           ij      misc        1         -      r        "MAVAIL"                "SURFACE MOISTURE AVAILABILITY"                ""
994                                               
995state   real   tkesfcf          ij      misc        1         -      r        "tkesfcf"               "TKE AT THE SURFACE"                           "m2 s-2"     
996                                               
997state integer  STEPBL          -        misc        1         -      r        "STEPBL"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN PBL CALLS" ""     
998state    real  taucldi         ikj      misc        1         -      r        "TAUCLDI"               "CLOUD OPTICAL THICKNESS FOR ICE"              ""
999state    real  taucldc         ikj      misc        1         -      r        "TAUCLDC"               "CLOUD OPTICAL THICKNESS FOR WATER"            ""
1000                                               
1001state   real  defor11          ikj      misc        1         -     r         "defor11"               "DEFORMATION 11"              "s-1"     
1002state   real  defor22          ikj      misc        1         -     r         "defor22"               "DEFORMATION 22"              "s-1"     
1003state   real  defor12          ikj      misc        1         -     r         "defor12"               "DEFORMATION 12"              "s-1"     
1004state   real  defor33          ikj      misc        1         z     r         "defor33"               "DEFORMATION 33"              "s-1"     
1005state   real  defor13          ikj      misc        1         z     r         "defor13"               "DEFORMATION 13"              "s-1"     
1006state   real  defor23          ikj      misc        1         z     r         "defor23"               "DEFORMATION 23"              "s-1"     
1007state   real   xkmv            ikj      misc        1         -     r         "xkmv"                  "VERTICAL EDDY VISCOSITY"     "m2 s-1"     
1008state   real   xkmh            ikj      misc        1         -     r         "xkmh"                  "HORIZONTAL EDDY VISCOSITY"   "m2 s-1"     
1009state   real   xkhv            ikj      misc        1         -     r         "xkhv"                  "VERTICAL EDDY DIFFUSIVITY OF HEAT"                               "m2 s-1"     
1010state   real   xkhh            ikj      misc        1         -     r         "xkhh"                  "HORIZONTAL EDDY DIFFUSIVITY OF HEAT"                             "m2 s-1"     
1011state   real    div            ikj      misc        1         -     r         "div"                   "DIVERGENCE"                                                      "s-1"
1012state   real    BN2            ikj      misc        1         -     r         "BN2"                   "BRUNT-VAISALA FREQUENCY"                                         "s-2"
1013state  logical warm_rain        -       misc        1         -     -         "warm_rain"              "WARM_RAIN_LOGICAL"
1014state  logical adv_moist_cond   -       misc        1         -     -         "adv_moist_cond"         "ADVECT MOIST CONDENSATES LOGICAL"
1015
1016## FDDA variables
1017
1018state integer  STEPFG            -        misc        1         -      r        "STEPFG"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN FDDA GRID CALLS" ""
1019state    real  RUNDGDTEN         ikj      misc        1         X      r        "RUNDGDTEN"               "COUPLED X WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
1020state    real  RVNDGDTEN         ikj      misc        1         Y      r        "RVNDGDTEN"               "COUPLED Y WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
1021state    real  RTHNDGDTEN        ikj      misc        1         -      r        "RTHNDGDTEN"              "COUPLED THETA TENDENCY DUE TO FDDA GRID NUDGING"   "Pa K s-1"
1022state    real  RQVNDGDTEN        ikj      misc        1         -      r        "RQVNDGDTEN"              "COUPLED Q_V TENDENCY DUE TO FDDA GRID NUDGING"     "Pa kg kg-1 s-1"
1023state    real  RMUNDGDTEN        ij       misc        1         -      r        "RMUNDGDTEN"              "MU TENDENCY DUE TO FDDA GRID NUDGING"     "Pa s-1"
1024state    real    -               ikjf     fdda3d      1         -     -    -
1025state    real  U_NDG_NEW         ikjf     fdda3d      1         X      igr      "U_NDG_NEW"               "NEW X WIND FOR FDDA GRID NUDGING"  "m s-1"
1026state    real  V_NDG_NEW         ikjf     fdda3d      1         Y      igr      "V_NDG_NEW"               "NEW Y WIND FOR FDDA GRID NUDGING"  "m s-1"
1027state    real  T_NDG_NEW         ikjf     fdda3d      1         -      igr      "T_NDG_NEW"               "NEW PERT POT TEMP FOR FDDA GRID NUDGING"  "K"
1028state    real  Q_NDG_NEW         ikjf     fdda3d      1         -      igr      "Q_NDG_NEW"               "NEW WATER VAPOR MIX RATIO FOR FDDA GRID NUDGING"  "kg/kg"
1029state    real  PH_NDG_NEW        ikjf     fdda3d      1         Z      igr      "PH_NDG_NEW"              "NEW PERT GEOPOTENTIAL FOR FDDA GRID NUDGING"  "kg/kg"
1030state    real  U_NDG_OLD         ikjf     fdda3d      1         X      igr      "U_NDG_OLD"               "OLD X WIND FOR FDDA GRID NUDGING"  "m s-1"
1031state    real  V_NDG_OLD         ikjf     fdda3d      1         Y      igr      "V_NDG_OLD"               "OLD Y WIND FOR FDDA GRID NUDGING"  "m s-1"
1032state    real  T_NDG_OLD         ikjf     fdda3d      1         -      igr      "T_NDG_OLD"               "OLD PERT POT TEMP FOR FDDA GRID NUDGING"  "K"
1033state    real  Q_NDG_OLD         ikjf     fdda3d      1         -      igr      "Q_NDG_OLD"               "OLD WATER VAPOR MIX RATIO FOR FDDA GRID NUDGING"  "kg/kg"
1034state    real  PH_NDG_OLD        ikjf     fdda3d      1         Z      igr      "PH_NDG_OLD"              "OLD PERT GEOPOTENTIAL FOR FDDA GRID NUDGING"  "kg/kg"
1035state    real    -               ivjf     fdda2d      1         Z     -    -
1036state    real  MU_NDG_NEW        ivjf     fdda2d      1         Z      igr      "MU_NDG_NEW"              "NEW PERT COLUMN DRY MASS FOR FDDA GRID NUDGING"  "Pa"
1037state    real  T2_NDG_NEW        ivjf     fdda2d      1         -      igr      "T2_NDG_NEW"               "NEW 2m TEMP FOR PX LSM "  "K"
1038state    real  Q2_NDG_NEW        ivjf     fdda2d      1         -      igr      "Q2_NDG_NEW"               "NEW 2m WATER VAPOR MIX RATIO FOR PX LSM "  "kg/kg"
1039state    real  MU_NDG_OLD        ivjf     fdda2d      1         Z      igr      "MU_NDG_OLD"              "OLD PERT COLUMN DRY MASS FOR FDDA GRID NUDGING"  "Pa"
1040state    real  T2_NDG_OLD        ivjf     fdda2d      1         -      igr      "T2_NDG_OLD"               "OLD 2m TEMP F FOR PX LSM"  "K"
1041state    real  Q2_NDG_OLD        ivjf     fdda2d      1         -      igr      "Q2_NDG_OLD"               "OLD 2m WATER VAPOR MIX RATIO  FOR PX LSM"  "kg/kg"
1042state    real  SN_NDG_NEW        ivjf     fdda2d      1         -      igr      "SN_NDG_NEW"               "NEW Snow Depth "  "m"
1043state    real  SN_NDG_OLD        ivjf     fdda2d      1         -      igr      "SN_NDG_OLD"               "OLD Snow Depth"  "m"
1044
1045
1046# flag for nest movement
1047state  logical moved            -       misc        1         -     -         
1048
1049# special cam radiation restart arrays
1050state  real   abstot   ikcj   misc      1    Z   -     ""   ""  " "
1051state  real   absnxt   ikaj   misc      1    -   -     ""   ""  " "
1052state  real   emstot   ikj    misc      1    Z   -     ""   ""  " "
1053
1054# model diagnostics
1055state   real  dpsdt            ij       misc        1         -     -         "dpsdt"           "surface pressure tendency"                         "Pa/sec"
1056state   real  dmudt            ij       misc        1         -     -         "dmudt"           "mu tendency"                                       "Pa/sec"
1057state   real  pk1m             ij       misc        1         -     -         "pk1m"            "surface pressure at previous step"                 "Pa"
1058state   real  mu_2m            ij       misc        1         -     -         "mu_2m"           "mu_2 at previous step"                             "Pa"
1059
1060state   real    max_cfl         -       misc        1         -     -       "max_cfl"           "maximum CFL value in grid at a time" "-"
1061
1062# Ocean Mixed-Layer State Variables
1063state   real    TML            ij      misc         1         -     rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)    "TML"    "OCEAN MIXED-LAYER TEMPERATURE"   "K"
1064state   real    T0ML           ij      misc         1         -     rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)    "T0ML"   "INITIAL OCEAN MIXED-LAYER TEMPERATURE"   "K"
1065state   real    HML            ij      misc         1         -     rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)    "HML"    "OCEAN MIXED-LAYER DEPTH"   "m"
1066state   real    H0ML           ij      misc         1         -     rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)    "H0ML"   "INITIAL OCEAN MIXED-LAYER DEPTH"   "m"
1067state   real    HUML           ij      misc         1         -     rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)    "HUML"   "OCEAN MIXED-LAYER DEPTH * U-CURRENT"  " m2s-1 "
1068state   real    HVML           ij      misc         1         -     rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)    "HVML"   "OCEAN MIXED-LAYER DEPTH * V-CURRENT"  " m2s-1 "
1069#
1070#---------------------------------------------------------------------------------------------------------------------------------------
1071#                                               
1072
1073######                                         
1074#                                               
1075# Variables that are set at run-time to control configuration  (namelist-settable)                                             
1076#                                               
1077#<Table>  <Type>  <Sym>                   <How set>          <Nentries>   <Default>                                             
1078
1079
1080# Time Control
1081rconfig   integer run_days                namelist,time_control         1             0       irh   "run_days"              "NUMBER OF DAYS TO RUN"
1082rconfig   integer run_hours               namelist,time_control         1             0       irh   "run_hours"             "NUMBER OF HOURS TO RUN"
1083rconfig   integer run_minutes             namelist,time_control         1             0       irh   "run_minutes"           "NUMBER OF MINUTES TO RUN"
1084rconfig   integer run_seconds             namelist,time_control         1             0       irh   "run_seconds"           "NUMBER OF SECONDS TO RUN"
1085rconfig   integer start_year              namelist,time_control         max_domains    2024   irh   "start_year"            "4 DIGIT YEAR OF START OF MODEL" "YEARS"
1086rconfig   integer start_month             namelist,time_control         max_domains      01    irh   "start_month"           "2 DIGIT MONTH OF THE YEAR OF START OF MODEL, 1-12" "MONTHS"
1087rconfig   integer start_day               namelist,time_control         max_domains      01    irh   "start_day"             "2 DIGIT DAY OF THE MONTH OF START OF MODEL, 1-31" "DAYS"
1088rconfig   integer start_hour              namelist,time_control         max_domains      00    irh   "start_hour"            "2 DIGIT HOUR OF THE DAY OF START OF MODEL, 0-23" "HOURS"
1089rconfig   integer start_minute            namelist,time_control         max_domains      00    irh   "start_minute"          "2 DIGIT MINUTE OF THE HOUR OF START OF MODEL, 0-59" "MINUTES"
1090rconfig   integer start_second            namelist,time_control         max_domains      00    irh   "start_second"          "2 DIGIT SECOND OF THE MINUTE OF START OF MODEL, 0-59" "SECONDS"
1091rconfig   integer end_year                namelist,time_control         max_domains    2024    irh   "end_year"              "4 DIGIT YEAR OF END OF MODEL" "YEARS"
1092rconfig   integer end_month               namelist,time_control         max_domains      01    irh   "end_month"             "2 DIGIT MONTH OF THE YEAR OF END OF MODEL, 1-12" "MONTHS"
1093rconfig   integer end_day                 namelist,time_control         max_domains      02    irh   "end_day"               "2 DIGIT DAY OF THE MONTH OF END OF MODEL, 1-31" "DAYS"
1094rconfig   integer end_hour                namelist,time_control         max_domains      00    irh   "end_hour"              "2 DIGIT HOUR OF THE DAY OF END OF MODEL, 0-23" "HOURS"
1095rconfig   integer end_minute              namelist,time_control         max_domains      00    irh   "end_minute"            "2 DIGIT MINUTE OF THE HOUR OF END OF MODEL, 0-59" "MINUTES"
1096rconfig   integer end_second              namelist,time_control         max_domains      00    irh   "end_second"            "2 DIGIT SECOND OF THE MINUTE OF END OF MODEL, 0-59" "SECONDS"
1097rconfig   integer interval_seconds        namelist,time_control         1             43200    irh   "interval_seconds"      "SECONDS BETWEEN ANALYSIS AND BOUNDARY PERIODS" "SECONDS"
1098rconfig   logical input_from_file         namelist,time_control         max_domains    .false. irh    "input_from_file"      "T/F INPUT FOR THIS DOMAIN FROM A SEPARATE INPUT FILE"  ""
1099rconfig   integer fine_input_stream       namelist,time_control         max_domains    0       irh    "fine_input_stream"      "0 THROUGH 11, WHAT INPUT STREAM IS FINE GRID IC FROM"  ""
1100rconfig   logical input_from_hires        namelist,time_control         max_domains    .false. irh    "input_from_hires"     "T/F INPUT FOR THIS DOMAIN FROM USGS HI RES TERRAIN"  ""
1101rconfig   character rsmas_data_path       namelist,time_control         1              "."     -    "rsmas_data_path"      ""  ""
1102rconfig   logical all_ic_times            namelist,time_control         1              .false. irh    "all_ic_times"     "T/F WRITE ALL IC TIME PERIODS"  ""
1103
1104include registry.io_boilerplate
1105
1106rconfig   integer JULYR                   namelist,time_control         max_domains    0       h    "JULYR"                 ""      ""
1107rconfig   integer JULDAY                  namelist,time_control         max_domains    1       h    "JULDAY"                ""      ""
1108rconfig   real    GMT                     namelist,time_control         max_domains    0.      h    "GMT"           ""      ""
1109rconfig   character  input_inname      namelist,time_control            1  "wrfinput_d<domain>"          -     "name of input   infile"   ""      ""
1110rconfig   character  input_outname     namelist,time_control            1  "wrfinput_d<domain>"          -     "name of input   outfile"  ""      ""
1111rconfig   character  bdy_inname        namelist,time_control            1  "wrfbdy_d<domain>"            -     "name of boundary infile"  ""      ""
1112rconfig   character  bdy_outname       namelist,time_control            1  "wrfbdy_d<domain>"            -     "name of boundary outfile" ""      ""
1113rconfig   character  rst_inname        namelist,time_control            1  "wrfrst_d<domain>_<date>"     -     "name of restrt infile"    ""      ""
1114rconfig   character  rst_outname       namelist,time_control            1  "wrfrst_d<domain>_<date>"     -     "name of restrt outfile"   ""      ""
1115rconfig   logical write_input             namelist,time_control         1             .false. -    "write input data for 3dvar etc."              ""      ""
1116rconfig   logical write_restart_at_0h     namelist,time_control         1             .false. h    "write_restart_at_0h"              ""      ""
1117rconfig   logical adjust_output_times     namelist,time_control         1             .false. -    "adjust_output_times"
1118rconfig   logical adjust_input_times      namelist,time_control         1             .false. -    "adjust_input_times"
1119
1120rconfig   integer diag_print              namelist,time_control         1              0      -    "print out time series of model diagnostics"
1121rconfig   logical nocolons                namelist,time_control         1             .false. -    "nocolons"
1122
1123# DFI namelist
1124rconfig   integer dfi_opt                namelist,dfi_control   1       0     rh   "dfi_opt"                ""      ""
1125rconfig   integer dfi_nfilter            namelist,dfi_control   1       7     rh   "dfi_nfilter"                "Digital filter type"      ""
1126rconfig   logical dfi_write_filtered_input  namelist,dfi_control  1  .true.   rh   "dfi_write_filtered_input"                "Write a wrfinput_filtered_d0n file?"      ""
1127rconfig   logical dfi_write_dfi_history  namelist,dfi_control   1   .false.   rh   "dfi_write_dfi_history"    "Write history files during filtering?"      ""
1128rconfig   integer dfi_cutoff_seconds     namelist,dfi_control   1    3600     rh   "dfi_cutoff_seconds"       "Digital filter cutoff time"      ""
1129rconfig   integer dfi_time_dim           namelist,dfi_control   1    1000     rh   "dfi_time_dim"             "MAX DIMENSION FOR HCOEFF"
1130rconfig   integer dfi_fwdstop_year       namelist,dfi_control   1    2004     rh   "dfi_fwdstop_year"         "4 DIGIT YEAR OF START OF DFI" "YEARS"
1131rconfig   integer dfi_fwdstop_month      namelist,dfi_control   1      03     rh   "dfi_fwdstop_month"        "2 DIGIT MONTH OF THE YEAR OF START OF DFI" "MONTHS"
1132rconfig   integer dfi_fwdstop_day        namelist,dfi_control   1      13     rh   "dfi_fwdstop_day"          "2 DIGIT DAY OF THE MONTH OF START OF DFI" "DAYS"
1133rconfig   integer dfi_fwdstop_hour       namelist,dfi_control   1      12     rh   "dfi_fwdstop_hour"         "2 DIGIT HOUR OF THE DAY OF START OF DFI" "HOURS"
1134rconfig   integer dfi_fwdstop_minute     namelist,dfi_control   1      00     rh   "dfi_fwdstop_minute"       "2 DIGIT MINUTE OF THE HOUR OF START OF DFI" "MINUTES"
1135rconfig   integer dfi_fwdstop_second     namelist,dfi_control   1      00     rh   "dfi_fwdstop_second"       "2 DIGIT SECOND OF THE MINUTE OF START OF DFI" "SECONDS"
1136rconfig   integer dfi_bckstop_year       namelist,dfi_control   1    2004     rh   "dfi_bckstop_year"         "4 DIGIT YEAR OF END OF DFI" "YEARS"
1137rconfig   integer dfi_bckstop_month      namelist,dfi_control   1      03     rh   "dfi_bckstop_month"        "2 DIGIT MONTH OF THE YEAR OF END OF DFI" "MONTHS"
1138rconfig   integer dfi_bckstop_day        namelist,dfi_control   1      14     rh   "dfi_bckstop_day"          "2 DIGIT DAY OF THE MONTH OF END OF DFI" "DAYS"
1139rconfig   integer dfi_bckstop_hour       namelist,dfi_control   1      12     rh   "dfi_bckstop_hour"         "2 DIGIT HOUR OF THE DAY OF END OF DFI" "HOURS"
1140rconfig   integer dfi_bckstop_minute     namelist,dfi_control   1      00     rh   "dfi_bckstop_minute"       "2 DIGIT MINUTE OF THE HOUR OF END OF DFI" "MINUTES"
1141rconfig   integer dfi_bckstop_second     namelist,dfi_control   1      00     rh   "dfi_bckstop_second"       "2 DIGIT SECOND OF THE MINUTE OF END OF DFI" "SECONDS"
1142
1143# Domains
1144rconfig   integer time_step               namelist,domains      1             -       ih   "time_step"     
1145rconfig   integer time_step_fract_num     namelist,domains      1             0       ih   "time_step_fract_num"     
1146rconfig   integer time_step_fract_den     namelist,domains      1             1       ih   "time_step_fract_den"     
1147
1148rconfig   integer min_time_step           namelist,domains      max_domains   -1      h    "min_time_step"
1149rconfig   integer max_time_step           namelist,domains      max_domains   -1      h    "max_time_step"
1150rconfig   real    target_cfl              namelist,domains      max_domains  1.2      h    "target_cfl"
1151rconfig   integer max_step_increase_pct   namelist,domains      max_domains    5      h    "max_step_increase_pct"
1152rconfig   integer starting_time_step      namelist,domains      max_domains   -1      h    "starting_time_step"
1153rconfig   logical step_to_output_time     namelist,domains      1         .true.      h    "step_to_output_time"
1154rconfig   logical use_adaptive_time_step  namelist,domains      1         .false.     h    "use_adaptive_time_step"
1155
1156rconfig   integer max_dom                 namelist,domains      1             1       irh  "max_dom"               ""      ""
1157rconfig   integer s_we                    namelist,domains      max_domains    1       irh    "s_we"          ""      ""
1158rconfig   integer e_we                    namelist,domains      max_domains    32      irh    "e_we"          ""      ""
1159rconfig   integer s_sn                    namelist,domains      max_domains    1       irh    "s_sn"          ""      ""
1160rconfig   integer e_sn                    namelist,domains      max_domains    32      irh    "e_sn"          ""      ""
1161rconfig   integer s_vert                  namelist,domains      max_domains    1       irh    "s_vert"                ""      ""
1162rconfig   integer e_vert                  namelist,domains      max_domains    31      irh    "e_vert"                ""      ""
1163rconfig   integer num_metgrid_levels      namelist,domains      1              27      irh    "num_metgrid_levels"                ""      ""
1164rconfig   real    p_top_requested         namelist,domains      1              5000    irh    "p_top_requested" "Pa"      ""
1165rconfig   integer interp_type             namelist,domains      1              2       irh    "interp_type"  "1=interp in pressure, 2=interp in LOG pressure"  ""
1166rconfig   integer extrap_type             namelist,domains      1              2       irh    "extrap_type"  "1= use 2 lowest levels, 2=constant"  ""
1167rconfig   integer t_extrap_type           namelist,domains      1              2       irh    "t_extrap_type"  "1=isothermal, 2=6.5 K/km, 3=adiabatic"   ""
1168rconfig   logical lowest_lev_from_sfc     namelist,domains      1             .false.  irh    "lowest_lev_from_sfc"                ""      ""
1169rconfig   logical use_levels_below_ground namelist,domains      1             .true.   irh    "use_levels_below_ground"   "T/F: use input data levels below input sfc pres" ""
1170rconfig   logical use_surface             namelist,domains      1             .true.   irh    "use_surface"   "T/F: use input surface level in interpolation" ""
1171rconfig   integer lagrange_order          namelist,domains      1              1       irh    "lagrange_order"   "1=linear, 2=quadratic vertical interpolation"      ""
1172rconfig   integer force_sfc_in_vinterp    namelist,domains      1              1       irh    "force_sfc_in_vinterp"   "number of eta levels forced to use sfc in vert interp"      ""
1173rconfig   real    zap_close_levels        namelist,domains      1              500     irh    "zap_close_levels"   "delta p where level is removed in vert interp"      "Pa"
1174rconfig   logical sfcp_to_sfcp            namelist,domains      1              .false. irh    "sfcp_to_sfcp"   "T/F use incoming sfc pres to compute new sfc pres"      "flag"
1175rconfig   logical adjust_heights          namelist,domains      1              .false. irh    "adjust_heights"   "T/F adjust pressure level input to match 500 mb height"      "flag"
1176rconfig   logical smooth_cg_topo          namelist,domains      1              .false. irh    "smooth_cg_topo"   "T/F smooth CG topo on boundarries" "flag"
1177rconfig   real    dx                      namelist,domains     max_domains    200     h     "dx"        "X HORIZONTAL RESOLUTION"   "METERS"
1178rconfig   real    dy                      namelist,domains      max_domains    200     h     "dy"        "Y HORIZONTAL RESOLUTION"   "METERS"
1179rconfig   integer grid_id                 namelist,domains      max_domains    1       irh    "id"            ""      ""
1180rconfig   logical grid_allowed            namelist,domains      max_domains    .true.  irh    "allowed"            ""      ""
1181rconfig   integer parent_id               namelist,domains      max_domains    0       h     "parent_id"             ""      ""
1182rconfig   integer i_parent_start          namelist,domains      max_domains    1       rh     "i_parent_start"                ""      ""
1183rconfig   integer j_parent_start          namelist,domains      max_domains    1       rh     "j_parent_start"                ""      ""
1184rconfig   integer parent_grid_ratio       namelist,domains      max_domains    1       h     "parent_grid_ratio"             ""      ""
1185rconfig   integer parent_time_step_ratio  namelist,domains      max_domains    1       h     "parent_time_step_ratio"                ""      ""
1186rconfig   integer feedback                namelist,domains      1    1       h     "feedback"          ""      ""
1187rconfig   integer smooth_option           namelist,domains      1    2       h     "smooth_option"          ""      ""
1188rconfig   integer blend_width             namelist,domains      1    5       h     "blend_width"  "width of cg fg terrain blended zone"      ""
1189rconfig   real    ztop                    namelist,domains      max_domains    15000.  h    "ztop"          ""      ""
1190rconfig   integer moad_grid_ratio         namelist,domains      max_domains    1       h     "moad_grid_ratio"               ""      ""
1191rconfig   integer moad_time_step_ratio    namelist,domains      max_domains    1       h     "moad_time_step_ratio"          ""      ""
1192rconfig   integer shw                     namelist,domains      max_domains    2       h     "stencil_half_width"   "HORIZONTAL INTERPOLATION STENCIL HALF-WIDTH"  "GRID POINTS"
1193rconfig   integer tile_sz_x               namelist,domains      1             0       -      "tile_sz_x"             ""      ""
1194rconfig   integer tile_sz_y               namelist,domains      1             0       -      "tile_sz_y"             ""      ""
1195rconfig   integer numtiles                namelist,domains      1             1       -      "numtiles"              ""      ""
1196rconfig   integer nproc_x                 namelist,domains      1             -1       -      "nproc_x"              "-1 means not set"      ""
1197rconfig   integer nproc_y                 namelist,domains      1             -1       -      "nproc_y"              "-1 means not set"      ""
1198rconfig   integer irand                   namelist,domains      1             0       -      "irand"           ""      ""
1199rconfig   real    dt                      derived              max_domains    2.      h     "dt"        "TEMPORAL RESOLUTION"      "SECONDS"
1200rconfig   integer   num_moves       namelist,domains    1                0
1201rconfig   integer   ts_buf_size     namelist,domains    1                200          -       "ts_buf_size"   "Size of time series buffer"
1202rconfig   integer   max_ts_locs     namelist,domains    1                5            -       "max_ts_locs"   "Maximum number of time series locations"
1203rconfig   integer   vortex_interval  namelist,domains   max_domains      15  -  "" "" "minutes"
1204rconfig   integer   max_vortex_speed namelist,domains   max_domains      40  -  "" "" "meters per second"
1205rconfig   integer   corral_dist     namelist,domains    max_domains      8
1206rconfig   integer   track_level     namelist,domains    1                50000
1207rconfig   integer   move_id         namelist,domains    max_moves        0
1208rconfig   integer   move_interval   namelist,domains    max_moves        999999999
1209rconfig   integer   move_cd_x       namelist,domains    max_moves        0
1210rconfig   integer   move_cd_y       namelist,domains    max_moves        0
1211rconfig   logical   swap_x          namelist,domains    max_domains    .false. rh    "swap_x"            ""      ""
1212rconfig   logical   swap_y          namelist,domains    max_domains    .false. rh    "swap_y"            ""      ""
1213rconfig   logical   cycle_x         namelist,domains    max_domains    .false. rh    "cycle_x"            ""      ""
1214rconfig   logical   cycle_y         namelist,domains    max_domains    .false. rh    "cycle_y"            ""      ""
1215rconfig   logical   reorder_mesh    namelist,domains    1              .false. rh    "reorder_mesh"       ""      ""
1216rconfig   logical   perturb_input   namelist,domains    1              .false. h     "" "" ""
1217rconfig   real      eta_levels      namelist,domains    max_eta        -1.
1218rconfig   real      max_dz          namelist,domains    1               1000.
1219
1220# Physics
1221######
1222###### MARS SPECIFIC NAMELIST ENTRIES
1223######
1224rconfig  integer  mars      namelist,physics  max_domains  0        rh   "mars"      "model mode"              ""
1225rconfig  real     init_TI   namelist,physics  max_domains  0        irh  "init_TI"   "thermal inertia"         ""
1226rconfig  real     init_AL   namelist,physics  max_domains  0        irh  "init_AL"   "albedo"                  ""
1227rconfig  real     init_U    namelist,physics  max_domains  0        irh  "init_U"    "zonal wind"              ""
1228rconfig  real     init_V    namelist,physics  max_domains  0        irh  "init_V"    "meridional wind"         ""
1229rconfig  integer  init_WX   namelist,physics  max_domains  0        irh  "init_WX"   "x coord"                 ""
1230rconfig  integer  init_WY   namelist,physics  max_domains  0        irh  "init_WY"   "y coord"                 ""
1231rconfig  real     init_MU   namelist,physics  max_domains  0        irh  "init_MU"   "zonal wind mult."        ""
1232rconfig  real     init_MV   namelist,physics  max_domains  0        irh  "init_MV"   "meridional wind mult."   ""
1233rconfig  logical  init_LES  namelist,physics  max_domains  .false.  irh  "init_LES"  "LES mode"                ""
1234rconfig  logical  modif_wrf namelist,physics  max_domains  .true.   ir   "modif_wrf" "true if tweaked WRF"     ""
1235#######
1236####### MARS SPECIFIC NAMELIST ENTRIES
1237#######
1238rconfig   integer     mp_physics          namelist,physics      max_domains    0       rh       "mp_physics"            ""      ""
1239rconfig   integer     gsfcgce_hail        namelist,physics      1              0       rh       "gsfcgce select hail/graupel"  ""      ""
1240rconfig   integer     gsfcgce_2ice        namelist,physics      1              0       rh       "gsfcgce select 2ice/3ice"  ""      ""
1241rconfig   integer     progn               namelist,physics      max_domains    0       rh       "progn"                 ""      ""
1242rconfig   integer     ra_lw_physics       namelist,physics      max_domains    0       rh       "ra_lw_physics"         ""      ""
1243rconfig   integer     ra_sw_physics       namelist,physics      max_domains    0       rh       "ra_sw_physics"         ""      ""
1244rconfig   real    radt                    namelist,physics      max_domains    1       h    "RADT"          ""      ""
1245rconfig   real    naer                    namelist,physics      max_domains    1e9     rh   "NAER"          ""      ""
1246rconfig   integer     sf_sfclay_physics   namelist,physics      max_domains    0       rh       "sf_sfclay_physics"             ""      ""
1247rconfig   integer     sf_surface_physics  namelist,physics      max_domains    0       rh       "sf_surface_physics"            ""      ""
1248rconfig   integer     bl_pbl_physics      namelist,physics      max_domains    0       rh       "bl_pbl_physics"                ""      ""
1249rconfig   real    BLDT                    namelist,physics      max_domains    0       h    "BLDT"          ""      ""
1250rconfig   integer     cu_physics          namelist,physics      max_domains    0       rh       "cu_physics"            ""      ""
1251rconfig   real    CUDT                    namelist,physics      max_domains    0       h    "CUDT"          ""      ""
1252rconfig   real    GSMDT                   namelist,physics      max_domains    0       h    "GSMDT"          ""      ""
1253rconfig   integer ISFFLX                  namelist,physics      1             1       irh    "ISFFLX"                        ""      ""
1254rconfig   integer IFSNOW                  namelist,physics      1             0       irh    "IFSNOW"                        ""      ""
1255rconfig   integer ICLOUD                  namelist,physics      1             1       irh    "ICLOUD"                        ""      ""
1256rconfig   real    swrad_scat              namelist,physics      1             1       irh    "SWRAD_SCAT" "SCATTERING FACTOR IN SWRAD"      ""
1257rconfig   integer surface_input_source    namelist,physics      1             1       irh    "surface_input_source"          "1=static (fractional), 2=time dependent (dominant), 3=hybrid (not yet implemented)"      ""
1258rconfig   integer num_soil_layers         namelist,physics      1            10       irh    "num_soil_layers"               ""      ""
1259rconfig   integer num_months              namelist,physics      1            12       irh    "num_months"               ""      ""
1260rconfig   integer maxiens                 namelist,physics      1             1       irh    "maxiens"                    ""      ""
1261rconfig   integer maxens                  namelist,physics      1             3       irh    "maxens"                    ""      ""
1262rconfig   integer maxens2                 namelist,physics      1             3       irh    "maxens2"                    ""      ""
1263rconfig   integer maxens3                 namelist,physics      1            16       irh    "maxens3"                    ""      ""
1264rconfig   integer ensdim                  namelist,physics      1            144      irh    "ensdim"                    ""      ""
1265rconfig   integer cugd_avedx              namelist,physics      1            1      irh    "cugd_avedx"                    ""      ""
1266rconfig   integer clos_choice             namelist,physics      1             0       rh    "clos_choice"                    ""      ""
1267rconfig   integer imomentum               namelist,physics      1             0       rh    "imomentum"                    "momentum transport in G3 scheme"      ""
1268rconfig   integer     chem_opt            namelist,physics      max_domains    0       rh       "chem_opt"              ""      ""
1269rconfig   integer num_land_cat            namelist,physics      1            24       -      "num_land_cat"                  ""      ""
1270rconfig   integer num_soil_cat            namelist,physics      1            16       -      "num_soil_cat"                  ""      ""
1271rconfig   integer mp_zero_out             namelist,physics      1             0       -      "mp_zero_out"  "microphysics fields set to zero  0=no action taken, 1=all fields but Qv, 2=all fields including Qv"      "flag"
1272rconfig   real mp_zero_out_thresh         namelist,physics      1          1.e-8      -      "mp_zero_out_thresh"  "minimum threshold for non-Qv moist fields, below are set to zero"  "kg/kg"
1273rconfig   real    seaice_threshold        namelist,physics      1            271       h    "seaice_threshold"  "tsk below which which water points are set to sea ice for slab scheme"   "K"
1274rconfig   integer sst_update              namelist,physics      1            0         h    "sst_update"  "update sst from wrflowinp file  0=no, 1=yes"   ""
1275rconfig   integer ucmcall                 namelist,physics      max_domains  0         h    "ucmcall"     "activate urban model  0=no, 1=yes"   ""
1276rconfig   logical usemonalb               namelist,physics      1            .false.   h    "usemonalb"   "use 2d field vs table values  false=table, True=2d"   ""
1277rconfig   integer co2tf                   namelist,physics      1            1         -    "co2tf" "GFDL radiation co2 flag" ""
1278rconfig   integer ra_call_offset          namelist,physics      1            0         -    "ra_call_offset" "radiation call offset in timesteps (-1=old, 0=new offset)" ""
1279rconfig   real    cam_abs_freq_s          namelist,physics      1         21600.      -      "cam_abs_freq_s" "CAM radiation frequency for clear-sky longwave calculations" "s"
1280rconfig   integer levsiz                  namelist,physics      1             1       -      "levsiz" "Number of ozone data levels for CAM radiation (59)"  ""
1281rconfig   integer paerlev                 namelist,physics      1             1       -      "paerlev" "Number of aerosol data levels for CAM radiation (29)"  ""
1282rconfig   integer cam_abs_dim1            namelist,physics      1             1       -      "cam_abs_dim1" "dimension for absnxt in CAM radiation"  ""
1283rconfig   integer cam_abs_dim2            namelist,physics      1             1       -      "cam_abs_dim2" "dimension for abstot in CAM radiation"  ""
1284rconfig   logical cu_rad_feedback         namelist,physics      max_domains   .false.  -     "feedback cumulus to radiation"  ""
1285rconfig   integer pxlsm_smois_init           namelist,physics  max_domains   1       irh    "PXLSM_SMOIS_INIT"    "Soil moisture initialization option 0-From analysis 1-From MAVAIL"      ""
1286rconfig   integer omlcall                 namelist,physics      1            0         h     "omlcall"     "activate simple ocean mixed layer model  0=no, 1=yes"   ""
1287rconfig   real    oml_hml0                namelist,physics      1            50        h     "oml_hml0"    "oml initial mixed layer depth value"   "m"
1288rconfig   real    oml_gamma               namelist,physics      1            0.14      h     "oml_gamma"   "oml deep water lapse rate"   "K m-1"
1289rconfig   integer isftcflx                namelist,physics      1            0         h     "isftcflx"    "switch to control sfc fluxes"   ""
1290rconfig   real    shadlen                 namelist,physics      1            25000.    -     "shadow_length" "maximum length of orographic shadow" "m"
1291rconfig   integer slope_rad               namelist,physics      max_domains    0       -     "slope_rad"  "1: use slope-dependent radiation, 0:not" ""
1292rconfig   integer topo_shading            namelist,physics      max_domains    0       -     "topo_shading" "1: apply topographic shading to radiation, 0:not" ""
1293rconfig   integer no_mp_heating           namelist,physics      1              0       -     "no_mp_heating" "switch to turn of latent heating in mp schemes"   ""
1294
1295#FDDA namelist parameters
1296rconfig   real    FGDT                    namelist,fdda         max_domains    0       h        "FGDT"          ""      ""
1297rconfig   integer  grid_fdda              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1298rconfig   integer  if_no_pbl_nudging_uv   namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1299rconfig   integer  if_no_pbl_nudging_t    namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1300rconfig   integer  if_no_pbl_nudging_q    namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1301rconfig   integer  if_zfac_uv             namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1302rconfig   integer   k_zfac_uv             namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1303rconfig   integer  if_zfac_t              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1304rconfig   integer   k_zfac_t              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1305rconfig   integer  if_zfac_q              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1306rconfig   integer   k_zfac_q              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1307rconfig   real        guv                 namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1308rconfig   real        gt                  namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1309rconfig   real        gq                  namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1310rconfig   real    dtramp_min              namelist,fdda         1              0       h        "grid_fdda"            ""      ""
1311rconfig   integer if_ramping              namelist,fdda         1              0       h        "grid_fdda"            ""      ""
1312
1313#Observational Nudging
1314rconfig   integer     obs_nudge_opt       namelist,fdda            max_domains    0       rh       "obs_nudge_opt"     "Obs-nudging flag for domain"          ""
1315rconfig   integer     max_obs             namelist,fdda            1              0       h        "max_obs"           "Maximum number of observations"       ""
1316rconfig   real        fdda_start          namelist,fdda            max_domains    0       rh       "fdda_start"        "Nudging start time for domain"        "min"
1317rconfig   real        fdda_end            namelist,fdda            max_domains    0       rh       "fdda_end"          "Nudging end time for domain"          "min"
1318rconfig   integer     obs_nudge_wind      namelist,fdda            max_domains    0       rh       "obs_nudge_wind"    "Wind-nudging flag for domain"         ""
1319rconfig   real        obs_coef_wind       namelist,fdda            max_domains    0       rh       "obs_coef_wind"     "Wind-nudging coeficient for domain"   "s-1"
1320rconfig   integer     obs_nudge_temp      namelist,fdda            max_domains    0       rh       "obs_nudge_temp"    "Temperature-nudging flag for domain"  ""
1321rconfig   real        obs_coef_temp       namelist,fdda            max_domains    0       rh       "obs_coef_temp"     "Temperature-nudging coef for domain"  "s-1"
1322rconfig   integer     obs_nudge_mois      namelist,fdda            max_domains    0       rh       "obs_nudge_mois"    "Moisture-nudging flag for domain"     ""
1323rconfig   real        obs_coef_mois       namelist,fdda            max_domains    0       rh       "obs_coef_mois"     "Moisture-nudging coef for domain"     "s-1"
1324rconfig   integer     obs_nudge_pstr      namelist,fdda            max_domains    0       rh       "obs_nudge_pstr"    "Not used"                             ""
1325rconfig   real        obs_coef_pstr       namelist,fdda            max_domains    0       rh       "obs_coef_pstr"     "Not used"                             ""
1326rconfig   real        obs_rinxy           namelist,fdda            max_domains    0       rh       "obs_rinxy"         "Horizontal radius of influence"       "km"
1327rconfig   real        obs_rinsig          namelist,fdda            1              0       h        "obs_rinsig"        "Vertical radius of influence"         "sigma"
1328rconfig   real        obs_twindo          namelist,fdda            max_domains    0       rh       "obs_twindo"        "Half-period time window for nudging"  "hrs"
1329rconfig   integer     obs_npfi            namelist,fdda            1              0       h        "obs_npfi"          "Freq in cg timesteps for diag print"  ""
1330rconfig   integer     obs_ionf            namelist,fdda            max_domains    1       rh       "obs_ionf"          "Freq in cg timesteps for obs input and error calc"   ""
1331rconfig   integer     obs_idynin          namelist,fdda            1              0       h        "obs_idynin"        "Flag for dynamic initialization"      ""
1332rconfig   real        obs_dtramp          namelist,fdda            1              0       h        "obs_dtramp"        "Time period for ramping (idynin)"     "min"
1333rconfig   integer     obs_nobs_prt        namelist,fdda            max_domains    0       rh       "obs_nobs_prt"      "Number of current obs to print grid coord. info."   ""
1334rconfig   logical     obs_ipf_in4dob      namelist,fdda            1              .false. h        "obs_ipf_in4dob"    "Print obs input diagnostics"   ""
1335rconfig   logical     obs_ipf_errob       namelist,fdda            1              .false. h        "obs_ipf_errob"     "Print obs error diagnostics"   ""
1336rconfig   logical     obs_ipf_nudob       namelist,fdda            1              .false. h        "obs_ipf_nudob"     "Print obs nudge diagnostics"   ""
1337rconfig   logical     obs_ipf_init        namelist,fdda            1              .true.  h        "obs_ipf_init"      "Enable obs init warning messages"   ""
1338
1339
1340# Dynamics
1341# dynamics option (see package definitions, below)
1342rconfig   integer rk_ord                  namelist,dynamics     1             3       irh   "rk_order"               ""      ""
1343rconfig   integer w_damping               namelist,dynamics     1             0       irh    "w_damping"             ""      ""
1344# diff_opt 1=old diffusion, 2=new
1345rconfig   integer diff_opt                namelist,dynamics     1             1       irh    "diff_opt"              ""      ""
1346# km_opt   1=old coefs, 2=tke, 3=Smagorinksy
1347rconfig   integer km_opt                  namelist,dynamics     1             1       irh    "km_opt"                ""      ""
1348# km_opt_dfi is needed for backward integration in dfi
1349rconfig   integer km_opt_dfi              namelist,dynamics     1             1       irh    "km_opt_dfi"                ""      ""
1350rconfig   integer damp_opt                namelist,dynamics     1             0       irh    "damp_opt"              ""      ""
1351rconfig   real    zdamp                   namelist,dynamics     max_domains    5000.   h    "zdamp"         ""      ""
1352rconfig   real    dampcoef                namelist,dynamics     max_domains    0.      h    "dampcoef"              ""      ""
1353rconfig   real    khdif                   namelist,dynamics     max_domains    0       h    "khdif"         ""      ""
1354rconfig   real    kvdif                   namelist,dynamics     max_domains    0       h    "kvdif"         ""      ""
1355rconfig   real    diff_6th_factor         namelist,dynamics     max_domains    0.2     h    "diff_6th_factor" "factor that controls rate of 6th-order numerical diffusion"
1356rconfig   integer diff_6th_opt            namelist,dynamics     max_domains    2      irh   "diff_6th_opt" "switch for 6th-order numerical diffusion"
1357rconfig   real    c_s                     namelist,dynamics     max_domains    0.25    h    "c_s"         "Smagorinsky coeff"      ""
1358rconfig   real    c_k                     namelist,dynamics     max_domains    0.15    h    "c_k"         "TKE coeff"      ""
1359rconfig   real    smdiv                   namelist,dynamics     max_domains    0.1     h    "smdiv"         ""      ""
1360rconfig   real    emdiv                   namelist,dynamics     max_domains    0.01    h    "emdiv"         ""      ""
1361rconfig   real    epssm                   namelist,dynamics     max_domains    0.1     h    "epssm"         ""      ""
1362rconfig   logical non_hydrostatic         namelist,dynamics     max_domains  .true.   irh  "non_hydrostatic"    ""   ""
1363rconfig   integer time_step_sound         namelist,dynamics     max_domains    6       h     "time_step_sound"               ""      ""
1364rconfig   integer     h_mom_adv_order     namelist,dynamics     max_domains    5       rh       "h_mom_adv_order"               ""      ""
1365rconfig   integer     v_mom_adv_order     namelist,dynamics     max_domains    3       rh       "v_mom_adv_order"               ""      ""
1366rconfig   integer     h_sca_adv_order     namelist,dynamics     max_domains    5       rh       "h_sca_adv_order"               ""      ""
1367rconfig   integer     v_sca_adv_order     namelist,dynamics     max_domains    3       rh       "v_sca_adv_order"               ""      ""
1368rconfig   logical     pd_moist            namelist,dynamics     max_domains    .false.  rh    "pd_moist"         "positive-definite RK3 transport switch"      ""
1369rconfig   logical     pd_moist_dfi        namelist,dynamics     max_domains    .false.  rh    "pd_moist_dfi"    "positive-definite RK3 transport switch"      ""
1370rconfig   logical     pd_chem             namelist,dynamics     max_domains    .false. rh    "pd_chem"          "positive-definite RK3 transport switch"      ""
1371rconfig   logical     pd_scalar           namelist,dynamics     max_domains    .false. rh    "pd_scalar"        "positive-definite RK3 transport switch"      ""
1372rconfig   logical     pd_tke              namelist,dynamics     max_domains    .false. rh    "pd_tke"           "positive-definite RK3 transport switch"      ""
1373rconfig   logical top_radiation           namelist,dynamics     max_domains    .false. rh    "top_radiation"         ""      ""
1374rconfig   integer mix_isotropic           namelist,dynamics     max_domains    0       h    "mix_isotropic"            "0=anistropic, 1=isotropic"      ""
1375rconfig   real    mix_upper_bound         namelist,dynamics     max_domains    0.1     h    "mix_upper_bound"          "non-dimensional limit"      ""
1376rconfig   logical top_lid                 namelist,dynamics     max_domains    .false. rh    "top_lid"               ""      ""
1377rconfig   real    tke_upper_bound         namelist,dynamics     max_domains    1000.   h    "tke_upper_bound"            ""      ""
1378rconfig   real    tke_drag_coefficient    namelist,dynamics     max_domains    0.      h    "tke_drag_coefficient"       ""      "dimensionless"
1379rconfig   real    tke_heat_flux           namelist,dynamics     max_domains    0.      h    "tke_heat_flux"              ""      "K m s-1"
1380rconfig   logical pert_coriolis           namelist,dynamics     max_domains  .false.  irh  "pert_coriolis"    ""   ""
1381rconfig   logical coriolis2d              namelist,dynamics     max_domains  .false.  irh  "coriolis2d"    ""   ""
1382rconfig   logical mix_full_fields         namelist,dynamics     max_domains  .false.  irh  "mix_full_field"   ""   ""
1383rconfig   real    base_pres               namelist,dynamics     1          100000.     h    "base_pres"  "Base state pressure - do not change (10^5 Pa), real only"      "Pa"
1384rconfig   real    base_temp               namelist,dynamics     1             290.     h    "base_temp"  "Base state sea level temperature, real only"      "K"
1385rconfig   real    base_lapse              namelist,dynamics     1              50.     h    "base_lapse" "Base state temperature difference between base pres and 1/e of atm depth - do not change, real only"      "K"
1386rconfig   real    fft_filter_lat          namelist,dynamics     1              45.     h    "fft_filter_lat"   ""   "grid latitude to start polar filter"
1387rconfig   logical rotated_pole            namelist,dynamics     1            .false.  irh   "rotated_pole"    ""   ""
1388rconfig   logical do_coriolis             namelist,dynamics     max_domains  .true.   irh  "do_coriolis"    ""   ""
1389rconfig   logical do_curvature            namelist,dynamics     max_domains  .true.   irh  "do_curvature"   ""   ""
1390rconfig   logical do_gradp                namelist,dynamics     max_domains  .true.   irh  "do_gradp"    ""   ""
1391
1392
1393# Bdy_control
1394rconfig   integer spec_bdy_width          namelist,bdy_control          1             5       irh    "spec_bdy_width"                ""      ""
1395rconfig   integer spec_zone               namelist,bdy_control          1             1       irh    "spec_zone"                     ""      ""
1396rconfig   integer relax_zone              namelist,bdy_control          1             4       irh    "relax_zone"                    ""      ""
1397rconfig   logical specified               namelist,bdy_control  max_domains    .false. rh    "specified"             ""      ""
1398rconfig   logical periodic_x              namelist,bdy_control  max_domains    .false. rh    "periodic_x"            ""      ""
1399rconfig   logical symmetric_xs            namelist,bdy_control  max_domains    .false. rh    "symmetric_xs"          ""      ""
1400rconfig   logical symmetric_xe            namelist,bdy_control  max_domains    .false. rh    "symmetric_xe"          ""      ""
1401rconfig   logical open_xs                 namelist,bdy_control  max_domains    .false. rh    "open_xs"               ""      ""
1402rconfig   logical open_xe                 namelist,bdy_control  max_domains    .false. rh    "open_xe"               ""      ""
1403rconfig   logical periodic_y              namelist,bdy_control  max_domains    .false. rh    "periodic_y"            ""      ""
1404rconfig   logical symmetric_ys            namelist,bdy_control  max_domains    .false. rh    "symmetric_ys"          ""      ""
1405rconfig   logical symmetric_ye            namelist,bdy_control  max_domains    .false. rh    "symmetric_ye"          ""      ""
1406rconfig   logical open_ys                 namelist,bdy_control  max_domains    .false. rh    "open_ys"               ""      ""
1407rconfig   logical open_ye                 namelist,bdy_control  max_domains    .false. rh    "open_ye"               ""      ""
1408rconfig   logical polar                   namelist,bdy_control  max_domains    .false. rh    "polar"                 ""      ""
1409rconfig   logical nested                  namelist,bdy_control  max_domains    .false. rh    "nested"                ""      ""
1410rconfig   real    spec_exp                namelist,bdy_control          1     0.      irh    "spec_exp"              ""      ""
1411rconfig   integer real_data_init_type     namelist,bdy_control          1                 1    irh   "real_data_init_type"   "REAL DATA INITIALIZATION OPTIONS: 1=SI, 2=MM5, 3=GENERIC" "PRE-PROCESSOR TYPES"
1412
1413rconfig   integer background_proc_id      namelist,grib2                1     255    rh    "background_proc_id"    "Background processing id for grib2"  ""
1414rconfig   integer forecast_proc_id        namelist,grib2                1     255    rh    "forecast_proc_id"      "Analysis and forecast processing id for grib2"  ""
1415rconfig   integer production_status       namelist,grib2                1     255    rh    "production_status"     "Background processing id for grib2"  ""
1416rconfig   integer compression             namelist,grib2                1      40    rh    "compression"           "grib2 compression, 40 for JPEG2000 or 41 for PNG"  ""
1417
1418# NAMELIST DERIVED
1419rconfig   integer nobs_ndg_vars           derived                       1         5       -        "num_ndg_vars"         "Number of nudging variables"          ""
1420rconfig   integer nobs_err_flds           derived                       1         9       -        "num_err_flds"         "Number of error fields"               ""
1421rconfig   real    cen_lat                 derived                  max_domains    0       -        "cen_lat"              "center latitude"      "degrees, negative is south"
1422rconfig   real    cen_lon                 derived                  max_domains    0       -        "cen_lon"              "central longitude"      "degrees, negative is west"
1423rconfig   real    truelat1                derived                  max_domains    0       -        "true_lat1"             "first standard parallel"      "degrees, negative is south"
1424rconfig   real    truelat2                derived                  max_domains    0       -        "true_lat2"             "second standard parallel"      "degrees, negative is south"
1425rconfig   real    moad_cen_lat            derived                  max_domains    0       -        "moad_cen_lat"             "center latitude of the most coarse grid"      "degrees, negative is south"
1426rconfig   real    stand_lon               derived                  max_domains    0       -        "stand_lon"             "standard longitude, parallel to j-direction, perpendicular to i-direction "      "degrees, negative is west"
1427rconfig   real    bdyfrq                  derived                  max_domains    0       -        "bdyfrq"               "lateral boundary input frequency"      "seconds"
1428rconfig   integer iswater                 derived                  max_domains    0       -        "iswater"              "land use index of water"      "index category"
1429rconfig   integer isice                   derived                  max_domains    0       -        "isice"                "land use index of ice"        "index category"
1430rconfig   integer isurban                 derived                  max_domains    0       -        "isurban"              "land use index for 'urban and built-up"     "index category"
1431rconfig   integer isoilwater              derived                  max_domains    0       -        "isoilwater"           "land use index of water for soil"        "index category"
1432rconfig   integer map_proj                derived                  max_domains    0       -        "map_proj"             "domain map projection"      "0=none (Cylindrical), 1=Lambert, 2=polar, 3=Mercator"
1433rconfig   integer use_wps_input           derived                       1         0       -        "use_wps_input"        "0/1 flag, using wps input"      "0=no, 1=yes"
1434rconfig   integer dfi_stage               derived                       1         3       -        "dfi_stage"            "current stage of DFI processing"      "0=DFI setup, 1=DFI backward integration, 2=DFI forward integration, 3=WRF forecast"
1435rconfig   integer mp_physics_dfi          derived                  max_domains   -1       -        "mp_physics_dfi"       ""      "-1 = no DFI and so no need to allocate DFI moist and scalar variables, >0 = running with DFI, so allocate DFI moist and scalar variables appropriate for selected microphysics package"
1436
1437#
1438# Single dummy declaration to define a nodyn dyn option
1439state integer nodyn_dummy - dyn_nodyn -  -  -  "" "" ""     
1440
1441#
1442#---------------------------------------------------------------------------------------------------------------------------------------
1443# Package Declarations
1444#                                               
1445
1446#key      package       associated                package          associated 4d scalars
1447#         name          namelist choice           state vars
1448
1449
1450##### MARS OPTIONS
1451##### MARS OPTIONS
1452##### MARS OPTIONS
1453##
1454## CHANGING THE OPTION CHANGE THE NUMBER OF TRACERS WITHOUT ANY NEED TO RECOMPILE ENTIRELY WRF
1455## HOWEVER, YOU STILL NEED TO RECOMPILE THE PHYSICS BEFORE CHANGING THE OPTION
1456## JUST USE THE COMPILE_ALL SCRIPT FOR A FAST RECOMPILATION
1457## -------
1458## ONE REMAINING PROBLEM IS THE FACT THAT YOU NEED TO RECOMPILE
1459## ENTIRELY IF YOU DO NOT WANT TO OUTPUT THE TRACERS
1460## (FOR EXAMPLE, IF THEY ARE TURNED OFF ...)
1461## -------
1462##
1463##
1464package   nowater      mars==0                      -              moist:qv
1465package   water        mars==1                      -              moist:qv;scalar:qh2o,qh2o_ice
1466package   dust         mars==2                      -              moist:qv;scalar:qdust
1467##### MARS OPTIONS
1468##### MARS OPTIONS
1469##### MARS OPTIONS
1470
1471
1472
1473
1474#package   passivec1     chem_opt==0                  -             
1475package   passiveqv     mp_physics==0                -             moist:qv
1476package   kesslerscheme mp_physics==1                -             moist:qv,qc,qr
1477package   linscheme     mp_physics==2                -             moist:qv,qc,qr,qi,qs,qg
1478package   wsm3scheme    mp_physics==3                -             moist:qv,qc,qr
1479package   wsm5scheme    mp_physics==4                -             moist:qv,qc,qr,qi,qs
1480package   etampnew      mp_physics==5                -             moist:qv,qc,qr,qi,qs,qg;scalar:qt
1481package   wsm6scheme    mp_physics==6                -             moist:qv,qc,qr,qi,qs,qg
1482package   gsfcgcescheme mp_physics==7                -             moist:qv,qc,qr,qi,qs,qg
1483package   thompson       mp_physics==8               -             moist:qv,qc,qr,qi,qs,qg;scalar:qni
1484package   morr_two_moment  mp_physics==10            -             moist:qv,qc,qr,qi,qs,qg;scalar:qni,qns,qnr,qng
1485
1486package   nodfimoist        mp_physics_dfi==-1       -             -
1487package   passiveqv_dfi     mp_physics_dfi==0        -             dfi_moist:dfi_qv
1488package   kesslerscheme_dfi mp_physics_dfi==1        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr
1489package   linscheme_dfi     mp_physics_dfi==2        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs,dfi_qg
1490package   wsm3scheme_dfi    mp_physics_dfi==3        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr
1491package   wsm5scheme_dfi    mp_physics_dfi==4        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs
1492package   etampnew_dfi      mp_physics_dfi==5        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs,dfi_qg;dfi_scalar:dfi_qt
1493package   wsm6scheme_dfi    mp_physics_dfi==6        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs,dfi_qg
1494package   gsfcgcescheme_dfi mp_physics_dfi==7        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs,dfi_qg
1495package   thompson_dfi      mp_physics_dfi==8        -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs,dfi_qg;dfi_scalar:dfi_qni
1496package   morr_two_moment_dfi  mp_physics_dfi==10    -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs,dfi_qg;dfi_scalar:dfi_qni,dfi_qns,dfi_qnr,dfi_qng
1497
1498package   noprogn       progn==0                     -             -
1499package   progndrop     progn==1                     -             scalar:qndrop;dfi_scalar:dfi_qndrop
1500
1501package   rrtmscheme    ra_lw_physics==1             -             -
1502package   camlwscheme   ra_lw_physics==3             -             ozmixm:mth01,mth02,mth03,mth04,mth05,mth06,mth07,mth08,mth09,mth10,mth11,mth12;aerosolc:sul,sslt,dust1,dust2,dust3,dust4,ocpho,bcpho,ocphi,bcphi,bg,volc
1503package   gfdllwscheme  ra_lw_physics==99            -             -
1504package   heldsuarez    ra_lw_physics==31            -             -
1505
1506package   swradscheme   ra_sw_physics==1             -             -
1507package   gsfcswscheme  ra_sw_physics==2             -             -
1508package   camswscheme   ra_sw_physics==3             -             ozmixm:mth01,mth02,mth03,mth04,mth05,mth06,mth07,mth08,mth09,mth10,mth11,mth12;aerosolc:sul,sslt,dust1,dust2,dust3,dust4,ocpho,bcpho,ocphi,bcphi,bg,volc
1509package   gfdlswscheme  ra_sw_physics==99            -             -
1510
1511package   sfclayscheme   sf_sfclay_physics==1        -             state:regime
1512package   myjsfcscheme   sf_sfclay_physics==2        -             -
1513package   gfssfcscheme   sf_sfclay_physics==3        -             -
1514package   pxsfcscheme    sf_sfclay_physics==7        -             state:regime
1515
1516package   slabscheme     sf_surface_physics==1       -             -
1517package   lsmscheme      sf_surface_physics==2       -             -
1518package   ruclsmscheme   sf_surface_physics==3       -             -
1519package   pxlsmscheme    sf_surface_physics==7       -             fdda2d:t2_ndg_new,q2_ndg_new,t2_ndg_old,q2_ndg_old
1520
1521package   ysuscheme      bl_pbl_physics==1           -             state:regime
1522package   myjpblscheme   bl_pbl_physics==2           -             -
1523package   gfsscheme      bl_pbl_physics==3           -             -
1524package   acmpblscheme   bl_pbl_physics==7           -             state:regime
1525package   mrfscheme      bl_pbl_physics==99          -             state:regime
1526
1527package   kfetascheme    cu_physics==1               -             -
1528package   bmjscheme      cu_physics==2               -             -
1529package   gdscheme       cu_physics==3               -             -
1530package   sasscheme      cu_physics==4               -             -
1531package   g3scheme       cu_physics==5               -             state:cugd_qvten,cugd_tten,cugd_qvtens,cugd_ttens,cugd_qcten
1532package   kfscheme       cu_physics==99              -             -
1533
1534package   psufddagd      grid_fdda==1                -             fdda3d:u_ndg_old,v_ndg_old,t_ndg_old,q_ndg_old,ph_ndg_old,u_ndg_new,v_ndg_new,t_ndg_new,q_ndg_new,ph_ndg_new;fdda2d:mu_ndg_old,mu_ndg_new,t2_ndg_new,q2_ndg_new,t2_ndg_old,q2_ndg_old,sn_ndg_new,sn_ndg_old;state:rundgdten,rvndgdten,rthndgdten,rqvndgdten,rmundgdten
1535
1536package   restofwrf      use_wps_input==0            -             -
1537
1538package   dfi_setup      dfi_stage==0                -             -
1539package   dfi_bck        dfi_stage==1                -             -
1540package   dfi_fwd        dfi_stage==2                -             -
1541package   dfi_fst        dfi_stage==3                -             -
1542
1543#package   digifilter     dfi_opt==1                  -             dfi_moist:dfi_qv,dfi_qc,dfi_qr,dfi_qi,dfi_qs,dfi_qg;dfi_scalar:dfi_qndrop,dfi_qni,dfi_qt,dfi_qns,dfi_qnr,dfi_qng;state:dfi_u,dfi_v,dfi_w,dfi_ph,dfi_phb,dfi_ph0,dfi_php,dfi_t,dfi_p,dfi_ww,dfi_mu,dfi_tke,dfi_pb,dfi_al,dfi_alt
1544package   dfi_nodfi     dfi_opt==0                  -             -
1545package   dfi_dfl       dfi_opt==1                  -             state:dfi_u,dfi_v,dfi_w,dfi_ph,dfi_phb,dfi_ph0,dfi_php,dfi_t,dfi_p,dfi_ww,dfi_mu,dfi_tke,dfi_pb,dfi_al,dfi_alt,dfi_TSLB,dfi_SMOIS,dfi_SNOW,dfi_SNOWH,dfi_CANWAT,dfi_SMFR3D,dfi_KEEPFR3DFLAG,dfi_TSK,dfi_SOILT1,dfi_TSNAV,dfi_SNOWC,dfi_QVG
1546package   dfi_ddfi      dfi_opt==2                  -             state:dfi_u,dfi_v,dfi_w,dfi_ph,dfi_phb,dfi_ph0,dfi_php,dfi_t,dfi_p,dfi_ww,dfi_mu,dfi_tke,dfi_pb,dfi_al,dfi_alt,dfi_TSLB,dfi_SMOIS,dfi_SNOW,dfi_SNOWH,dfi_CANWAT,dfi_SMFR3D,dfi_KEEPFR3DFLAG,dfi_TSK,dfi_SOILT1,dfi_TSNAV,dfi_SNOWC,dfi_QVG
1547package   dfi_tdfi      dfi_opt==3                  -             state:dfi_u,dfi_v,dfi_w,dfi_ph,dfi_phb,dfi_ph0,dfi_php,dfi_t,dfi_p,dfi_ww,dfi_mu,dfi_tke,dfi_pb,dfi_al,dfi_alt,dfi_TSLB,dfi_SMOIS,dfi_SNOW,dfi_SNOWH,dfi_CANWAT,dfi_SMFR3D,dfi_KEEPFR3DFLAG,dfi_TSK,dfi_SOILT1,dfi_TSNAV,dfi_SNOWC,dfi_QVG
1548ifdef RUC_CLOUD
1549package   realonly       use_wps_input==1            -             state:u_gc,v_gc,t_gc,rh_gc,ght_gc,p_gc,xlat_gc,xlong_gc,ht_gc,tsk_gc,tavgsfc,tmn_gc,pslv_gc,greenfrac,albedo12m,pd_gc,psfc_gc,intq_gc,pdhs,qv_gc,qr_gc,qc_gc,qs_gc,qi_gc,qg_gc,qni_gc
1550endif
1551ifndef RUC_CLOUD
1552package   realonly       use_wps_input==1            -             state:u_gc,v_gc,t_gc,rh_gc,ght_gc,p_gc,xlat_gc,xlong_gc,ht_gc,tsk_gc,tavgsfc,tmn_gc,pslv_gc,greenfrac,albedo12m,pd_gc,psfc_gc,intq_gc,pdhs,qv_gc
1553endif
1554
1555
1556# only need to specify these once; not for every io_form* variable
1557package   io_intio    io_form_restart==1                     -             -
1558package   io_netcdf   io_form_restart==2                     -             -
1559# Placeholders for additional packages (we can go beyond zzz
1560# but that will entail modifying frame/module_io.F and frame/md_calls.m4)
1561# Please note these are placeholders; HDF has not been implemented yet.
1562package   io_hdf      io_form_restart==3                     -             -
1563package   io_phdf5    io_form_restart==4                     -             -
1564package   io_grib1    io_form_restart==5                     -             -
1565package   io_mcel     io_form_restart==6                     -             -
1566package   io_esmf     io_form_restart==7                     -             -
1567package   io_yyy      io_form_restart==8                     -             -
1568package   io_zzz      io_form_restart==9                     -             -
1569package   io_grib2    io_form_restart==10                    -             -
1570package   io_pnetcdf  io_form_restart==11                     -             -
1571                                               
1572#---------------------------------------------------------------------------------------------------------------------------------------
1573## communications                                               
1574
1575### 8. Edit the Registry file and create a halo-exchange for x_1.
1576
1577# Halo Update Communications
1578
1579halo      HALO_EM_INIT_1 dyn_em 48:u_1,u_2,v_1,v_2,w_1,w_2,ph_1,ph_2
1580halo      HALO_EM_INIT_2 dyn_em 48:t_1,t_2,mu_1,mu_2,tke_1,tke_2,ww,phb
1581halo      HALO_EM_INIT_3 dyn_em 48:ph0,php,t_init,mub,mu0,p,al,alt,alb
1582halo      HALO_EM_INIT_4 dyn_em 48:pb,h_diabatic,msftx,msfty,msfux,msfuy,msfvx,msfvy,msfvx_inv,f,e,sina,cosa,ht,potevp,snopcx,soiltb,xlat,xlong,xlat_u,xlat_v,xlong_u,xlong_v,clat,clong
1583halo      HALO_EM_INIT_5 dyn_em 48:moist,chem,scalar
1584halo      HALO_EM_VINTERP_UV_1 dyn_em 8:pd_gc,pb
1585halo      HALO_EM_A dyn_em  8:ru,rv,rw,ww,php,alt,al,p,muu,muv,mut
1586halo      HALO_EM_PHYS_A  dyn_em 4:u_2,v_2
1587halo      HALO_EM_PHYS_PBL dyn_em        4:rublten,rvblten
1588halo      HALO_EM_FDDA dyn_em            4:rundgdten,rvndgdten
1589halo      HALO_EM_PHYS_DIFFUSION dyn_em  4:defor11,defor22,defor12,defor13,defor23,div,xkmv,xkmh,xkhv,xkhh,tke_1,tke_2
1590halo      HALO_EM_TKE_ADVECT_3 dyn_em 24:tke_2
1591halo      HALO_EM_TKE_ADVECT_5 dyn_em 48:tke_2
1592halo      HALO_EM_TKE_A dyn_em 4:ph_2,phb
1593halo      HALO_EM_TKE_B dyn_em 4:z,rdz,rdzw,zx,zy
1594halo      HALO_EM_TKE_C dyn_em 8:u_2,v_2,z,zx,zy,rdz,rdzw,ustm
1595halo      HALO_EM_TKE_D dyn_em 8:defor11,defor22,defor33,defor12,defor13,defor23,div
1596halo      HALO_EM_TKE_E dyn_em 8:xkmv,xkmh,xkhv,xkhh,BN2,moist
1597halo      HALO_EM_TKE_3 dyn_em   24:tke_1,tke_2
1598halo      HALO_EM_TKE_5 dyn_em   48:tke_1,tke_2
1599halo      HALO_EM_TKE_7 dyn_em   80:tke_1,tke_2
1600halo      HALO_EM_TKE_F dyn_em   48:tke_1,tke_2
1601halo      HALO_EM_TKE_OLD_E_5 dyn_em   48:tke_1
1602halo      HALO_EM_TKE_OLD_E_7 dyn_em   80:tke_1
1603halo      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,pb
1604halo      HALO_EM_B2 dyn_em 4:ru_tend,rv_tend
1605halo      HALO_EM_C dyn_em    4:u_2,v_2
1606halo      HALO_EM_C2 dyn_em    4:ph_2,al,p,mu_2,muts,mudf
1607halo      HALO_EM_D dyn_em    24:ru_m,rv_m,ww_m,mut
1608halo      HALO_EM_D2_3 dyn_em 24:u_2,v_2,w_2,t_2,ph_2;24:moist,chem,scalar;4:mu_2,al
1609halo      HALO_EM_D2_5 dyn_em 48:u_2,v_2,w_2,t_2,ph_2;24:moist,chem,scalar;4:mu_2,al
1610halo      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,scalar;4:mu_1,mu_2
1611halo      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,scalar;4:mu_1,mu_2
1612halo      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
1613halo      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
1614halo      HALO_EM_MOIST_E_3 dyn_em 24:moist
1615halo      HALO_EM_MOIST_E_5 dyn_em 48:moist
1616halo      HALO_EM_MOIST_E_7 dyn_em 80:moist
1617halo      HALO_CUP_G3_IN dyn_em 24:RTHFTEN,RQVFTEN,w_2
1618halo      HALO_CUP_G3_OUT dyn_em 48:cugd_tten,cugd_qvten,cugd_ttens,cugd_qvtens,raincv
1619halo      HALO_EM_CHEM_E_3 dyn_em 24:chem
1620halo      HALO_EM_CHEM_E_5 dyn_em 48:chem
1621halo      HALO_EM_CHEM_E_7 dyn_em 80:chem
1622halo      HALO_EM_SCALAR_E_3 dyn_em 24:scalar
1623halo      HALO_EM_SCALAR_E_5 dyn_em 48:scalar
1624halo      HALO_EM_SCALAR_E_7 dyn_em 80:scalar
1625halo      HALO_TOPOSHAD phys 24:ht_shad
1626
1627halo      HALO_EM_MOIST_OLD_E_3 dyn_em 24:moist_old
1628halo      HALO_EM_MOIST_OLD_E_5 dyn_em 48:moist_old
1629halo      HALO_EM_MOIST_OLD_E_7 dyn_em 80:moist_old
1630halo      HALO_EM_CHEM_OLD_E_3 dyn_em 24:chem_old
1631halo      HALO_EM_CHEM_OLD_E_5 dyn_em 48:chem_old
1632halo      HALO_EM_CHEM_OLD_E_7 dyn_em 80:chem_old
1633halo      HALO_EM_SCALAR_OLD_E_3 dyn_em 24:scalar_old
1634halo      HALO_EM_SCALAR_OLD_E_5 dyn_em 48:scalar_old
1635halo      HALO_EM_SCALAR_OLD_E_7 dyn_em 80:scalar_old
1636
1637halo      HALO_EM_FEEDBACK   dyn_em 48:ht
1638halo      HALO_EM_HYDRO_UV   dyn_em 8:u_2,v_2
1639
1640halo      HALO_EM_COUPLE_A   dyn_em 24:mub,mu_1,mu_2
1641period    PERIOD_EM_COUPLE_A dyn_em 2:mub,mu_1,mu_2
1642halo      HALO_EM_COUPLE_B   dyn_em 48:ph_1,ph_2,w_1,w_2,t_1,t_2,u_1,u_2,v_1,v_2,\
1643                                       moist,chem,scalar
1644period    PERIOD_EM_COUPLE_B dyn_em 3:ph_1,ph_2,w_1,w_2,t_1,t_2,u_1,u_2,v_1,v_2,\
1645                                       moist,chem,scalar
1646
1647# For moving nests
1648halo      em_shift_halo_y  dyn_em 48:imask_nostag,imask_xstag,imask_ystag,imask_xystag,u_2,v_2,t_2
1649halo      em_shift_halo_x  dyn_em 48:imask_nostag,imask_xstag,imask_ystag,imask_xystag,u_2,v_2,t_2
1650
1651# For observational nudging
1652halo      HALO_OBS_NUDGE dyn_em 24:pb,p,uratx,vratx,tratx
1653
1654# Periodic Boundary Communications
1655
1656period    PERIOD_BDY_EM_INIT dyn_em 3:u_1,u_2,v_1,v_2,w_1,w_2,t_1,t_2,ph_1,ph_2,t_init,phb,ph0,php,pb,al,alt,alb,mu_1,mu_2,mub,mu0,ht,msftx,msfty,msfux,msfuy,msfvx,msfvy,msfvx_inv,sina,cosa,e,f
1657period    PERIOD_BDY_EM_MOIST dyn_em 3:moist
1658period    PERIOD_BDY_EM_CHEM dyn_em 3:chem
1659period    PERIOD_BDY_EM_SCALAR dyn_em 3:scalar
1660period    PERIOD_BDY_EM_MOIST2 dyn_em 3:moist
1661period    PERIOD_BDY_EM_CHEM2 dyn_em 3:chem
1662period    PERIOD_BDY_EM_SCALAR2 dyn_em 3:scalar
1663period    PERIOD_BDY_EM_MOIST_OLD dyn_em 3:moist_old
1664period    PERIOD_BDY_EM_CHEM_OLD dyn_em 3:chem_old
1665period    PERIOD_BDY_EM_SCALAR_OLD dyn_em 3:scalar_old
1666period    PERIOD_BDY_EM_TKE_OLD dyn_em 3:tke_1
1667period    PERIOD_EM_HYDRO_UV dyn_em 1:u_2,v_2
1668period    PERIOD_BDY_EM_A dyn_em 2:ru,rv,rw,ww,php,alt,p,muu,muv,mut,ph_2,al
1669period    PERIOD_BDY_EM_A1  dyn_em 3:rdzw,rdz,z,zx,zy,ustm
1670period    PERIOD_BDY_EM_PHY_BC dyn_em 2:rublten,rvblten,xkmh,xkmv,xkhh,xkhv,div,defor11,defor22,defor12,defor13,defor23,defor33,tke_2
1671period    PERIOD_BDY_EM_FDDA_BC dyn_em 2:rundgdten,rvndgdten
1672period    PERIOD_BDY_EM_B dyn_em 2:ru_tend,rv_tend,ph_2,al,p,t_1,t_save,u_save,v_save,mu_1,mu_2,mudf,php,alt,pb
1673period    PERIOD_BDY_EM_B3 dyn_em 2:ph_2,al,p,mu_2,muts,mudf
1674period    PERIOD_BDY_EM_B2 dyn_em 2:ru_tend,rv_tend
1675period    PERIOD_BDY_EM_C dyn_em 2:u_2,u_save,v_2,v_save,t_2,t_save,muv,msfvx,msfvy,muu,msfux,msfuy,msfvx_inv
1676period    PERIOD_BDY_EM_D dyn_em 3:u_2,v_2,w_2,t_2,ph_2,mu_2,tke_2
1677period    PERIOD_BDY_EM_D3 dyn_em 3:u_1,u_2,v_1,v_2,w_1,w_2,t_1,t_2,ph_1,ph_2,tke_1,tke_2,mu_1,mu_2
1678
1679#
1680#swap SWAP_ETAMP_NEW  dyn_em 1:dz8w,p_phy,pi_phy,rho,th_phy,moist,F_ICE_PHY,F_RAIN_PHY,F_RIMEF_PHY,RAINNC,RAINNCV,SR,LOWLYR
1681#swap SWAP_WSM3       dyn_em 1:th_phy,moist,w_2,rho,pi_phy,p_phy,dz8w,rainnc,rainncv
1682#cycle CYCLE_TEST       dyn_em 1:xlong
1683
1684##
1685
1686# FDDA (Observational-nudging) Variables
1687typedef fdob_type integer domain_tot   # total number of domains to apply obs-nudging
1688typedef fdob_type integer IEODI        # end of obs data flag for current model step
1689typedef fdob_type integer IWTSIG       # flag for nudging on pressure surfaces
1690typedef fdob_type integer NSTAT        # number of obs stations used to nudge current model step
1691typedef fdob_type integer NSTAW        # number of obs stations within current time window
1692typedef fdob_type integer KTAUR        # restart model step
1693typedef fdob_type integer SN_MAXCG     # coarse domain grid dimension in south-north coordinate
1694typedef fdob_type integer WE_MAXCG     # coarse domain grid dimension in west-east coordinate
1695typedef fdob_type integer SN_END       # ending north-south grid index
1696typedef fdob_type integer LEVIDN(max_domains)   # level of nest
1697typedef fdob_type real    WINDOW       # time window half-period for nudging (in minutes)
1698typedef fdob_type real    RTLAST       # time in hours of last obs used in current model step
1699typedef fdob_type real    DATEND       # time in minutes after which data are asuumed to have ended
1700typedef fdob_type real    RINFMN       # minimum radius of influence
1701typedef fdob_type real    RINFMX       # maximum radius of influence
1702typedef fdob_type real    PFREE        # pressure level (cb) where terrain effect becomes small
1703typedef fdob_type real    DCON         # 1/DPSMX
1704typedef fdob_type real    DPSMX        # max pres change (cb) allowed within infl range of surf obs
1705typedef fdob_type real    TFACI        # scale factor used for ramp-down in dynamic initialization
1706typedef fdob_type real    KNOWN_LAT    # Latitude  of origin point (i,j)=(1,1)
1707typedef fdob_type real    KNOWN_LON    # Longitude of origin point (i,j)=(1,1)
1708
1709# table entries are of the form
1710#      <Table>  <Type>  <Sym>                <Dims>   <Use>   <NumTLev> <Stagger> <IO>     <DNAME>             <DESCRIP>     <UNITS>
1711#Grid variables
1712typedef fdob_type real    varobs               rz       -         1        -       -       "varobs"          "observational values in each variable"
1713typedef fdob_type real    errf                 hz       -         1        -       -       "errf"            "errors between model and obs values"
1714typedef fdob_type real    timeob               z        -         1        -       -       "timeob"          "model times for each observation"          "hours"
1715typedef fdob_type real    nlevs_ob             z        -         1        -       -       "nlevs_ob"        "numbers of levels in sounding obs"
1716typedef fdob_type real    lev_in_ob            z        -         1        -       -       "lev_in_ob"       "level in sounding-type obs"
1717typedef fdob_type real    plfo                 z        -         1        -       -       "plfo"            "index for type of obs-platform"
1718typedef fdob_type real    elevob               z        -         1        -       -       "elevob"          "elevation of observation"                  "meters"
1719typedef fdob_type real    rio                  z        -         1        -       -       "rio"             "west-east grid coordinate"
1720typedef fdob_type real    rjo                  z        -         1        -       -       "rjo"             "south-north grid coordinate"
1721typedef fdob_type real    rko                  z        -         1        -       -       "rko"             "vertical grid coordinate"
1722
1723state fdob_type fdob - -
1724
1725# xpose variables for polar fft
1726state    real   t_xxx          ikjx    -           1        -
1727state    real   u_xxx          ikjx    -           1        X
1728state    real   ru_xxx         ikjx    -           1        X
1729state    real   v_xxx          ikjx    -           1        Y
1730state    real   rv_xxx         ikjx    -           1        Y
1731state    real   w_xxx          ikjx    -           1        Z
1732state    real   ww_xxx         ikjx    -           1        Z
1733state    real   ph_xxx         ikjx    -           1        Z
1734state    real   dum_yyy        ikjy    -           1        -
1735state    real   fourd_xxx      ikjx    -           1        -
1736state    real   clat_xxx       ijx     -           1        -
1737state    real   ht_xxx         ijx     -           1        -
1738state    real   mf_xxx         ijx     -           1        -
1739
1740xpose XPOSE_POLAR_FILTER_TOPO dyn_em t_init,t_xxx,dum_yyy
1741xpose XPOSE_POLAR_FILTER_T  dyn_em t_2,t_xxx,dum_yyy
1742xpose XPOSE_POLAR_FILTER_U  dyn_em u_2,u_xxx,dum_yyy
1743xpose XPOSE_POLAR_FILTER_RU dyn_em ru_m,ru_xxx,dum_yyy
1744xpose XPOSE_POLAR_FILTER_V  dyn_em v_2,v_xxx,dum_yyy
1745xpose XPOSE_POLAR_FILTER_RV dyn_em rv_m,rv_xxx,dum_yyy
1746xpose XPOSE_POLAR_FILTER_W  dyn_em w_2,w_xxx,dum_yyy
1747xpose XPOSE_POLAR_FILTER_WW dyn_em ww_m,ww_xxx,dum_yyy
1748xpose XPOSE_POLAR_FILTER_PH dyn_em ph_2,ph_xxx,dum_yyy
1749xpose XPOSE_POLAR_FILTER_MOIST dyn_em moist,fourd_xxx,dum_yyy
1750xpose XPOSE_POLAR_FILTER_CHEM dyn_em chem,fourd_xxx,dum_yyy
1751xpose XPOSE_POLAR_FILTER_SCALAR dyn_em scalar,fourd_xxx,dum_yyy
1752
1753##
Note: See TracBrowser for help on using the repository browser.