source: trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/Registry/Registry.EM.newphys @ 1581

Last change on this file since 1581 was 1236, checked in by aslmd, 12 years ago

MESOSCALE. A necessary complement commit to r1234 where a upgraded interface making use of modules was proposed. Completed the new formulation for module_lmd_driver for newphys with improved interface with both ini/bdy conditions and physical parameterizations. Changed the Registry accordingly. Finished changes about I/O with the LMD physics (see LMDZ.MARS/README). Made all those changes compatible for old interface, and LES runs (checked with test cases), as well as old input files. Changed makemeso to account for full flexibility on changin nx ny ntracers nproc with newphys. Cleaned the now obsolete bits of code used in LMD physics shared with the GCM. ----- Everything is now ready to properly code both restart runs and nesting for mesoscale runs with new physics.

File size: 147.9 KB
Line 
1## WARNING: this file is autogenerated from Registry/Registry.EM. Changes may be lost
2# Registry file, EM
3#                                               
4# At the present time this file is managed manually and edited by hand.                                         
5#                                               
6################################################################################
7# Dimension specifications
8#
9# This section of the Registry file is used to specify the dimensions
10# that will be used to define arrays. Dim is the one-letter name of the
11# dimension.  How defined can either be "standard_domain", which means
12# that the dimension (1) is one of the three spatial dimensions and (2)
13# it will be set using the standard namelist mechanism and domain data
14# structure dimension fields (e.g. sd31,ed31,sd32...).
15#
16# Order refers to which of the three sets of just-mentioned internal
17# dimension variables the dimension is referred to by in the driver.
18# That is, is it the first, second, or third dimension.  The registry
19# infers the mapping of its internal dimensions according to the
20# combination of Order and Coord-axis that are specified in this table.
21# Note that it is all right to more than one dimension name for, say, the
22# x dimension.  However, the Order and Coord-axis relationship must be
23# consistent throughout.
24#
25# Note: these entries do not enforce storage order on a particular field.
26# That is determined by the dimension strings for each field. But it does
27# relate the dimspec to the internal data structures that the driver uses
28# to maintain the three physical domain dimensions.
29#
30# "How defined" can also specify the name of a namelist variable from which
31# the definition for the dimension will come; this is specified as
32# "namelist=<variable name>".  The namelist variable must have been
33# defined as an integer and with only one entry in the rconfig table. Or
34# a constant can be specified.  The coordinate axis for the dimension is
35# either X, Y, Z, or C (for "not a spatial dimension").  The Dimname is
36# the descriptive name of the dimension that will be included in the
37# metadata in data sets.  Note that the b, f, and t modifiers that appear
38# as the last characters of dimension strings used # in state and # i1
39# registry definitions are not dimensions and do not need to be declared
40# here.
41#
42
43# Available characters for dimspec: 0123456789@%+=|?.!&[{}]
44
45#<Table>  <Dim>  <Order> <How defined>         <Coord-axis>  <Dimname in Datasets>
46dimspec    i      1     standard_domain              x          west_east
47dimspec    j      3     standard_domain              y          south_north
48dimspec    k      2     standard_domain              z          bottom_top
49dimspec    l      2     namelist=num_soil_layers     z          soil_layers
50dimspec    u      2     namelist=num_land_cat        z          land_cat
51dimspec    s      2     namelist=num_soil_cat        z          soil_cat
52dimspec    p      -     constant=7501                c          microphysics_rstrt_state
53dimspec    w      -     namelist=spec_bdy_width      c          spec_bdy_width
54dimspec    e      3     namelist=ensdim              z          ensemble 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    v      -     constant=1                z          one
65
66
67################################################################################
68################################################################################
69################################################################################
70
71
72####MARS MARS MARS MARS MARS
73####MARS MARS MARS MARS MARS
74####
75#### variables physiques ecrites dans les fichiers WRF
76#### - h indique l'ecriture
77####
78####
79#### RADIATIVE TRANSFER
80state  real  HR_SW     ikj   misc  1  -  h  "HR_SW"     "HEATING RATE SW"                 "K/s"
81state  real  HR_LW     ikj   misc  1  -  h  "HR_LW"     "HEATING RATE LW"                 "K/s"
82state  real  SWDOWNZ    ij   misc  1  -  h  "SWDOWNZ"   "DOWNWARD SW FLUX AT SURFACE"     "W m-2"
83#### DUST CYCLE
84state  real  TAU_DUST   ij   misc  1  -  h  "TAU_DUST"  "REFERENCE VISIBLE DUST OPACITY"  ""
85state  real  RDUST     ikj   misc  1  -  h  "RDUST"     "DUST RADIUS"                     "m"
86state  real  QSURFDUST  ij   misc  1  -  h  "QSURFDUST" "DUST MASS AT SURFACE"            "kg m-2"
87#### CLOUDS
88state  real  MTOT       ij   misc  1  -  h  "MTOT"      "TOTAL MASS WATER VAPOR in pmic"  "pmic"
89state  real  ICETOT     ij   misc  1  -  h  "ICETOT"    "TOTAL MASS WATER ICE"            "kg m-2"
90state  real  VMR_ICE   ikj   misc  1  -  h  "VMR_ICE"   "VOL. MIXING RATIO ICE"           "ppm"
91state  real  TAU_ICE    ij   misc  1  -  h  "TAU_ICE"   "CLOUD OD at 825 cm-1 TES"        ""
92state  real  RICE      ikj   misc  1  -  h  "RICE"      "ICE RADIUS"                      "m"
93#### THERMALS
94state  real  ZMAX       ij   misc  1  -  h  "ZMAX"      "MAXIMUM LEVEL THERMALS"          "m"   
95state  real  HFMAX      ij   misc  1  -  h  "HFMAX"     "MAXIMUM PBL HEAT FLUX"           "m.K/s"
96####
97####
98####MARS MARS MARS MARS MARS
99####MARS MARS MARS MARS MARS
100
101####MARS MARS MARS MARS MARS
102####MARS MARS MARS MARS MARS
103####
104####
105#### TRACEURS: l'ordre dans SCALAR est defini plus bas dans les options mars)
106#### - effacer le h si l'on veut eviter les sorties
107####
108state  real  -         ikjftb  scalar  1  -  -                         -
109state  real  qh2o      ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt)  "QH2O"          "Water vapor mixing ratio"   "kg kg-1"
110state  real  qh2o_ice  ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt)  "QH2O_ICE"      "Water ice mixing ratio"     "kg kg-1"
111state  real  qdust     ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt)  "QDUST"         "Dust mixing ratio"          "kg kg-1"
112state  real  qdustn    ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt)  "QDUSTN"        "Dust_number mixing ratio"   "kg kg-1"
113state  real  qccn      ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt)  "QCCN"         "CCN mixing ratio"          "kg kg-1"
114state  real  qccnn     ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt)  "QCCNN"        "CCN number mixing ratio"   "kg kg-1"
115state  real  qco2      ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt)  "QCO2"          "CO2 mixing ratio"           "kg kg-1"
116state  real  chem_co   ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_co"     ""   ""
117state  real  chem_o    ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_o"      ""   ""
118state  real  chem_o1d  ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_o1d"    ""   ""
119state  real  chem_o2   ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_o2"     ""   ""
120state  real  chem_o3   ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_o3"     ""   ""
121state  real  chem_h    ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_h"      ""   ""
122state  real  chem_h2   ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_h2"     ""   ""
123state  real  chem_oh   ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_oh"     ""   ""
124state  real  chem_ho2  ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_ho2"    ""   ""
125state  real  chem_h2o2 ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_h2o2"   ""   ""
126state  real  chem_ch4  ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_ch4"    ""   ""
127state  real  chem_n2   ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_n2"     ""   ""
128state  real  chem_ar   ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt)  "chem_ar"     ""   ""
129####
130####
131####MARS MARS MARS MARS MARS
132####MARS MARS MARS MARS MARS
133
134
135
136################################################################################
137################################################################################
138################################################################################
139
140
141
142# Lines that start with the word 'state' form a table that is                                           
143# used by the script use_registry to generate module_state_descript.F                                           
144# and other files.  Also see documentation in use_registry.                                             
145#                                               
146# table entries are of the form                                         
147#<Table> <Type> <Sym>         <Dims>   <Use>   <NumTLev> <Stagger> <IO>     <DNAME>             <DESCRIP>     <UNITS>   
148#
149
150# It is required that LU_INDEX appears before any variable that is
151# interpolated with a mask, as lu_index supplies that mask.
152# this next 1 is for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
153# with wave model, only if compiled with -DMCELIO, JM 2003/05/29
154state    real  LU_INDEX         ij      misc        1         -     ir01d=(interp_fcnm)u=(copy_fcnm)   "LU_INDEX"              "LAND USE CATEGORY"         ""
155state    real  LU_MASK          ij      misc        1         -     i3h1     "LU_MASK"              "0 land 1 water"         ""
156
157#
158# Variables from WPS
159#
160state    real   u_gc           igj      dyn_em      1        XZ    i1  "UU"     "x-wind component"    "m s-1"
161state    real   v_gc           igj      dyn_em      1        YZ    i1  "VV"     "y-wind component"    "m s-1"
162state    real   t_gc           igj      dyn_em      1        Z     i1  "TT"     "temperature"         "K"
163state    real   rh_gc          igj      dyn_em      1        Z     i1  "RH"    "relative humidity"   "%"
164state    real   ght_gc         igj      dyn_em      1        Z     i1  "GHT"   "geopotential height" "m"
165state    real   p_gc           igj      dyn_em      1        Z     i1  "PRES"   "pressure"            "Pa"
166state    real   xlat_gc        ij       dyn_em      1        -     i1  "XLAT_M" "latitude, positive north" "degrees"
167state    real   xlong_gc       ij       dyn_em      1        -     i1  "XLONG_M" "longitude, positive east" "degrees"
168state    real   ht_gc          ij       dyn_em      1        -     i1  "HGT_M" "topography elevation" "m"
169state    real   tsk_gc         ij       dyn_em      1        -     i1  "SKINTEMP"  "skin temperature"  "K"
170state    real   tavgsfc        ij       dyn_em      1        -     i1  "TAVGSFC"  "daily mean of surface air temperature"  "K"
171state    real   tmn_gc         ij       dyn_em      1        -     i1  "SOILTEMP"  "annual mean deep soil temperature"  "K"
172state    real   pslv_gc        ij       dyn_em      1        -     i1  "PMSL"  "sea level pressure"  "Pa"
173state    real   greenfrac      imj      dyn_em      1        Z     i1  "GREENFRAC" "monthly greenness fraction" "0 - 1 fraction"
174state    real   albedo12m      imj      dyn_em      1        Z     i1  "ALBEDO12M" "background albedo" "0 - 1 fraction"
175state    real   pd_gc          igj      dyn_em      1        Z     -   "PD"    "dry pressure"        "Pa"
176state    real   psfc_gc        ij       dyn_em      1        -      -  "PSFC_GC"     "surface pressure"            "Pa"
177state    real   intq_gc        ij       dyn_em      1        -     -   "INTQ"  "integrated mixing ratio" "Pa"
178state    real   pdhs           ij       dyn_em      1        -     -   "PDHS"  "hydrostatic dry surface pressure" "Pa"
179state    real   qv_gc          igj      dyn_em      1        Z     i1  "QV"     "mixing ratio"        "kg kg-1"
180#state    real   qr_gc          igj      dyn_em      1        Z     i1  "QR"    "rain water mixing ratio"   "kg kg-1"
181#state    real   qc_gc          igj      dyn_em      1        Z     i1  "QC"    "cloud water mixing ratio"   "kg kg-1"
182#state    real   qs_gc          igj      dyn_em      1        Z     i1  "QS"    "snow mixing ratio"   "kg kg-1"
183#state    real   qi_gc          igj      dyn_em      1        Z     i1  "QI"    "cloud ice mixing ratio"   "kg kg-1"
184#state    real   qg_gc          igj      dyn_em      1        Z     i1  "QG"    "graupel mixing ratio"   "kg kg-1"
185
186####MARS MARS MARS MARS MARS
187####MARS MARS MARS MARS MARS     
188####
189#### INITIALISATION
190####
191#### variables dans real
192#### -- si on change le nom on doit le changer jusque readmeteo !
193####
194############# in module_initialize ################# in geo_em.d**.nc ############################################
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   z0_gc           ij   dyn_em  1  -  i1  "SURF_ROUGHNESS"   "surface roughness"       "cm"
198state  real   slpx_gc         ij   dyn_em  1  -  i1  "SLPX"             "slope x direction"       "rad"
199state  real   slpy_gc         ij   dyn_em  1  -  i1  "SLPY"             "slope y direction"       "rad"
200state  real   hv_gc          igj   dyn_em  1  Z  i1  "HV"               "water vapor"             "kg/kg"
201state  real   hi_gc          igj   dyn_em  1  Z  i1  "HI"               "water ice"               "kg/kg"
202state  real   tsoil_gc       igj   dyn_em  1  Z  i1  "TSOIL"            "soil temperatures"       "K"
203state  real   isoil_gc       igj   dyn_em  1  Z  i1  "ISOIL"            "soil thermal inertia"    "tiu"
204state  real   dsoil_gc       igj   dyn_em  1  Z  i1  "DSOIL"            "soil depths"             "m"
205state  real   co2_gc         igj   dyn_em  1  Z  i1  "CO2"              "co2 mixing ratio"        "kg/kg"
206state  real   dustq_gc       igj   dyn_em  1  Z  i1  "DUSTQ"            "dust mixing ratio"       "kg/kg"
207state  real   dustn_gc       igj   dyn_em  1  Z  i1  "DUSTN"            "dust number density"     "part/kg"
208state  real   ccnq_gc        igj   dyn_em  1  Z  i1  "CCNQ"             "ccn mixing ratio"        "kg/kg"
209state  real   ccnn_gc        igj   dyn_em  1  Z  i1  "CCNN"             "ccn number density"      "part/kg"
210####
211#### variables dans wrf
212####
213#### 'm_' prefix is to avoid redundancies with possible existing terrestrial variables
214####
215####          vvvv nom pour module_initialize, solve_em, lmd_driver (interne fortran)
216####                                                vvvv nom fichier netCDF (important initialisation
217################################################################################################################
218state  real   m_albedo     ij   misc  1  -  i012rd  "MARS_ALB"     "albedo of naked ground"   "0 - 1 fraction"
219state  real   m_ti         ij   misc  1  -  i012rd  "MARS_TI"      "thermal inertia"          "J/m2/K/s0.5"
220state  real   m_z0         ij   misc  1  -  i012rd  "MARS_Z0"      "surface roughness"        "m"
221state  real   slpx         ij   misc  1  -  i012rd  "SLOPEX"       "slope x direction"        "rad"
222state  real   slpy         ij   misc  1  -  i012rd  "SLOPEY"       "slope y direction"        "rad"
223state  real   m_emiss      ij   misc  1  -  i012rd  "MARS_EMISS"   "emissivity"               "0 - 1 fraction"
224state  real   m_co2ice     ij   misc  1  -  i012rhd "MARS_CICE"    "CO2 GROUND ICE"           "kg/m2"
225state  real   m_h2oice     ij   misc  1  -  i012rhd "MARS_WICE"    "H2O GROUND ICE"           "kg/m2"
226state  real   m_fluxrad    ij   misc  1  -  i012rhd "MARS_FLUXRAD" "net rad flux at surf"     "W.m-2"
227state  real   m_wstar      ij   misc  1  -  i012rhd "MARS_WSTAR"   "FREE CONVECTION VELOCITY" "m.s-1"
228state  real   m_tsurf      ij   misc  1  -  i012rhd "MARS_TSURF"   "SURFACE TEMPERATURE"      "K"
229state  real   m_tsoil     ilj   misc  1  -  i012rhd "MARS_TSOIL"   "SOIL TEMPERATURES"        "K"
230state  real   m_q2        ikj   misc  1  Z  i012rhd "MARS_Q2"      "parameterized TKE"        "kg.m-3"
231state  real   m_isoil     ilj   misc  1  -  i012rd  "MARS_ISOIL"   "soil thermal inertia"     "tiu"
232state  real   m_dsoil     ilj   misc  1  -  i012rd  "MARS_DSOIL"   "soil depths"              "m"
233state  real   m_gw        ilj   misc  1  -  i012rd  "MARS_GW"      "gwparam"                  " "
234####
235####
236####MARS MARS MARS MARS MARS
237####MARS MARS MARS MARS MARS
238
239#-----------------------------------------------------------------------------------------------------------------------------------------------------------------
240#                                               
241# Variables for Eulerian mass coordinate dynamics                                           
242#                                               
243
244# Velocities
245#
246# U Vel
247state    real   u              ikjb     dyn_em      2         X     \
248     i01rhusdf=(bdy_interp:dt)       "U"                      "x-wind component"   "m s-1"
249state    real   ru             ikj     dyn_em      1         X      -        "MU_U"        "mu-coupled u"   "Pa m s-1"
250state    real   ru_m           ikj     dyn_em      1         X      -        "ru_m"        ""   ""
251state    real   ru_tend        ikj     dyn_em      1         X      -        "ru_tend"        ""   ""                                   
252i1       real   ru_tendf       ikj     dyn_em      1         X                                         
253state    real   u_save         ikj     dyn_em      1         X      -        "u_save"
254#                                               
255# V Vel
256state    real   v              ikjb     dyn_em      2         Y     \
257     i01rhusdf=(bdy_interp:dt)        "V"                     "y-wind component"   "m s-1"
258state    real   rv             ikj     dyn_em      1         Y      -        "MU_V"        "mu-coupled v"   "Pa m s-1"
259state    real   rv_m           ikj     dyn_em      1         Y      -        "rv_m"
260state    real   rv_tend        ikj     dyn_em      1         Y      -        "rv_tend"
261i1       real   rv_tendf       ikj     dyn_em      1         Y                                         
262state    real   v_save         ikj     dyn_em      1         Y      -        "v_save"                   
263#                                               
264# Vertical Vel                                         
265state    real   w              ikjb     dyn_em      2         Z     \
266        irhusdf=(bdy_interp:dt)  "w"                          "z-wind component"   "m s-1"
267state    real   ww             ikj     dyn_em      1         Z      r         "ww"   "mu-coupled eta-dot"    "Pa s-1"
268state    real   rw             ikj     dyn_em      1         Z      -         "rw"   "mu-coupled w"          "Pa m s-1"
269i1       real   ww1            ikj     dyn_em      1         Z                                         
270state    real   ww_m           ikj     dyn_em      1         Z      r         "ww_m"   "time-avg mu-coupled eta-dot"    "Pa s-1"
271i1       real   wwp            ikj     dyn_em      1         Z                                         
272i1       real   rw_tend        ikj     dyn_em      1         Z                                         
273i1       real   rw_tendf       ikj     dyn_em      1         Z                                         
274i1       real   w_save         ikj     dyn_em      1         Z                                         
275
276# Geopotential
277state    real   ph             ikjb     dyn_em      2         Z     \
278       irusdf=(bdy_interp:dt)   "ph"   "perturbation geopotential"  "m2 s-2"
279state    real   phb            ikj     dyn_em      1         Z     irdus  "phb"  "base-state geopotential"  "m2 s-2"
280state    real   phb_fine       ikj     dyn_em      1         Z      -     "phb_fine"  "for nesting, temp holding interpolated coarse grid phb"  "m2 s-2"
281state    real   ph0            ikj     dyn_em      1         Z      r     "ph0"  "initial geopotential"     "m2 s-2"
282state    real   php            ikj     dyn_em      1         Z      r     "php"  "geopotential"             "m2 s-2"
283i1       real   ph_tend        ikj     dyn_em      1         Z
284i1       real   ph_tendf       ikj     dyn_em      1         Z
285i1       real   ph_save        ikj     dyn_em      1         Z
286##
287## MARS: TO GET LIGHTER HISTORY FILES
288##
289state    real   phtot          ikj     dyn_em      1         Z     irh       "PHTOT"        "total geopotential"      "m2 s-2"
290
291# Potential Temperature
292state    real   t              ikjb     dyn_em      2         -     \
293       i01rhusdf=(bdy_interp:dt)   "t"      "perturbation potential temperature (theta-t0)" "K"
294
295state    real   t_init         ikj     dyn_em      1         -      ir       "t_init" "initial potential temperature" "K"
296i1       real   t_tend         ikj     dyn_em      1         - 
297i1       real   t_tendf        ikj     dyn_em      1         - 
298state    real   tp             ikj     dyn_em      2         - 
299i1       real   t_2save        ikj     dyn_em      1         -   
300state    real   t_save         ikj     dyn_em      1         -               "t_save"
301#                                               
302
303
304# Mass
305state    real   mu              ijb     dyn_em      2         -     \
306     irusdf=(bdy_interp:dt)   "mu"  "perturbation dry air mass in column" "Pa"
307state    real   mub             ij     dyn_em      1         -     irdus        "mub" "base state dry air mass in column" "Pa"
308state    real   mub_fine        ij     dyn_em      1         -      -           "mub_fine" "nest temp, holds interpolated coarse grid mub" "Pa"
309state    real   mu0             ij     dyn_em      1         -     i01rdu       "mu0" "initial dry mass in column" "Pa"
310state    real   mudf            ij     dyn_em      1         -      -           "mudf" "" ""
311state    real   muu             ij     dyn_em      1          -                 "muu"
312i1       real   muus            ij     dyn_em      1          -     
313state    real   muv             ij     dyn_em      1          -                 "muv"
314i1       real   muvs            ij     dyn_em      1          -     
315state    real   mut             ij     dyn_em      1          -                 "mut"
316state    real   muts            ij     dyn_em      1          -                 "muts"
317i1       real   muave           ij     dyn_em      1          -     
318i1       real   mu_save         ij     dyn_em      1          -     
319i1       real   mu_tend         ij     dyn_em      1          -     
320i1       real   mu_tendf        ij     dyn_em      1          -     
321
322#diagnostic for looking at nest position in output. A mungy version of terrain height.
323state    real   nest_pos        ij     misc        1   -   rhu=(mark_domain)  "NEST_POS"
324state    real   nest_mask       ij     misc        1   -   ru=(mark_domain)   "NEST_MASK"     "LOCATION OF NEST IF ANY"
325state    real   ht_coarse       ij     misc        1   -     r                -              "STORAGE FOR LOW-RES TERRAIN"
326
327
328# TKE
329state    real   tke            ikj     dyn_em      2         -       r        "tke"          "TURBULENCE KINETIC ENERGY"     "m2 s-2"
330i1       real   tke_tend       ikj     dyn_em      1         -     
331
332# Pressure and Density
333state    real   p              ikj     dyn_em      1         -      r         "p"           "perturbation pressure"         "Pa"
334state    real   al             ikj     dyn_em      1         -      r         "al"          "inverse perturbation density"  "m3 kg-1"
335state    real   alt            ikj     dyn_em      1         -      r         "alt"         "inverse density"               "m3 kg-1"
336state    real   alb            ikj     dyn_em      1         -      rdus      "alb"         "inverse base density"          "m3 kg-1"
337state    real   zx             ikj     dyn_em      1         X      -         " "  " "  " "   
338state    real   zy             ikj     dyn_em      1         Y      -         " "  " "  " "   
339state    real   rdz            ikj     dyn_em      1         Z      -         " "  " "  " "   
340state    real   rdzw           ikj     dyn_em      1         Z       -        " "  " "  " "   
341state    real   pb             ikj     dyn_em      1         -      rdus      "pb"          "BASE STATE PRESSURE "          "Pa"
342##
343## MARS: TO GET LIGHTER HISTORY FILES
344##
345state    real   ptot           ikj     dyn_em      1         -      irh       "PTOT"        "total pressure"      "Pa"
346
347#                                               
348# Other dyn                                             
349#                                               
350i1       real   advect_tend    ikj     dyn_em      1         -                                         
351i1       real   alpha          ikj     dyn_em      1         -                                                 
352i1       real   a              ikj     dyn_em      1         -                                                 
353i1       real   gamma          ikj     dyn_em      1         -                                                 
354i1       real   c2a            ikj     dyn_em      1         -     -
355i1       real   rho            ikj     dyn_em      1         -     -
356i1       real   phm            ikj     dyn_em      1         -     -
357i1       real   cqu            ikj     dyn_em      1         -     -
358i1       real   cqv            ikj     dyn_em      1         -     -
359i1       real   cqw            ikj     dyn_em      1         -     -
360i1       real   pm1            ikj     dyn_em      1         -     -
361#
362# sortie desactivée
363#
364state    real   sr             ij      dyn_em      1         -      ir         "sr" "fraction of frozen precipitation"
365state    real   potevp         ij      dyn_em      1         -                 "potevp" "whatever"
366state    real   snopcx         ij      dyn_em      1         -                 "snopcx" "whatever"
367state    real   soiltb         ij      dyn_em      1         -      ir         "soiltb" "whatever"
368state    real    fnm            k       dyn_em      1         -     irh       "fnm"  "upper weight for vertical stretching"  ""
369state    real    fnp            k       dyn_em      1         -     irh       "fnp"  "lower weight for vertical stretching"  ""
370state    real    rdnw           k       dyn_em      1         -     irh       "rdnw"  "inverse d(eta) values between full (w) levels"   ""
371state    real    rdn            k       dyn_em      1         -     irh       "rdn"  "inverse d(eta) values between half (mass) levels"   ""
372state    real    dnw            k       dyn_em      1         -     irh       "dnw" "d(eta) values between full (w) levels"   ""
373state    real    dn             k       dyn_em      1         -     irh       "dn " "d(eta) values between half (mass) levels"   ""
374state    real    znu            k       dyn_em      1         -     irh       "znu"  "eta values on half (mass) levels"  ""
375state    real    znw            k       dyn_em      1         Z     i01rh     "znw"  "eta values on full (w) levels"  ""
376state    real    t_base         k       dyn_em      1         -     ir        "t_base"               "BASE STATET T IN IDEALIZED CASES"         "K"     
377state    real    z              ikj     dyn_em      1         -     -         " " " " " "
378i1       real    mu_3d          ikj     dyn_em      1         -                                         
379i1       real    z_at_w         ikj     dyn_em      1         Z
380state    real    cfn            -       misc      -         -     irh       "cfn"    "extrapolation constant"  ""
381state    real    cfn1           -       misc      -         -     irh       "cfn1"   "extrapolation constant"  ""
382state    integer step_number    -       misc      -         -     ir        "step_number"  ""
383
384#
385# UN BON EXEMPLE: irhd et i01rh
386#
387# 2m and 10m output diagnostics
388state    real   Q2               ij     misc        1         -     ird      "Q2"                   "QV at 2 M"         "kg kg-1"
389state    real   T2               ij     misc        1         -     ird      "T2"                   "TEMP at 2 M"       "K"
390state    real   TH2              ij     misc        1         -     ird      "TH2"                  "POT TEMP at 2 M"   "K"
391state    real   PSFC             ij     misc        1         -     i01rh     "PSFC"                 "SFC PRESSURE"      "Pa"
392
393#
394# ICI irh01d
395#
396# these next 2 are for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
397# with wave model, only if compiled with -DMCELIO, JM 2003/05/29
398state    real   U10              ij     misc        1         -     ir01d      "U10"                "U at 10 M"         "m s-1"
399state    real   V10              ij     misc        1         -     ir01d      "V10"                "V at 10 M"         "m s-1"
400
401# these next 4 are for observational nudging
402state    real   uratx           ij      misc        1         -     ir          "URATX"            "Ratio of U over U10 on mass points "         "dimensionless"
403state    real   vratx           ij      misc        1         -     ir          "VRATX"            "Ratio of V over V10 on mass points "         "dimensionless"   
404state    real   tratx           ij      misc        1         -     ir          "TRATX"            "Ratio of T over TH2 on mass points "         "dimensionless"   
405state    real   obs_savwt      hikj     dyn_em      1         X      -       "OBS_SAVWT"
406
407# Other
408state   real    rdx            -        misc      -         -     irh       "rdx"                   "INVERSE X GRID LENGTH"         ""     
409state   real    rdy            -        misc      -         -     irh       "rdy"                   "INVERSE Y GRID LENGTH"         ""     
410state   real    dts            -        misc      -         -     ir        "dts"                   "SMALL TIMESTEP"         ""     
411state   real    dtseps         -        misc      -         -     ir        "dtseps"                "TIME WEIGHT CONSTANT FOR SMALL STEPS"         ""     
412state   real    resm           -        misc      -         -     irh       "resm"                  "TIME WEIGHT CONSTANT FOR SMALL STEPS"         ""     
413state   real    zetatop        -        misc      -         -     irh       "zetatop"               "ZETA AT MODEL TOP"         ""     
414state   real    cf1            -        misc      -         -     irh       "cf1"                   "2nd order extrapolation constant"         ""     
415state   real    cf2            -        misc      -         -     irh       "cf2"                   "2nd order extrapolation constant"         ""     
416state   real    cf3            -        misc      -         -     irh       "cf3"                   "2nd order extrapolation constant"         ""     
417state   integer number_at_same_level    -        -          -         -     -        "number_at_same_level"  ""         ""     
418
419# State for derived time quantities. 
420state   integer itimestep      -        -          -         -     rh         "itimestep"             ""         ""     
421state   real    xtime          -        -          -         -     rh         "xtime"                 "minutes since simulation start"         ""     
422state   real    julian         -        -          -         -     -          "julian"                "day of year, 0.0 at 0Z on 1 Jan."         "days"     
423
424
425# input file descriptor for lbcs on parent domain                                               
426state   integer lbc_fid        -        -          -         -     -         "lbc_fid"               ""         ""     
427# indicates if tiling has been computed                                         
428state   logical tiled          -        -          -         -     -         "tiled"                 ""         ""     
429# indicates if patches have been computed                                               
430state   logical patched        -        -          -         -     -         "patched"               ""         ""     
431# indicates whether to read input from file or generate                                         
432#state   logical input_from_file        -        -          -         -     -         "input_from_file"         ""         ""   
433
434# Mask for moving nest interpolations
435state    integer imask_nostag         ij      misc     1     -
436state    integer imask_xstag          ij      misc     1     X
437state    integer imask_ystag          ij      misc     1     Y
438state    integer imask_xystag         ij      misc     1     XY
439# vortex center indices; need for restarts of moving nests
440state    real    xi                   -       misc     -     -    r
441state    real    xj                   -       misc     -     -    r
442state    real    vc_i                 -       misc     -     -    r
443state    real    vc_j                 -       misc     -     -    r
444
445#-----------------------------------------------------------------------------------------------------------------------------------------------------------------
446# Scalar (4D) arrays
447
448# Moist Scalars
449#                                               
450# The first line ensures that there will be identifiers named moist and                                         
451# moist_tend even if there are not any moist scalars (so the essentially                                               
452# dry code will will still link properly)                                               
453#     
454#-----------------------------
455# afin d eviter les mic macs terrestres, ceux là ne sont pas a utiliser
456# reglés a zero
457#-----------------------------                                         
458state   real    -              ikjftb   moist       1         -     -    -
459state   real    qv             ikjftb   moist       1         -     \
460   i01rusdf=(bdy_interp:dt)  "QVAPOR"           "Water vapor mixing ratio"      "kg kg-1"
461state   real    qc             ikjftb   moist       1         -     \
462   i01rusdf=(bdy_interp:dt)  "QCLOUD"           "Cloud water mixing ratio"      "kg kg-1"
463state   real    qr             ikjftb   moist       1         -     \
464   i01rusdf=(bdy_interp:dt)  "QRAIN"            "Rain water mixing ratio"       "kg kg-1"
465state   real    qi             ikjftb   moist       1         -     \
466   i01rusdf=(bdy_interp:dt)  "QICE"             "Ice mixing ratio"              "kg kg-1"
467state   real    qs             ikjftb   moist       1         -     \
468   i01rusdf=(bdy_interp:dt)  "QSNOW"            "Snow mixing ratio"             "kg kg-1"
469state   real    qg             ikjftb   moist       1         -     \
470   i01rusdf=(bdy_interp:dt)  "QGRAUP"           "Graupel mixing ratio"          "kg kg-1"
471
472# Chem Scalars
473state   real    -              ikjftb   chem        1         -     -    -                                       
474
475# Other Scalars: see also above
476state   real    qni             ikjftb  scalar      1         -     \
477   i01rusdf=(bdy_interp:dt)    "QNICE"         "Ice Number concentration" "# kg(-1)"
478state   real    qt             ikjftb  scalar      1         -     \
479   i01rusdf=(bdy_interp:dt)    "CWM"           "Total condensate mixing ratio"      "kg kg-1"
480
481#-----------------------------------------------------------------------------------------------------------------------------------------------------------------
482
483# Arrays for Specified LBCs  (lbc arrays REMOVED; Boundary arrays are now specified with the state array; see above, 20050413 JM )
484
485state    real   fcx            w         misc     -         -      ir       "fcx"                  "RELAXATION TERM FOR BOUNDARY ZONE"         ""
486state    real   gcx            w         misc     -         -      ir       "gcx"                  "2ND RELAXATION TERM FOR BOUNDARY ZONE"         ""
487state    real   dtbc            -        misc     -         -      ir       "dtbc"                 "TIME SINCE BOUNDARY READ"         ""
488
489#-------------------------------------------------------------------------------------------------------------------------------------------
490#-------------------------------------------------------------------------------------------------------------------------------------------
491# Physics Related State Varibles
492
493#-------------------------------------------------------------------------------------------------------------------------------------------
494# SI - start variables from netCDF format from Standard Initialization, most eventually for use in LSM schemes
495#-------------------------------------------------------------------------------------------------------------------------------------------
496
497state   real   sm000007            ij    misc          1     -     i1      "SM000007"      "LAYER SOIL MOISTURE" "m3 m-3"
498state   real   sm007028            ij    misc          1     -     i1      "SM007028"      "LAYER SOIL MOISTURE" "m3 m-3"
499state   real   sm028100            ij    misc          1     -     i1      "SM028100"      "LAYER SOIL MOISTURE" "m3 m-3"
500state   real   sm100255            ij    misc          1     -     i1      "SM100255"      "LAYER SOIL MOISTURE" "m3 m-3"
501state   real   st000007            ij    misc          1     -     i1      "ST000007"      "LAYER SOIL TEMPERATURE" "K"
502state   real   st007028            ij    misc          1     -     i1      "ST007028"      "LAYER SOIL TEMPERATURE" "K"
503state   real   st028100            ij    misc          1     -     i1      "ST028100"      "LAYER SOIL TEMPERATURE" "K"
504state   real   st100255            ij    misc          1     -     i1      "ST100255"      "LAYER SOIL TEMPERATURE" "K"
505state   real   sm000010            ij    misc          1     -     i1      "SM000010"      "LAYER SOIL MOISTURE" "m3 m-3"
506state   real   sm010040            ij    misc          1     -     i1      "SM010040 "     "LAYER SOIL MOISTURE" "m3 m-3"
507state   real   sm040100            ij    misc          1     -     i1      "SM040100 "     "LAYER SOIL MOISTURE" "m3 m-3"
508state   real   sm100200            ij    misc          1     -     i1      "SM100200 "     "LAYER SOIL MOISTURE" "m3 m-3"
509state   real   sm010200            ij    misc          1     -     i1      "SM010200"      "LAYER SOIL MOISTURE" "m3 m-3"
510state   real   soilm000            ij    misc          1     -     i1      "SOILM000"      "LAYER SOIL MOISTURE" "m3 m-3"
511state   real   soilm005            ij    misc          1     -     i1      "SOILM005"      "LAYER SOIL MOISTURE" "m3 m-3"
512state   real   soilm020            ij    misc          1     -     i1      "SOILM020"      "LAYER SOIL MOISTURE" "m3 m-3"
513state   real   soilm040            ij    misc          1     -     i1      "SOILM040"      "LAYER SOIL MOISTURE" "m3 m-3"
514state   real   soilm160            ij    misc          1     -     i1      "SOILM160"      "LAYER SOIL MOISTURE" "m3 m-3"
515state   real   soilm300            ij    misc          1     -     i1      "SOILM300"      "LAYER SOIL MOISTURE" "m3 m-3"
516state   real   sw000010            ij    misc          1     -     i1      "SW000010"      "LAYER SOIL LIQUID" "m3 m-3"
517state   real   sw010040            ij    misc          1     -     i1      "SW010040"      "LAYER SOIL LIQUID" "m3 m-3"
518state   real   sw040100            ij    misc          1     -     i1      "SW040100"      "LAYER SOIL LIQUID" "m3 m-3"
519state   real   sw100200            ij    misc          1     -     i1      "SW100200"      "LAYER SOIL LIQUID" "m3 m-3"
520state   real   sw010200            ij    misc          1     -     i1      "SW010200"      "LAYER SOIL LIQUID" "m3 m-3"
521state   real   soilw000            ij    misc          1     -     i1      "SOILW000"      "LAYER SOIL LIQUID" "m3 m-3"
522state   real   soilw005            ij    misc          1     -     i1      "SOILW005"      "LAYER SOIL LIQUID" "m3 m-3"
523state   real   soilw020            ij    misc          1     -     i1      "SOILW020"      "LAYER SOIL LIQUID" "m3 m-3"
524state   real   soilw040            ij    misc          1     -     i1      "SOILW040"      "LAYER SOIL LIQUID" "m3 m-3"
525state   real   soilw160            ij    misc          1     -     i1      "SOILW160"      "LAYER SOIL LIQUID" "m3 m-3"
526state   real   soilw300            ij    misc          1     -     i1      "SOILW300"      "LAYER SOIL LIQUID" "m3 m-3"
527state   real   st000010            ij    misc          1     -     i1      "ST000010"      "LAYER SOIL TEMPERATURE" "K"
528state   real   st010040            ij    misc          1     -     i1      "ST010040"      "LAYER SOIL TEMPERATURE" "K"
529state   real   st040100            ij    misc          1     -     i1      "ST040100"      "LAYER SOIL TEMPERATURE" "K"
530state   real   st100200            ij    misc          1     -     i1      "ST100200"      "LAYER SOIL TEMPERATURE" "K"
531state   real   st010200            ij    misc          1     -     i1      "ST010200"      "LAYER SOIL TEMPERATURE" "K"
532state   real   soilt000            ij    misc          1     -     i1      "SOILT000"      "LAYER SOIL TEMPERATURE" "K"
533state   real   soilt005            ij    misc          1     -     i1      "SOILT005"      "LAYER SOIL TEMPERATURE" "K"
534state   real   soilt020            ij    misc          1     -     i1      "SOILT020"      "LAYER SOIL TEMPERATURE" "K"
535state   real   soilt040            ij    misc          1     -     i1      "SOILT040"      "LAYER SOIL TEMPERATURE" "K"
536state   real   soilt160            ij    misc          1     -     i1      "SOILT160"      "LAYER SOIL TEMPERATURE" "K"
537state   real   soilt300            ij    misc          1     -     i1      "SOILT300"      "LAYER SOIL TEMPERATURE" "K"
538state   real   landmask            ij    misc          1     -     i012rd=(interp_fcnm)u=(copy_fcnm)   "LANDMASK"      "LAND MASK (1 FOR LAND, 0 FOR WATER)"  ""
539state   real   topostdv            ij    misc          1     -     i12     "TOPOSTDV"      "ELEVATION STD DEV"  "m"
540state   real   toposlpx            ij    misc          1     -     i12     "TOPOSLPX"      "ELEVATION X SLOPE"  ""
541state   real   toposlpy            ij    misc          1     -     i12     "TOPOSLPY"      "ELEVATION Y SLOPE"  ""
542state   real   shdmax              ij    misc          1     -     i012r   "SHDMAX"        "ANNUAL MAX VEG FRACTION" ""
543state   real   shdmin              ij    misc          1     -     i012r   "SHDMIN"        "ANNUAL MIN VEG FRACTION" ""
544state   real   snoalb              ij    misc          1     -     i012r   "SNOALB"        "ANNUAL MAX SNOW ALBEDO IN FRACTION" ""
545state   real   slopecat            ij    misc          1     -     i12     "SLOPECAT"      "SLOPE CATEGORY"  ""
546state   real   toposoil            ij    misc          1     -     i12     "SOILHGT"       "ELEVATION OF LSM DATA"  "m"
547state   real   landusef            iuj   misc          1     Z     i12     "LANDUSEF"      "LANDUSE FRACTION BY CATEGORY"  ""
548state   real   soilctop            isj   misc          1     Z     i12     "SOILCTOP"      "SOIL CAT FRACTION (TOP)"  ""
549state   real   soilcbot            isj   misc          1     Z     i1      "SOILCBOT"      "SOIL CAT FRACTION (BOTTOM)"  ""
550state   real   soilcat             ij    misc          1     -     i12     "SOILCAT"       "SOIL CAT DOMINANT TYPE" ""
551state   real   vegcat              ij    misc          1     -     i12     "VEGCAT"        "VEGETATION CAT DOMINANT TYPE" ""
552
553#---------------------------------------------------------------------------------------------------------------------------------------
554# SI - end variables from netCDF format from Standard Initialization
555#---------------------------------------------------------------------------------------------------------------------------------------
556
557# soil model variables  (Note that they are marked as staggered in the vertical dimension
558# because they are "fully dimensioned" -- they use every element in that dim
559state    real   TSLB           ilj       misc      1         Z     i02rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)           "TSLB"     "SOIL TEMPERATURE"   "K"
560state    real   ZS              l        misc      -         Z     irh       "ZS"                    "DEPTHS OF CENTERS OF SOIL LAYERS"         "m"
561state    real   DZS             l        misc      -         Z     irh       "DZS"                   "THICKNESSES OF SOIL LAYERS"               "m"
562
563# urban model variables
564state    real   DZR             l        em      -            Z     r        "DZR"            "THICKNESSES OF ROOF LAYERS"                      "m"
565state    real   DZB             l        em      -            Z     r        "DZB"            "THICKNESSES OF WALL LAYERS"                      "m"
566state    real   DZG             l        em      -            Z     r        "DZG"            "THICKNESSES OF ROAD LAYERS"                      "m"
567
568# lsm State Variables
569
570#
571# sortie desactivé, mais peut servir pour le modèle de sol
572#
573state    real   SMOIS            ilj     -          1         Z     i02rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SMOIS"            "SOIL MOISTURE"     "m3 m-3"
574state    real   SH2O             ilj     -          1         Z     i02rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SH2O"             "SOIL LIQUID WATER" "m3 m-3"
575state    real   XICE             ij     misc        1         -     i012rd=(interp_mask_water_field:lu_index)u=(copy_fcnm)  "XICE"             "SEA ICE FLAG"  ""
576state    real   SMSTAV           ij     misc        1         -      rd=(interp_mask_land_field:lu_index)       "SMSTAV"           "MOISTURE AVAILABILITY" ""
577state    real   SMSTOT           ij     misc        1         -      r                                          "SMSTOT"           "TOTAL SOIL MOISTURE" "m3 m-3"
578
579state    real   SFCRUNOFF        ij     misc        1         -      rd=(interp_mask_land_field:lu_index)      "SFROFF"           "SURFACE RUNOFF"     "mm"
580state    real   UDRUNOFF         ij     misc        1         -      rd=(interp_mask_land_field:lu_index)      "UDROFF"           "UNDERGROUND RUNOFF" "mm"
581state  integer  IVGTYP           ij     misc        1         -     i02rd=(interp_fcni)u=(copy_fcni)            "IVGTYP"           "DOMINANT VEGETATION CATEGORY" ""
582state  integer  ISLTYP           ij     misc        1         -     i02rd=(interp_fcni)u=(copy_fcni)            "ISLTYP"           "DOMINANT SOIL CATEGORY"       ""
583state    real   VEGFRA           ij     misc        1         -     i0125rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)   "VEGFRA"           "VEGETATION FRACTION" ""
584state    real   SFCEVP           ij     misc        1         -      r                                          "SFCEVP"           "SURFACE EVAPORATION" "kg m-2"
585state    real   GRDFLX           ij     misc        1         -      r                                         "GRDFLX"           "GROUND HEAT FLUX" "W m-2"
586state    real   SFCEXC           ij     misc        1         -      r                                          "SFCEXC "          "SURFACE EXCHANGE COEFFICIENT"   "m s-1"
587
588state    real   ACSNOW           ij     misc        1         -      rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)       "ACSNOW"           "ACCUMULATED SNOW"         "kg m-2"
589state    real   ACSNOM           ij     misc        1         -      rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)       "ACSNOM"           "ACCUMULATED MELTED SNOW"  "kg m-2"
590#
591# ici sortie désactivée
592#
593state    real   SNOW             ij     misc        1         -     i01rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SNOW"             "SNOW WATER EQUIVALENT"    "kg m-2"
594state    real   SNOWH            ij     misc        1         -     i01rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SNOWH"            "PHYSICAL SNOW DEPTH"      "m"
595state    real   RHOSN            ij     misc        1         -     i01rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "RHOSN"            " SNOW DENSITY"      "kg m-3"
596state    real   CANWAT           ij     misc        1         -     i01rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "CANWAT"           "CANOPY WATER"             "kg m-2"
597state    real   SST              ij     misc        1         -     i0125rd=(interp_mask_water_field:lu_index)   "SST"              "SEA SURFACE TEMPERATURE" "K"
598state  integer  IFNDSNOWH        -      misc        1         -     i         "FNDSNOWH" "SNOWH_LOGICAL"
599state  integer  IFNDSOILW        -      misc        1         -     i         "FNDSOILW" "SOILW_LOGICAL"
600
601# urban state variables
602state    real   TR_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TR_URB"              "URBAN ROOF SKIN TEMPERATURE"        "K"
603state    real   TB_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TB_URB"              "URBAN WALL SKIN TEMPERATURE"        "K"
604state    real   TG_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TG_URB"              "URBAN ROAD SKIN TEMPERATURE"        "K"
605state    real   TC_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TC_URB"              "URBAN CANOPY TEMPERATURE"           "K"
606state    real   QC_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "QC_URB"              "URBAN CANOPY HUMIDITY"          "kg kg{-1}"
607state    real   UC_URB2D         ij     misc        1         -     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "UC_URB"              "URBAN CANOPY WIND"          "m s{-1}"
608state    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"
609state    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"
610state    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"
611state    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"
612state    real   TRL_URB3D        ilj    misc        1         Z     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "TRL_URB" "ROOF LAYER TEMPERATURE"          "K"
613state    real   TBL_URB3D        ilj    misc        1         Z     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "TBL_URB" "WALL LAYER TEMPERATURE"          "K"
614state    real   TGL_URB3D        ilj    misc        1         Z     rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "TGL_URB" "ROAD LAYER TEMPERATURE"          "K"
615state    real   SH_URB2D        ij    misc        1         -     r       "SH_URB"  "SENSIBLE HEAT FLUX FROM URBAN SFC"  "W m{-2}"
616state    real   LH_URB2D        ij    misc        1         -     r       "LH_URB"  "LATENT HEAT FLUX FROM URBAN SFC"    "W m{-2}"
617state    real   G_URB2D         ij    misc        1         -     r        "G_URB"  "GROUND HEAT FLUX INTO URBAN"        "W m{-2}"
618state    real   RN_URB2D        ij    misc        1         -     r       "RN_URB"  "NET RADIATION ON URBAN SFC"         "W m{-2}"
619state    real   TS_URB2D        ij    misc        1         -     r       "TS_URB"  "SKIN TEMPERATURE"          "K"
620state    real   FRC_URB2D       ij    misc        1         -     rd=(interp_fcnm)u=(copy_fcnm)       "FRC_URB"  "URBAN FRACTION"         "dimensionless"
621state    integer   UTYPE_URB2D  ij    misc        1         -     rd=(interp_fcnm)u=(copy_fcnm)       "UTYPE_URB"  "URBAN TYPE"         "dimensionless"
622
623
624# urban variables from radiation model
625state    real   COSZ_URB2D       ij     misc        1         -      r       "COSZ_URB"  "COS of SOLAR ZENITH ANGLE"         "dimensionless"
626state    real   OMG_URB2D        ij     misc        1         -      r       "OMG_URB"   "SOLAR HOUR ANGLE"         "dimensionless"
627state    real   DECLIN_URB       -     misc        1         -       r       "DECLIN_URB"  "SOLAR DECLINATION"         "dimensionless"
628
629
630# RUC LSM
631state    real   SMFR3D           ilj    misc        1         Z      r        "SMFR3D"               "SOIL ICE" ""
632state    real   KEEPFR3DFLAG     ilj    misc        1         Z      r        "KEEPFR3DFLAG"          "FLAG - 1. FROZEN SOIL YES, 0 - NO"             ""
633
634# MRF PBL variables
635i1      real   PSIM           ij     misc        1         -     -         "PSIM"                "SIMILARITY FUNCTION FOR MOMENTUM"     ""
636i1      real   PSIH           ij     misc        1         -     -         "PSIH"                "SIMILARITY FUNCTION FOR HEAT"         ""
637i1      real   WSPD           ij     misc        1         -     -         "WSPD"                "Wind speed"                           "m s-1"
638i1      real   GZ1OZ0         ij     misc        1         -     -         "GZ1OZ0"              "LOG OF Z1 over Z0"                     ""
639i1      real   BR             ij     misc        1         -     -         "BR"                  "Bulk Richardson"                       ""
640
641# MYJ PBL variables
642state    real   tke_myj        ikj     misc        1         -      r        "tke_myj"               "TKE FROM MELLOR-YAMADA-JANJIC"      "m2 s-2"
643state    real   EL_MYJ          ikj     misc        1         -     -        "el_myj"                "MIXING LENGTH FROM MELLOR-YAMADA-JANJIC"     "m"
644state    real   EXCH_H          ikj     misc        1         -     r          "EXCH_H"               "EXCHANGE COEFFICIENTS "
645state    real  CT              ij      misc        1         -      r        "CT"                    "COUNTERGRADIENT TERM"    "K"
646state   real   THZ0             ij     misc        1         -      r        "THZ0"                  "POTENTIAL TEMPERATURE AT ZNT"                 "K"
647state    real  Z0               ij     misc        1         -      r        "Z0"                    "Background ROUGHNESS LENGTH"                  "m"
648state   real   QZ0              ij     misc        1         -      r        "QZ0"                   "SPECIFIC HUMIDITY AT ZNT"                     "kg kg-1"
649state   real   UZ0              ij     misc        1         -      r        "UZ0"                   "U WIND COMPONENT AT ZNT"                      "m s-1"
650state   real   VZ0              ij     misc        1         -      r        "VZ0"                   "V WIND COMPONENT AT ZNT"                      "m s-1"
651state   real   QSFC             ij     misc        1         -      r        "QSFC"                  "SPECIFIC HUMIDITY AT LOWER BOUNDARY"          "kg kg-1"
652state   real   AKHS             ij     misc        1         -      r        "AKHS"                  "SFC EXCH COEFF FOR HEAT"                      "m s-1"   
653state   real   AKMS             ij     misc        1         -      r        "AKMS"                  "SFC EXCH COEFF FOR MOMENTUM"                  "m s-1"   
654state   integer KPBL            ij     misc        1         -     r         "KPBL"                  "LEVEL OF PBL TOP"                             ""
655i1      real   TSHLTR           ij     misc        1         -     -         "TSHLTR"                "SHELTER THETA FROM MYJ"                       "K"         
656i1      real   QSHLTR           ij     misc        1         -     -         "QSHLTR"                "SHELTER SPECIFIC HUMIDITY FROM MYJ"           "kg kg-1"
657i1      real   PSHLTR           ij     misc        1         -     -         "PSHLTR"                "SHELTER PRESSURE FROM MYJ"           "Pa"
658i1      real   TH10             ij     misc        1         -     -         "TH10"                  "10-M THETA FROM MYJ"                          "K"       
659i1      real   Q10              ij     misc        1         -     -         "Q10"                   "10-M SPECIFIC HUMIDITY FROM MYJ"              "kg kg-1"
660i1      real   CHKLOWQ          ij     misc        1         -     -         "CHKLOWQ"               "SURFACE SATURATION FLAG"        ""
661
662# gfdl (eta) radiation State Variables
663state    real    HTOP            ij     misc        1         -      r        "HTOP"                 "TOP OF CONVECTION LEVEL"         ""
664state    real    HBOT            ij     misc        1         -      r        "HBOT"                 "BOT OF CONVECTION LEVEL"         ""
665state    real    HTOPR           ij     misc        1         -      r        "HTOPR"                "TOP OF CONVECTION LEVEL FOR RADIATION"    ""
666state    real    HBOTR           ij     misc        1         -      r        "HBOTR"                "BOT OF CONVECTION LEVEL FOR RADIATION"    ""
667state    real    CUTOP           ij     misc        1         -      r        "CUTOP"                "TOP OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
668state    real    CUBOT           ij     misc        1         -      r        "CUBOT"                "BOT OF CONVECTION LEVEL FROM CUMULUS PAR"    ""
669state    REAL      CUPPT         ij     misc        1         -      r        "CUPPT"                "ACCUMULATED CONVECTIVE RAIN SINC LAST CALL TO THE RADIATION"         ""
670state  real   rswtoa    ij    misc        1    -    i
671state  real   rlwtoa    ij    misc        1    -    i
672state  real   czmean    ij    misc      1    -     i
673state  real   cfracl    ij    misc      1    -     i
674state  real   cfracm    ij    misc      1    -     i
675state  real   cfrach    ij    misc      1    -     i
676state  real   acfrst    ij    misc        1    -    i
677state integer ncfrst    ij    misc        1    -    i
678state  real   acfrcv    ij    misc        1    -    i
679state integer ncfrcv    ij    misc        1    -    i
680
681# cam radiation variables
682state  real    -       iqjf ozmixm      1    -   -     -
683state  real   mth01    iqjf ozmixm      1    -   -     -
684state  real   mth02    iqjf ozmixm      1    -   -     -
685state  real   mth03    iqjf ozmixm      1    -   -     -
686state  real   mth04    iqjf ozmixm      1    -   -     -
687state  real   mth05    iqjf ozmixm      1    -   -     -
688state  real   mth06    iqjf ozmixm      1    -   -     -
689state  real   mth07    iqjf ozmixm      1    -   -     -
690state  real   mth08    iqjf ozmixm      1    -   -     -
691state  real   mth09    iqjf ozmixm      1    -   -     -
692state  real   mth10    iqjf ozmixm      1    -   -     -
693state  real   mth11    iqjf ozmixm      1    -   -     -
694state  real   mth12    iqjf ozmixm      1    -   -     -
695state  real   pin       q     misc      1    -   -      "PIN"             "PRESSURE LEVEL OF OZONE MIXING RATIO"  "millibar"
696state  real   m_ps       ij   misc      2    -   -      "m_ps"            "PS from MATCH on WRF grids"
697state  real    -       idjf aerosolc    2    -   -       -
698state  real   SUL      idjf aerosolc    2    -   -     "SUL"        "SUL aerosol concentration"
699state  real   SSLT     idjf aerosolc    2    -   -     "SSLT"        "SSLT aerosol concentration"
700state  real   DUST1    idjf aerosolc    2    -   -     "DUST1"        "DUST1 aerosol concentration"
701state  real   DUST2    idjf aerosolc    2    -   -     "DUST2"        "DUST2 aerosol concentration"
702state  real   DUST3    idjf aerosolc    2    -   -     "DUST3"        "DUST3 aerosol concentration"
703state  real   DUST4    idjf aerosolc    2    -   -     "DUST4"        "DUST4 aerosol concentration"
704state  real   OCPHO    idjf aerosolc    2    -   -     "OCPHO"        "OCPHO aerosol concentration"
705state  real   BCPHO    idjf aerosolc    2    -   -     "BCPHO"        "BCPHO aerosol concentration"
706state  real   OCPHI    idjf aerosolc    2    -   -     "OCPHI"        "OCPHI aerosol concentration"
707state  real   BCPHI    idjf aerosolc    2    -   -     "BCPHI"        "BCPHI aerosol concentration"
708state  real   BG       idjf aerosolc    2    -   -     "BG"        "BG aerosol concentration"
709state  real   VOLC     idjf aerosolc    2    -   -     "VOLC"        "VOLC aerosol concentration"
710state  real   m_hybi    d     misc      1    -   -     "m_hybi"         "MATCH hybi"
711
712# new eta microphpysics State Variables
713state    real    F_ICE_PHY       ikj    misc        1         -      rdu      "F_ICE_PHY"            "FRACTION OF ICE"         ""
714state    real    F_RAIN_PHY      ikj    misc        1         -      rdu      "F_RAIN_PHY"           "FRACTION OF RAIN "         ""
715state    real    F_RIMEF_PHY     ikj    misc        1         -      rdu      "F_RIMEF_PHY"          "MASS RATIO OF RIMED ICE "         ""
716# Other Misc State Variables
717
718                                           
719state   real    ht             ij      misc         1         -     i012rhdus  "HGT"              "Terrain Height"   "m"
720state   real    ht_fine        ij      misc         1         -     -          "HGT_FINE"         "Fine Terrain Height"   "m"
721state   real    ht_int         ij      misc         1         -     -          "HGT_INT"          "Terrain Height Horizontally Interpolated"   "m"
722state   real    ht_input       ij      misc         1         -     -          "HGT_INPUT"        "Terrain Height from FG Input File"   "m"
723
724#
725# h is removed from TSK, parce que la temperature de surface dans TSK n'est pas modifiee
726#
727state   real    TSK            ij      misc         1         -     i012rdu=(copy_fcnm)    "TSK"                   "SURFACE SKIN TEMPERATURE"                  "K"
728state   real    TSK_SAVE       ij      misc         1         -     -         "TSK_SAVE" "SURFACE SKIN TEMPERATURE, EXTRA COPY FOR SEA ICE TESTS in REAL"       "K"
729
730state   real    h_diabatic     ikj     misc         1         -      r        "h_diabatic"            "PREVIOUS TIMESTEP CONDENSATIONAL HEATING"         ""     
731state   real    msft           ij      misc         1         -     i012rhdu=(copy_fcnm)    "MAPFAC_M"         "Map scale factor on mass grid" ""
732state   real    msfu           ij      misc         1         X     i012rhdu=(copy_fcnm)    "MAPFAC_U"         "Map scale factor on u-grid" ""
733state   real    msfv           ij      misc         1         Y     i012rhdu=(copy_fcnm)    "MAPFAC_V"         "Map scale factor on v-grid" ""
734state   real    f              ij      misc         1         -     i012rhdu=(copy_fcnm)    "f"                "Coriolis sine latitude term"  "s-1"
735state   real    e              ij      misc         1         -     i012rhdu=(copy_fcnm)    "e"                "Coriolis cosine latitude term"  "s-1"
736state   real    sina           ij      misc         1         -     i012rhdu=(copy_fcnm)    "SINALPHA"         "Local sine of map rotation"   ""
737state   real    cosa           ij      misc         1         -     i012rhdu=(copy_fcnm)    "COSALPHA"         "Local cosine of map rotation"  ""
738
739state   real    u_base         k       misc         1         -     ir        "u_base"                "BASE STATE X WIND IN IDEALIZED CASES"         ""     
740state   real    v_base         k       misc         1         -     ir        "v_base"                "BASE STATE Y WIND IN IDEALIZED CASES"         ""     
741state   real    qv_base        k       misc         1         -     ir        "qv_base"               "BASE STATE QV IN IDEALIZED CASES"         ""     
742state   real    z_base         k       misc         1         -     ir        "z_base"                "BASE STATE HEIGHT IN IDEALIZED CASES"         ""     
743state   real    u_frame        -       misc         1         -     ir        "u_frame"               "FRAME X WIND"         "m s-1"     
744state   real    v_frame        -       misc         1         -     ir        "v_frame"               "FRAME Y WIND"         "m s-1"     
745# p_top appears as metadata between SI and real but as a state variable in real and WRF
746# since it is a scalar and a constant, it makes sense to have it as metadata -- there
747# are, however, probably post-processing programs that expect to see it as an I/O record
748# another problem: share/input_wrf tries to read this as metadata (fine for real reading
749# SI, but with model reading real output, it generates a warning when debug is > 0 in
750# namelist and causes repeated questions from users.  A third problem is the potential
751# collision between a metadata name and a field record in the I/O data
752# resolve this how?  Have the real program throw a switch to tell the code to get it
753# from the metadata?  Otherwise it's a field?
754state   real    p_top          -       misc         -         -     irh       "p_top"                 "PRESSURE TOP OF THE MODEL"  "Pa"
755state   real    lat_ll_t       -       dyn_em       -         -     irh       "lat_ll_t"              "latitude lower left, temp point" "degrees"
756state   real    lat_ul_t       -       dyn_em       -         -     irh       "lat_ul_t"              "latitude up left, temp point" "degrees"
757state   real    lat_ur_t       -       dyn_em       -         -     irh       "lat_ur_t"              "latitude up right, temp point" "degrees"
758state   real    lat_lr_t       -       dyn_em       -         -     irh       "lat_lr_t"              "latitude lower right, temp point" "degrees"
759state   real    lat_ll_u       -       dyn_em       -         -     irh       "lat_ll_u"              "latitude lower left, u point" "degrees"
760state   real    lat_ul_u       -       dyn_em       -         -     irh       "lat_ul_u"              "latitude up left, u point" "degrees"
761state   real    lat_ur_u       -       dyn_em       -         -     irh       "lat_ur_u"              "latitude up right, u point" "degrees"
762state   real    lat_lr_u       -       dyn_em       -         -     irh       "lat_lr_u"              "latitude lower right, u point" "degrees"
763state   real    lat_ll_v       -       dyn_em       -         -     irh       "lat_ll_v"              "latitude lower left, v point" "degrees"
764state   real    lat_ul_v       -       dyn_em       -         -     irh       "lat_ul_v"              "latitude up left, v point" "degrees"
765state   real    lat_ur_v       -       dyn_em       -         -     irh       "lat_ur_v"              "latitude up right, v point" "degrees"
766state   real    lat_lr_v       -       dyn_em       -         -     irh       "lat_lr_v"              "latitude lower right, v point" "degrees"
767state   real    lat_ll_d       -       dyn_em       -         -     irh       "lat_ll_d"              "latitude lower left, massless point" "degrees"
768state   real    lat_ul_d       -       dyn_em       -         -     irh       "lat_ul_d"              "latitude up left, massless point" "degrees"
769state   real    lat_ur_d       -       dyn_em       -         -     irh       "lat_ur_d"              "latitude up right, massless point" "degrees"
770state   real    lat_lr_d       -       dyn_em       -         -     irh       "lat_lr_d"              "latitude lower right, massless point" "degrees"
771state   real    lon_ll_t       -       dyn_em       -         -     irh       "lon_ll_t"              "longitude lower left, temp point" "degrees"
772state   real    lon_ul_t       -       dyn_em       -         -     irh       "lon_ul_t"              "longitude up left, temp point" "degrees"
773state   real    lon_ur_t       -       dyn_em       -         -     irh       "lon_ur_t"              "longitude up right, temp point" "degrees"
774state   real    lon_lr_t       -       dyn_em       -         -     irh       "lon_lr_t"              "longitude lower right, temp point" "degrees"
775state   real    lon_ll_u       -       dyn_em       -         -     irh       "lon_ll_u"              "longitude lower left, u point" "degrees"
776state   real    lon_ul_u       -       dyn_em       -         -     irh       "lon_ul_u"              "longitude up left, u point" "degrees"
777state   real    lon_ur_u       -       dyn_em       -         -     irh       "lon_ur_u"              "longitude up right, u point" "degrees"
778state   real    lon_lr_u       -       dyn_em       -         -     irh       "lon_lr_u"              "longitude lower right, u point" "degrees"
779state   real    lon_ll_v       -       dyn_em       -         -     irh       "lon_ll_v"              "longitude lower left, v point" "degrees"
780state   real    lon_ul_v       -       dyn_em       -         -     irh       "lon_ul_v"              "longitude up left, v point" "degrees"
781state   real    lon_ur_v       -       dyn_em       -         -     irh       "lon_ur_v"              "longitude up right, v point" "degrees"
782state   real    lon_lr_v       -       dyn_em       -         -     irh       "lon_lr_v"              "longitude lower right, v point" "degrees"
783state   real    lon_ll_d       -       dyn_em       -         -     irh       "lon_ll_d"              "longitude lower left, massless point" "degrees"
784state   real    lon_ul_d       -       dyn_em       -         -     irh       "lon_ul_d"              "longitude up left, massless point" "degrees"
785state   real    lon_ur_d       -       dyn_em       -         -     irh       "lon_ur_d"              "longitude up right, massless point" "degrees"
786state   real    lon_lr_d       -       dyn_em       -         -     irh       "lon_lr_d"              "longitude lower right, massless point" "degrees"
787                                               
788# Other physics variables
789                                               
790state    real  RTHCUTEN        ikj      misc        1         -      r        "RTHCUTEN"              "COUPLED THETA TENDENCY DUE TO CUMULUS SCHEME"     "Pa K s-1"
791state    real  RQVCUTEN        ikj      misc        1         -      r        "RQVCUTEN"              "COUPLED Q_V TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
792state    real  RQRCUTEN        ikj      misc        1         -      r        "RQRCUTEN"              "COUPLED Q_R TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
793state    real  RQCCUTEN        ikj      misc        1         -      r        "RQCCUTEN"              "COUPLED Q_C TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
794state    real  RQSCUTEN        ikj      misc        1         -      r        "RQSCUTEN"              "COUPLED Q_S TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
795state    real  RQICUTEN        ikj      misc        1         -      r        "RQICUTEN"              "COUPLED Q_I TENDENCY DUE TO CUMULUS SCHEME"       "Pa kg kg-1 s-1"
796state    real  W0AVG           ikj      misc        1         -      r        "W0AVG"                 "AVERAGE VERTICAL VELOCITY FOR KF CUMULUS SCHEME"         "m s-1"
797                                               
798#
799# Variables 2D ne servent pas - peuvent servir pour la microphysique Mars
800# rajouter 'h' si l'on veut des sorties
801#
802state    real  RAINC            ij      misc        1         -      rdu     "RAINC"                 "ACCUMULATED TOTAL CUMULUS PRECIPITATION"                 "mm"     
803state    real  RAINNC           ij      misc        1         -      rdu     "RAINNC"                "ACCUMULATED TOTAL GRID SCALE PRECIPITATION"              "mm"     
804state    real  RAINCV           ij      misc        1         -      r        "RAINCV"                "TIME-STEP CUMULUS PRECIPITATION"                         "mm"     
805state    real  RAINNCV          ij      misc        1         -      r        "RAINNCV"               "TIME-STEP NONCONVECTIVE PRECIPITATION"                   "mm"
806state    real  RAINBL           ij      misc        1         -      r        "RAINBL"                "PBL TIME-STEP TOTAL PRECIPITATION"                       "mm"     
807state    real  SNOWNC           ij      misc        1         -      rdu     "SNOWNC"                "ACCUMULATED TOTAL GRID SCALE SNOW AND ICE"               "mm"
808state    real  GRAUPELNC        ij      misc        1         -      rdu     "GRAUPELNC"             "ACCUMULATED TOTAL GRID SCALE GRAUPEL"                    "mm"
809state    real  SNOWNCV          ij      misc        1         -      r        "SNOWNCV"               "TIME-STEP NONCONVECTIVE SNOW AND ICE"                    "mm"
810state    real  GRAUPELNCV       ij      misc        1         -      r        "GRAUPELNCV"            "TIME-STEP NONCONVECTIVE GRAUPEL"                      "mm"
811state    real  NCA              ij      misc        1         -      r        "NCA"                   "COUNTER OF THE CLOUD RELAXATION TIME IN KF CUMULUS SCHEME"    ""     
812state    integer  LOWLYR        ij      misc        1         -     -         "LOWLYR"                "INDEX OF LOWEST MODEL LAYER ABOVE THE GROUND IN BMJ SCHEME"   ""     
813state    real  MASS_FLUX        ij      misc        1         -      r        "MASS_FLUX"             "DOWNDRAFT MASS FLUX FOR IN GRELL CUMULUS SCHEME"  "mb hour-1"
814state    real  apr_gr           ij      misc         1         -      r       "APR_GR"                "PRECIP FROM CLOSURE OLD_GRELL"   "mm hour-1"
815state    real  apr_w            ij      misc         1         -      r       "APR_W"                 "PRECIP FROM CLOSURE W"           "mm hour-1"
816state    real  apr_mc           ij      misc         1         -      r       "APR_MC"                "PRECIP FROM CLOSURE KRISH MV"    "mm hour-1"
817state    real  apr_st           ij      misc         1         -      r       "APR_ST"                "PRECIP FROM CLOSURE STABILITY"   "mm hour-1"
818state    real  apr_as           ij      misc         1         -      r       "APR_AS"                "PRECIP FROM CLOSURE AS-TYPE"     "mm hour-1"
819state    real  apr_capma        ij      misc         1         -      r       "APR_CAPMA"             "PRECIP FROM MAX CAP"             "mm hour-1"
820state    real  apr_capme        ij      misc         1         -      r       "APR_CAPME"             "PRECIP FROM MEAN CAP"            "mm hour-1"
821state    real  apr_capmi        ij      misc         1         -      r       "APR_CAPMI"             "PRECIP FROM MIN CAP"             "mm hour-1"
822state    real  xf_ens           ije     misc        1         Z      r        "XF_ENS"                "MASS FLUX PDF IN GRELL CUMULUS SCHEME"    "mb hour-1" 
823state    real  pr_ens           ije     misc        1         Z      r        "PR_ENS"                "PRECIP RATE PDF IN GRELL CUMULUS SCHEME"  "mb hour-1"
824state    real  RTHFTEN          ikj     misc        1         -      r        "RTHFTEN"               "TEMPERATURE TENDENCY USED IN GRELL CUMULUS SCHEME"  "K s-1"     
825state    real  RQVFTEN          ikj     misc        1         -      r        "RQVFTEN"               "MOISTURE TENDENCY USED IN GRELL CUMULUS SCHEME"     "kg s-1"
826
827state integer  STEPCU          -        misc        1         -      r        "STEPCU"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN CONVECTION CALLS"  ""
828                                               
829state    real  RTHRATEN        ikj      misc        1         -      rd       "RTHRATEN"              "COUPLED THETA TENDENCY DUE TO RADIATION"              "Pa K s-1"
830state    real  RTHRATENLW      ikj      misc        1         -      r        "RTHRATLW"              "COUPLED THETA TENDENCY DUE TO LONG WAVE RADIATION"    "Pa K s-1"
831state    real  RTHRATENSW      ikj      misc        1         -      r        "RTHRATSW"              "COUPLED THETA TENDENCY DUE TO SHORT WAVE RADIATION"   "Pa K s-1"
832state    real  CLDFRA          ikj      misc        1         -      r        "CLDFRA"                "CLOUD FRACTION"                                       ""
833state    real  GLW              ij      misc        1         -      rd       "GLW"                   "DOWNWARD LONG  WAVE FLUX AT GROUND SURFACE"           "W m-2"     
834state    real  SWDOWN           ij      misc        1         -      rd      "SWDOWN"                "DOWNWARD SHORT WAVE FLUX AT GROUND SURFACE"           "W m-2"
835state    real  SWDOWNC          ij      misc        1         -      -       "SWDOWNC"               "DOWNWARD CLEAR-SKY SHORT WAVE FLUX AT GROUND SURFACE"           "W m-2"     
836state    real  GSW              ij      misc        1         -      rd       "GSW"                   "NET SHORT WAVE FLUX AT GROUND SURFACE"           "W m-2"     
837
838
839# upward and downward clearsky and total diagnostic fluxes for CAM radiation
840#state    real  ACSWUPT          ij      misc        1         -      rhdu     "ACSWUPT"               "ACCUMULATED UPWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
841#state    real  ACSWUPTC         ij      misc        1         -      rhdu     "ACSWUPTC"              "ACCUMULATED UPWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
842#state    real  ACSWDNT          ij      misc        1         -      rhdu     "ACSWDNT"               "ACCUMULATED DOWNWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
843#state    real  ACSWDNTC         ij      misc        1         -      rhdu     "ACSWDNTC"              "ACCUMULATED DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
844#state    real  ACSWUPB          ij      misc        1         -      rhdu     "ACSWUPB"               "ACCUMULATED UPWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
845#state    real  ACSWUPBC         ij      misc        1         -      rhdu     "ACSWUPBC"              "ACCUMULATED UPWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
846#state    real  ACSWDNB          ij      misc        1         -      rhdu     "ACSWDNB"               "ACCUMULATED DOWNWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
847#state    real  ACSWDNBC         ij      misc        1         -      rhdu     "ACSWDNBC"              "ACCUMULATED DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
848#state    real  ACLWUPT          ij      misc        1         -      rhdu     "ACLWUPT"               "ACCUMULATED UPWELLING LONGWAVE FLUX AT TOP"          "J m-2"
849#state    real  ACLWUPTC         ij      misc        1         -      rhdu     "ACLWUPTC"              "ACCUMULATED UPWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
850#state    real  ACLWDNT          ij      misc        1         -      rhdu     "ACLWDNT"               "ACCUMULATED DOWNWELLING LONGWAVE FLUX AT TOP"          "J m-2"
851#state    real  ACLWDNTC         ij      misc        1         -      rhdu     "ACLWDNTC"              "ACCUMULATED DOWNWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
852#state    real  ACLWUPB          ij      misc        1         -      rhdu     "ACLWUPB"               "ACCUMULATED UPWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
853#state    real  ACLWUPBC         ij      misc        1         -      rhdu     "ACLWUPBC"              "ACCUMULATED UPWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
854#state    real  ACLWDNB          ij      misc        1         -      rhdu     "ACLWDNB"               "ACCUMULATED DOWNWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
855#state    real  ACLWDNBC         ij      misc        1         -      rhdu     "ACLWDNBC"              "ACCUMULATED DOWNWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
856#state    real  SWUPT            ij      misc        1         -      rhdu     "SWUPT"                 "INSTANTANEOUS UPWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
857#state    real  SWUPTC           ij      misc        1         -      rhdu     "SWUPTC"                "INSTANTANEOUS UPWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
858#state    real  SWDNT            ij      misc        1         -      rhdu     "SWDNT"                 "INSTANTANEOUS DOWNWELLING SHORTWAVE FLUX AT TOP"          "J m-2"
859#state    real  SWDNTC           ij      misc        1         -      rhdu     "SWDNTC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT TOP" "J m-2"
860#state    real  SWUPB            ij      misc        1         -      rhdu     "SWUPB"                 "INSTANTANEOUS UPWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
861#state    real  SWUPBC           ij      misc        1         -      rhdu     "SWUPBC"                "INSTANTANEOUS UPWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
862#state    real  SWDNB            ij      misc        1         -      rhdu     "SWDNB"                 "INSTANTANEOUS DOWNWELLING SHORTWAVE FLUX AT BOTTOM"          "J m-2"
863#state    real  SWDNBC           ij      misc        1         -      rhdu     "SWDNBC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY SHORTWAVE FLUX AT BOTTOM" "J m-2"
864#state    real  LWUPT            ij      misc        1         -      rhdu     "LWUPT"                 "INSTANTANEOUS UPWELLING LONGWAVE FLUX AT TOP"          "J m-2"
865#state    real  LWUPTC           ij      misc        1         -      rhdu     "LWUPTC"                "INSTANTANEOUS UPWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
866#state    real  LWDNT            ij      misc        1         -      rhdu     "LWDNT"                 "INSTANTANEOUS DOWNWELLING LONGWAVE FLUX AT TOP"          "J m-2"
867#state    real  LWDNTC           ij      misc        1         -      rhdu     "LWDNTC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY LONGWAVE FLUX AT TOP" "J m-2"
868#state    real  LWUPB            ij      misc        1         -      rhdu     "LWUPB"                 "INSTANTANEOUS UPWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
869#state    real  LWUPBC           ij      misc        1         -      rhdu     "LWUPBC"                "INSTANTANEOUS UPWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
870#state    real  LWDNB            ij      misc        1         -      rhdu     "LWDNB"                 "INSTANTANEOUS DOWNWELLING LONGWAVE FLUX AT BOTTOM"          "J m-2"
871#state    real  LWDNBC           ij      misc        1         -      rhdu     "LWDNBC"                "INSTANTANEOUS DOWNWELLING CLEAR SKY LONGWAVE FLUX AT BOTTOM" "J m-2"
872
873state    real  SWCF             ij      misc        1         -      r         "SWCF"                  "SHORT WAVE CLOUD FORCING AT TOA"                     "W m-2"
874state    real  LWCF             ij      misc        1         -      r         "LWCF"                  "LONG WAVE CLOUD FORCING AT TOA"                      "W m-2"
875state    real  OLR              ij      misc        1         -      r         "OLR"                   "TOA OUTGOING LONG WAVE"                              "W m-2"
876
877# these next 2 are for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
878# with wave model, only if compiled with -DMCELIO, JM 2003/05/29
879state    real  XLAT             ij      misc        1         -     i0123rh01du=(copy_fcnm)      "XLAT"                "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
880state    real  XLONG            ij      misc        1         -     i0123rh01du=(copy_fcnm)      "XLONG"               "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
881state    real  XLAT_U           ij      dyn_em      1         X     i012rh01du=(copy_fcnm)       "XLAT_U"              "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
882state    real  XLONG_U          ij      dyn_em      1         X     i012rh01du=(copy_fcnm)       "XLONG_U"             "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
883state    real  XLAT_V           ij      dyn_em      1         Y     i012rh01du=(copy_fcnm)       "XLAT_V"              "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
884state    real  XLONG_V          ij      dyn_em      1         Y     i012rh01du=(copy_fcnm)       "XLONG_V"             "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
885state    real  ALBEDO           ij      misc        1         -      r           "ALBEDO"                   "ALBEDO"
886state    real  ALBBCK           ij      misc        1         -     i012r        "ALBBCK"                   "BACKGROUND ALBEDO"        ""
887state    real  EMISS            ij      misc        1         -      r        "EMISS"                 "SURFACE EMISSIVITY"         ""
888
889state    real  CLDEFI           ij      misc        1         -      r        "CLDEFI"                "precipitation efficiency in BMJ SCHEME"    ""     
890state integer  STEPRA          -        misc        1         -      r        "STEPRA"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN RADIATION CALLS"        ""
891                                               
892state    real  RUBLTEN         ikj      misc        1         -      r        "RUBLTEN"               "COUPLED X WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
893state    real  RVBLTEN         ikj      misc        1         -      r        "RVBLTEN"               "COUPLED Y WIND TENDENCY DUE TO PBL PARAMETERIZATION"  "Pa m s-2"
894state    real  RTHBLTEN        ikj      misc        1         -      r        "RTHBLTEN"              "COUPLED THETA TENDENCY DUE TO PBL PARAMETERIZATION"   "Pa K s-1"
895state    real  RQVBLTEN        ikj      misc        1         -      r        "RQVBLTEN"              "COUPLED Q_V TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
896state    real  RQCBLTEN        ikj      misc        1         -      r        "RQCBLTEN"              "COUPLED Q_C TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"
897state    real  RQIBLTEN        ikj      misc        1         -      r        "RQIBLTEN"              "COUPLED Q_I TENDENCY DUE TO PBL PARAMETERIZATION"     "Pa kg kg-1 s-1"     
898
899# State vector for etampnew microphysics. Must be declared state because it is not read-once and is needed for restarting.
900state    real  mp_restart_state   p      misc        1         -      r       "MP_RESTART_STATE"       "STATE VECTOR FOR MICROPHYSICS RESTARTS"
901state    real  tbpvs_state        p      misc        1         -      r        "TBPVS_STATE"           "STATE FOR ETAMPNEW MICROPHYSICS"
902state    real  tbpvs0_state       p      misc        1         -      r        "TBPVS0_STATE"          "STATE FOR ETAMPNEW MICROPHYSICS"
903
904# State variables for landuse_init, Must be declared state because they are read in and needed for restarts. Had been SAVE vars in
905# landuse_init (phys/module_physics_init.F)
906state    integer  landuse_isice   -      misc       -          -     r
907state    integer  landuse_lucats  -      misc       -          -     r
908state    integer  landuse_luseas  -      misc       -          -     r
909state    integer  landuse_isn     -      misc       -          -     r
910state    real     lu_state        p      misc       -          -     r
911
912i1       real  th_phy          ikj      misc        1         -                                         
913i1       real  pi_phy          ikj      misc        1         -                                         
914i1       real  p_phy           ikj      misc        1         -                                         
915i1       real  t_phy           ikj      misc        1         -                                         
916i1       real  u_phy           ikj      misc        1         -                                         
917i1       real  v_phy           ikj      misc        1         -                                         
918i1       real  w_phy           ikj      misc        1         -
919i1       real  dz8w            ikj      misc        1         Z                                         
920i1       real  p8w             ikj      misc        1         Z                                         
921i1       real  t8w             ikj      misc        1         Z                                         
922i1       real  rho_phy         ikj      misc        1         -                                         
923i1    logical  CU_ACT_FLAG     ij       misc        1         -
924
925                                               
926state    real  TMN              ij      misc        1         -     i012rd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TMN"                   "SOIL TEMPERATURE AT LOWER BOUNDARY"           "K"
927state    real  XLAND            ij      misc        1         -     i02rd=(interp_fcnm)u=(copy_fcnm)       "XLAND"                 "LAND MASK (1 FOR LAND, 2 FOR WATER)"          ""     
928state    real  ZNT              ij      misc        1         -      i3r      "ZNT"                   "TIME-VARYING ROUGHNESS LENGTH"                "m"     
929##### LES mettre h pour les deux variables ci-dessous
930state    real  UST              ij      misc        1         -      r        "UST"                   "U* IN SIMILARITY THEORY"                      "m s-1"     
931state    real  USTM             ij      misc        1         -      rh       "USTM"                  "U* IN SIMILARITY THEORY - LES MODE"           "m s-1"     #SAVEMARS2 ustar
932i1       real  HOL              ij      misc        1         -      -        "HOL"                   "PBL HEIGHT OVER MONIN-OBUKHOV LENGTH"         ""
933state    real  RMOL             ij      misc        1         -      r        "RMOL"                   "1./Monin Ob. Length"                      ""
934state    real  MOL              ij      misc        1         -      r        "MOL"                   "T* IN SIMILARITY THEORY"                      "K"     
935state    real  PBLH             ij      misc        1         -      r        "PBLH"                  "PBL HEIGHT"         "m"     
936state    real  CAPG             ij      misc        1         -      r        "CAPG"                  "HEAT CAPACITY FOR SOIL"                       "J K-1 m-3"     
937state    real  THC              ij      misc        1         -      r        "THC"                   "THERMAL INERTIA"                              "Cal cm-1 K-1 s-0.5"     
938state    real  HFX              ij      misc        1         -      rh       "HFX"                   "UPWARD HEAT FLUX AT THE SURFACE"              "W m-2"     #SAVEMARS2 sensheat
939state    real  QFX              ij      misc        1         -      r        "QFX"                   "UPWARD MOISTURE FLUX AT THE SURFACE"          "kg m-2 s-1"     
940state    real  LH               ij      misc        1         -      r        "LH"                    "LATENT HEAT FLUX AT THE SURFACE"              "W m-2"
941state    real  FLHC             ij      misc        1         -      r        "FLHC"                  "SURFACE EXCHANGE COEFFICIENT FOR HEAT"       ""
942state    real  FLQC             ij      misc        1         -      r        "FLQC"                  "SURFACE EXCHANGE COEFFICIENT FOR MOISTURE"   ""
943state    real  QSG              ij      misc        1         -      r        "QSG"                   "SURFACE SATURATION WATER VAPOR MIXING RATIO"   "kg kg-1"
944state    real  QVG              ij      misc        1         -      r        "QVG"                   "WATER VAPOR MIXING RATIO AT THE SURFACE"      "kg kg-1"
945state    real  QCG              ij      misc        1         -      r        "QCG"                   "CLOUD WATER MIXING RATIO AT THE SURFACE"      "kg kg-1"
946state    real  SOILT1           ij      misc        1         -      r        "SOILT1"                "TEMPERATURE INSIDE SNOW "    "K"
947state    real  TSNAV            ij      misc        1         -      r        "TSNAV"                 "AVERAGE SNOW TEMPERATURE "                    "C"
948i1       real  REGIME           ij      misc        1         -                                         
949state    real  SNOWC            ij      misc        1         -     ird=(interp_mask_land_field:lu_index)u=(copy_fcnm)      "SNOWC"                 "FLAG INDICATING SNOW COVERAGE (1 FOR SNOW COVER)"         ""
950state    real  MAVAIL           ij      misc        1         -      r        "MAVAIL"                "SURFACE MOISTURE AVAILABILITY"                ""
951                                               
952state   real   tkesfcf          ij      misc        1         -      r        "tkesfcf"               "TKE AT THE SURFACE"                           "m2 s-2"     
953                                               
954state integer  STEPBL          -        misc        1         -      r        "STEPBL"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN PBL CALLS" ""     
955state    real  taucldi         ikj      misc        1         -      r        "TAUCLDI"               "CLOUD OPTICAL THICKNESS FOR ICE"              ""
956state    real  taucldc         ikj      misc        1         -      r        "TAUCLDC"               "CLOUD OPTICAL THICKNESS FOR WATER"            ""
957                                               
958state   real  defor11          ikj      misc        1         -     r         "defor11"               "DEFORMATION 11"              "s-1"     
959state   real  defor22          ikj      misc        1         -     r         "defor22"               "DEFORMATION 22"              "s-1"     
960state   real  defor12          ikj      misc        1         -     r         "defor12"               "DEFORMATION 12"              "s-1"     
961state   real  defor33          ikj      misc        1         z     r         "defor33"               "DEFORMATION 33"              "s-1"     
962state   real  defor13          ikj      misc        1         z     r         "defor13"               "DEFORMATION 13"              "s-1"     
963state   real  defor23          ikj      misc        1         z     r         "defor23"               "DEFORMATION 23"              "s-1"     
964state   real   xkmv            ikj      misc        1         -     r         "xkmv"                  "VERTICAL EDDY VISCOSITY"     "m2 s-1"     
965state   real   xkmh            ikj      misc        1         -     r         "xkmh"                  "HORIZONTAL EDDY VISCOSITY"   "m2 s-1"     
966state   real   xkmhd           ikj      misc        1         -     r         "xkmhd"                 "HORIZONTAL EDDY DIFFUSIVITY" "m2 s-1"     
967state   real   xkhv            ikj      misc        1         -     r         "xkhv"                  "VERTICAL EDDY DIFFUSIVITY OF HEAT"                               "m2 s-1"     
968state   real   xkhh            ikj      misc        1         -     r         "xkhh"                  "HORIZONTAL EDDY DIFFUSIVITY OF HEAT"                             "m2 s-1"     
969state   real    div            ikj      misc        1         -     r         "div"                   "DIVERGENCE"                                                      "s-1"
970state   real    BN2            ikj      misc        1         -     r         "BN2"                   "BRUNT-VAISALA FREQUENCY"                                         "s-2"
971state  logical warm_rain        -       misc        1         -     -         "warm_rain"              "WARM_RAIN_LOGICAL"
972state  logical adv_moist_cond   -       misc        1         -     -         "adv_moist_cond"         "ADVECT MOIST CONDENSATES LOGICAL"
973
974## FDDA variables
975
976state integer  STEPFG            -        misc        1         -      r        "STEPFG"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN FDDA GRID CALLS" ""
977state    real  RUNDGDTEN         ikj      misc        1         X      r        "RUNDGDTEN"               "COUPLED X WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
978state    real  RVNDGDTEN         ikj      misc        1         Y      r        "RVNDGDTEN"               "COUPLED Y WIND TENDENCY DUE TO FDDA GRID NUDGING"  "Pa m s-2"
979state    real  RTHNDGDTEN        ikj      misc        1         -      r        "RTHNDGDTEN"              "COUPLED THETA TENDENCY DUE TO FDDA GRID NUDGING"   "Pa K s-1"
980state    real  RQVNDGDTEN        ikj      misc        1         -      r        "RQVNDGDTEN"              "COUPLED Q_V TENDENCY DUE TO FDDA GRID NUDGING"     "Pa kg kg-1 s-1"
981state    real  RMUNDGDTEN        ij       misc        1         -      r        "RMUNDGDTEN"              "MU TENDENCY DUE TO FDDA GRID NUDGING"     "Pa s-1"
982state    real    -               ikjf     fdda3d      1         -     -    -
983state    real  U_NDG_NEW         ikjf     fdda3d      1         X      igr      "U_NDG_NEW"               "NEW X WIND FOR FDDA GRID NUDGING"  "m s-1"
984state    real  V_NDG_NEW         ikjf     fdda3d      1         Y      igr      "V_NDG_NEW"               "NEW Y WIND FOR FDDA GRID NUDGING"  "m s-1"
985state    real  T_NDG_NEW         ikjf     fdda3d      1         -      igr      "T_NDG_NEW"               "NEW PERT POT TEMP FOR FDDA GRID NUDGING"  "K"
986state    real  Q_NDG_NEW         ikjf     fdda3d      1         -      igr      "Q_NDG_NEW"               "NEW WATER VAPOR MIX RATIO FOR FDDA GRID NUDGING"  "kg/kg"
987state    real  PH_NDG_NEW        ikjf     fdda3d      1         Z      igr      "PH_NDG_NEW"              "NEW PERT GEOPOTENTIAL FOR FDDA GRID NUDGING"  "kg/kg"
988state    real  U_NDG_OLD         ikjf     fdda3d      1         X      igr      "U_NDG_OLD"               "OLD X WIND FOR FDDA GRID NUDGING"  "m s-1"
989state    real  V_NDG_OLD         ikjf     fdda3d      1         Y      igr      "V_NDG_OLD"               "OLD Y WIND FOR FDDA GRID NUDGING"  "m s-1"
990state    real  T_NDG_OLD         ikjf     fdda3d      1         -      igr      "T_NDG_OLD"               "OLD PERT POT TEMP FOR FDDA GRID NUDGING"  "K"
991state    real  Q_NDG_OLD         ikjf     fdda3d      1         -      igr      "Q_NDG_OLD"               "OLD WATER VAPOR MIX RATIO FOR FDDA GRID NUDGING"  "kg/kg"
992state    real  PH_NDG_OLD        ikjf     fdda3d      1         Z      igr      "PH_NDG_OLD"              "OLD PERT GEOPOTENTIAL FOR FDDA GRID NUDGING"  "kg/kg"
993state    real    -               ivjf     fdda2d      1         Z     -    -
994state    real  MU_NDG_NEW        ivjf     fdda2d      1         Z      igr      "MU_NDG_NEW"              "NEW PERT COLUMN DRY MASS FOR FDDA GRID NUDGING"  "Pa"
995state    real  MU_NDG_OLD        ivjf     fdda2d      1         Z      igr      "MU_NDG_OLD"              "OLD PERT COLUMN DRY MASS FOR FDDA GRID NUDGING"  "Pa"
996
997
998# flag for nest movement
999state  logical moved            -       misc        1         -     -         
1000
1001# special cam radiation restart arrays
1002state  real   abstot   ikcj   misc      1    Z   -     ""   ""  " "
1003state  real   absnxt   ikaj   misc      1    -   -     ""   ""  " "
1004state  real   emstot   ikj    misc      1    Z   -     ""   ""  " "
1005
1006# model diagnostics
1007state   real  dpsdt            ij       misc        1         -     -         "dpsdt"           "surface pressure tendency"                         "Pa/sec"
1008state   real  dmudt            ij       misc        1         -     -         "dmudt"           "mu tendency"                                       "Pa/sec"
1009state   real  pk1m             ij       misc        1         -     -         "pk1m"            "surface pressure at previous step"                 "Pa"
1010state   real  mu_2m            ij       misc        1         -     -         "mu_2m"           "mu_2 at previous step"                             "Pa"
1011
1012#
1013#---------------------------------------------------------------------------------------------------------------------------------------
1014#                                               
1015
1016######                                         
1017#                                               
1018# Variables that are set at run-time to control configuration  (namelist-settable)                                             
1019#                                               
1020#<Table>  <Type>  <Sym>                   <How set>          <Nentries>   <Default>                                             
1021
1022
1023# Time Control
1024rconfig   integer run_days                namelist,time_control         1             0       irh   "run_days"              "NUMBER OF DAYS TO RUN"
1025rconfig   integer run_hours               namelist,time_control         1             0       irh   "run_hours"             "NUMBER OF HOURS TO RUN"
1026rconfig   integer run_minutes             namelist,time_control         1             0       irh   "run_minutes"           "NUMBER OF MINUTES TO RUN"
1027rconfig   integer run_seconds             namelist,time_control         1             0       irh   "run_seconds"           "NUMBER OF SECONDS TO RUN"
1028rconfig   integer start_year              namelist,time_control         max_domains    1999    irh   "start_year"            "4 DIGIT YEAR OF START OF MODEL" "YEARS"
1029rconfig   integer start_month             namelist,time_control         max_domains      09    irh   "start_month"           "2 DIGIT MONTH OF THE YEAR OF START OF MODEL, 1-12" "MONTHS"
1030rconfig   integer start_day               namelist,time_control         max_domains      09    irh   "start_day"             "2 DIGIT DAY OF THE MONTH OF START OF MODEL, 1-31" "DAYS"
1031rconfig   integer start_hour              namelist,time_control         max_domains      09    irh   "start_hour"            "2 DIGIT HOUR OF THE DAY OF START OF MODEL, 0-23" "HOURS"
1032rconfig   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"
1033rconfig   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"
1034rconfig   integer end_year                namelist,time_control         max_domains    1999    irh   "end_year"              "4 DIGIT YEAR OF END OF MODEL" "YEARS"
1035rconfig   integer end_month               namelist,time_control         max_domains      09    irh   "end_month"             "2 DIGIT MONTH OF THE YEAR OF END OF MODEL, 1-12" "MONTHS"
1036rconfig   integer end_day                 namelist,time_control         max_domains      09    irh   "end_day"               "2 DIGIT DAY OF THE MONTH OF END OF MODEL, 1-31" "DAYS"
1037rconfig   integer end_hour                namelist,time_control         max_domains      19    irh   "end_hour"              "2 DIGIT HOUR OF THE DAY OF END OF MODEL, 0-23" "HOURS"
1038rconfig   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"
1039rconfig   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"
1040rconfig   integer interval_seconds        namelist,time_control         1              3700    irh   "interval_seconds"      "SECONDS BETWEEN ANALYSIS AND BOUNDARY PERIODS" "SECONDS"
1041rconfig   logical input_from_file         namelist,time_control         max_domains    .true.  irh    "input_from_file"      "T/F INPUT FOR THIS DOMAIN FROM A SEPARATE INPUT FILE"  ""
1042rconfig   integer fine_input_stream       namelist,time_control         max_domains    0       irh    "fine_input_stream"      "0 THROUGH 5, WHAT INPUT STREAM IS FINE GRID IC FROM"  ""
1043rconfig   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"  ""
1044rconfig   character rsmas_data_path       namelist,time_control         1              "."     -    "rsmas_data_path"      ""  ""
1045
1046include registry.io_boilerplate
1047
1048rconfig   integer JULYR                   namelist,time_control         max_domains    0       h    "JULYR"                 ""      ""
1049rconfig   integer JULDAY                  namelist,time_control         max_domains    1       h    "JULDAY"                ""      ""
1050rconfig   real    GMT                     namelist,time_control         max_domains    0.      h    "GMT"           ""      ""
1051rconfig   character  input_inname      namelist,time_control            1  "wrfinput_d<domain>"          -     "name of input   infile"   ""      ""
1052rconfig   character  input_outname     namelist,time_control            1  "wrfinput_d<domain>"          -     "name of input   outfile"  ""      ""
1053rconfig   character  bdy_inname        namelist,time_control            1  "wrfbdy_d<domain>"            -     "name of boundary infile"  ""      ""
1054rconfig   character  bdy_outname       namelist,time_control            1  "wrfbdy_d<domain>"            -     "name of boundary outfile" ""      ""
1055rconfig   character  rst_inname        namelist,time_control            1  "wrfrst_d<domain>_<date>"     -     "name of restrt infile"    ""      ""
1056rconfig   character  rst_outname       namelist,time_control            1  "wrfrst_d<domain>_<date>"     -     "name of restrt outfile"   ""      ""
1057rconfig   logical write_input             namelist,time_control         1             .false. -    "write input data for 3dvar etc."              ""      ""
1058rconfig   logical write_restart_at_0h     namelist,time_control         1             .false. h    "write_restart_at_0h"              ""      ""
1059rconfig   logical adjust_output_times     namelist,time_control         1             .false. -    "adjust_output_times"
1060rconfig   logical adjust_input_times      namelist,time_control         1             .false. -    "adjust_input_times"
1061
1062rconfig   integer diag_print              namelist,time_control         1              0      -    "print out time series of model diagnostics"
1063rconfig   logical nocolons                namelist,time_control         1             .false. -    "nocolons"
1064
1065# Domains
1066rconfig   integer time_step               namelist,domains      1             -       ih   "time_step"     
1067rconfig   integer time_step_fract_num     namelist,domains      1             0       ih   "time_step_fract_num"     
1068rconfig   integer time_step_fract_den     namelist,domains      1             1       ih   "time_step_fract_den"     
1069rconfig   integer max_dom                 namelist,domains      1             1       irh  "max_dom"               ""      ""
1070rconfig   integer s_we                    namelist,domains      max_domains    1       irh    "s_we"          ""      ""
1071rconfig   integer e_we                    namelist,domains      max_domains    101     irh    "e_we"          ""      ""
1072rconfig   integer s_sn                    namelist,domains      max_domains    1       irh    "s_sn"          ""      ""
1073rconfig   integer e_sn                    namelist,domains      max_domains    101     irh    "e_sn"          ""      ""
1074rconfig   integer s_vert                  namelist,domains      max_domains    1       irh    "s_vert"                ""      ""
1075rconfig   integer e_vert                  namelist,domains      max_domains    51      irh    "e_vert"                ""      ""
1076rconfig   integer num_metgrid_levels      namelist,domains      1              26      irh    "num_metgrid_levels"                ""      ""
1077rconfig   real    p_top_requested         namelist,domains      1              2       irh    "p_top_requested" "Pa"      ""
1078rconfig   integer interp_type             namelist,domains      1              2       irh    "interp_type"  "1=interp in pressure, 2=interp in LOG pressure"      ""
1079rconfig   logical lowest_lev_from_sfc     namelist,domains      1             .false.  irh    "lowest_lev_from_sfc"                ""      ""
1080rconfig   integer lagrange_order          namelist,domains      1              1       irh    "lagrange_order"   "1=linear, 2=quadratic vertical interpolation"      ""
1081rconfig   integer force_sfc_in_vinterp    namelist,domains      1              8       irh    "force_sfc_in_vinterp"   "number of eta levels forced to use sfc in vert interp"      ""
1082rconfig   real    zap_close_levels        namelist,domains      1              0       irh    "zap_close_levels"   "delta p where level is removed in vert interp"      "Pa"
1083rconfig   logical sfcp_to_sfcp            namelist,domains      1              .true.  irh    "sfcp_to_sfcp"   "T/F use incoming sfc pres to compute new sfc pres"      "flag"
1084rconfig   logical adjust_heights          namelist,domains      1              .false. irh    "adjust_heights"   "T/F adjust pressure level input to match 500 mb height"      "flag"
1085rconfig   real    dx                      namelist,domains      max_domains   5000     h     "dx"        "X HORIZONTAL RESOLUTION"   "METERS"
1086rconfig   real    dy                      namelist,domains      max_domains   5000     h     "dy"        "Y HORIZONTAL RESOLUTION"   "METERS"
1087rconfig   integer grid_id                 namelist,domains      max_domains    1       irh    "id"            ""      ""
1088rconfig   integer parent_id               namelist,domains      max_domains    0       h     "parent_id"             ""      ""
1089rconfig   integer i_parent_start          namelist,domains      max_domains    0       rh    "i_parent_start"                ""      ""
1090rconfig   integer j_parent_start          namelist,domains      max_domains    0       rh    "j_parent_start"                ""      ""
1091rconfig   integer parent_grid_ratio       namelist,domains      max_domains    1       h     "parent_grid_ratio"             ""      ""
1092rconfig   integer parent_time_step_ratio  namelist,domains      max_domains    1       h     "parent_time_step_ratio"                ""      ""
1093rconfig   integer feedback                namelist,domains      1    0       h     "feedback"          ""      ""
1094rconfig   integer smooth_option           namelist,domains      1    2       h     "smooth_option"          ""      ""
1095rconfig   integer blend_width             namelist,domains      1    5       h     "blend_width"  "width of cg fg terrain blended zone"      ""
1096rconfig   real    ztop                    namelist,domains      max_domains    35000.  h    "ztop"          ""      ""
1097rconfig   integer moad_grid_ratio         namelist,domains      max_domains    1       h     "moad_grid_ratio"               ""      ""
1098rconfig   integer moad_time_step_ratio    namelist,domains      max_domains    1       h     "moad_time_step_ratio"          ""      ""
1099rconfig   integer shw                     namelist,domains      max_domains    2       h     "stencil_half_width"   "HORIZONTAL INTERPOLATION STENCIL HALF-WIDTH"  "GRID POINTS"
1100rconfig   integer tile_sz_x               namelist,domains      1             0       -      "tile_sz_x"             ""      ""
1101rconfig   integer tile_sz_y               namelist,domains      1             0       -      "tile_sz_y"             ""      ""
1102rconfig   integer numtiles                namelist,domains      1             1       -      "numtiles"              ""      ""
1103rconfig   integer nproc_x                 namelist,domains      1             -1       -      "nproc_x"              "-1 means not set"      ""
1104rconfig   integer nproc_y                 namelist,domains      1             -1       -      "nproc_y"              "-1 means not set"      ""
1105rconfig   integer irand                   namelist,domains      1             0       -      "irand"           ""      ""
1106rconfig   real    dt                      derived              max_domains    2.      h     "dt"        "TEMPORAL RESOLUTION"      "SECONDS"
1107rconfig   integer   num_moves       namelist,domains    1                0
1108rconfig   integer   vortex_interval  namelist,domains   max_domains      15  -  "" "" "minutes"
1109rconfig   integer   max_vortex_speed namelist,domains   max_domains      40  -  "" "" "meters per second"
1110rconfig   integer   corral_dist     namelist,domains    max_domains      8
1111rconfig   integer   move_id         namelist,domains    max_moves        0
1112rconfig   integer   move_interval   namelist,domains    max_moves        999999999
1113rconfig   integer   move_cd_x       namelist,domains    max_moves        0
1114rconfig   integer   move_cd_y       namelist,domains    max_moves        0
1115rconfig   logical   swap_x          namelist,domains    max_domains    .false. rh    "swap_x"            ""      ""
1116rconfig   logical   swap_y          namelist,domains    max_domains    .false. rh    "swap_y"            ""      ""
1117rconfig   logical   cycle_x         namelist,domains    max_domains    .false. rh    "cycle_x"            ""      ""
1118rconfig   logical   cycle_y         namelist,domains    max_domains    .false. rh    "cycle_y"            ""      ""
1119rconfig   logical   reorder_mesh    namelist,domains    1              .false. rh    "reorder_mesh"       ""      ""
1120rconfig   logical   perturb_input   namelist,domains    1              .false. h     "" "" ""
1121rconfig   real      eta_levels      namelist,domains    max_eta        -1.
1122rconfig   real      max_dz          namelist,domains    1               1500.
1123
1124# Physics
1125#######
1126####### MARS SPECIFIC NAMELIST ENTRIES
1127#######
1128rconfig  integer  mars      namelist,physics  max_domains  0        rh   "mars"      "model mode"              ""
1129rconfig  real     init_TI   namelist,physics  max_domains  0        irh  "init_TI"   "thermal inertia"         ""
1130rconfig  real     init_AL   namelist,physics  max_domains  0        irh  "init_AL"   "albedo"                  ""
1131rconfig  real     init_Z0   namelist,physics  max_domains  0        irh  "init_Z0"   "surface roughness"       ""
1132rconfig  real     init_U    namelist,physics  max_domains  0        irh  "init_U"    "zonal wind"              ""
1133rconfig  real     init_V    namelist,physics  max_domains  0        irh  "init_V"    "meridional wind"         ""
1134rconfig  integer  init_WX   namelist,physics  max_domains  0        irh  "init_WX"   "x coord"                 ""
1135rconfig  integer  init_WY   namelist,physics  max_domains  0        irh  "init_WY"   "y coord"                 ""
1136rconfig  real     init_MU   namelist,physics  max_domains  0        irh  "init_MU"   "zonal wind mult."        ""
1137rconfig  real     init_MV   namelist,physics  max_domains  0        irh  "init_MV"   "meridional wind mult."   ""
1138rconfig  logical  init_LES  namelist,physics  max_domains  .false.  irh  "init_LES"  "LES mode"                ""
1139rconfig  logical  modif_wrf namelist,physics  max_domains  .true.   ir   "modif_wrf" "true if tweaked WRF"     ""
1140#######
1141####### MARS SPECIFIC NAMELIST ENTRIES
1142#######
1143rconfig   integer     mp_physics          namelist,physics      max_domains    0       rh       "mp_physics"            ""      ""
1144rconfig   integer     ra_lw_physics       namelist,physics      max_domains    0       rh       "ra_lw_physics"         ""      ""
1145rconfig   integer     ra_sw_physics       namelist,physics      max_domains    0       rh       "ra_sw_physics"         ""      ""
1146rconfig   real    radt                    namelist,physics      max_domains    1       h    "RADT"          ""      ""
1147rconfig   integer     sf_sfclay_physics   namelist,physics      max_domains    0       rh       "sf_sfclay_physics"             ""      ""
1148rconfig   integer     sf_surface_physics  namelist,physics      max_domains    0       rh       "sf_surface_physics"            ""      ""
1149rconfig   integer     bl_pbl_physics      namelist,physics      max_domains    0       rh       "bl_pbl_physics"                ""      ""
1150rconfig   real    BLDT                    namelist,physics      max_domains    0       h    "BLDT"          ""      ""
1151rconfig   integer     cu_physics          namelist,physics      max_domains    0       rh       "cu_physics"            ""      ""
1152rconfig   real    CUDT                    namelist,physics      max_domains    100000   h    "CUDT"          ""      ""
1153rconfig   real    GSMDT                   namelist,physics      max_domains    0       h    "GSMDT"          ""      ""
1154rconfig   integer ISFFLX                  namelist,physics      1             1       irh    "ISFFLX"                        ""      ""
1155rconfig   integer IFSNOW                  namelist,physics      1             0       irh    "IFSNOW"                        ""      ""
1156rconfig   integer ICLOUD                  namelist,physics      1             1       irh    "ICLOUD"                        ""      ""
1157rconfig   real    swrad_scat              namelist,physics      1             1       irh    "SWRAD_SCAT" "SCATTERING FACTOR IN SWRAD"      ""
1158rconfig   integer surface_input_source    namelist,physics      1             1       irh    "surface_input_source"          "1=static (fractional), 2=time dependent (dominant), 3=hybrid (not yet implemented)"      ""
1159rconfig   integer num_soil_layers         namelist,physics      1            10       irh    "num_soil_layers"               ""      ""
1160rconfig   integer num_months              namelist,physics      1            12       irh    "num_months"               ""      ""
1161rconfig   integer maxiens                 namelist,physics      1             1       irh    "maxiens"                    ""      ""
1162rconfig   integer maxens                  namelist,physics      1             3       irh    "maxens"                    ""      ""
1163rconfig   integer maxens2                 namelist,physics      1             3       irh    "maxens2"                    ""      ""
1164rconfig   integer maxens3                 namelist,physics      1            16       irh    "maxens3"                    ""      ""
1165rconfig   integer ensdim                  namelist,physics      1            144      irh    "ensdim"                    ""      ""
1166rconfig   integer     chem_opt            namelist,physics      max_domains    0       rh       "chem_opt"              ""      ""
1167rconfig   integer num_land_cat            namelist,physics      1            24       -      "num_land_cat"                  ""      ""
1168rconfig   integer num_soil_cat            namelist,physics      1            16       -      "num_soil_cat"                  ""      ""
1169rconfig   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"
1170rconfig   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"
1171rconfig   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"
1172rconfig   integer sst_update              namelist,physics      1            0         h    "sst_update"  "update sst from wrflowinp file  0=no, 1=yes"   ""
1173rconfig   integer ucmcall                 namelist,physics      1            0         h    "ucmcall"     "activate urban model  0=no, 1=yes"   ""
1174rconfig   integer co2tf                   namelist,physics      1            0         -    "co2tf" "GFDL radiation co2 flag" ""
1175rconfig   integer ra_call_offset          namelist,physics      1            0         -    "ra_call_offset" "radiation call offset in timesteps (-1=old, 0=new offset)" ""
1176rconfig   real    cam_abs_freq_s          namelist,physics      1         21600.      -      "cam_abs_freq_s" "CAM radiation frequency for clear-sky longwave calculations" "s"
1177rconfig   integer levsiz                  namelist,physics      1             1       -      "levsiz" "Number of ozone data levels for CAM radiation (59)"  ""
1178rconfig   integer paerlev                 namelist,physics      1             1       -      "paerlev" "Number of aerosol data levels for CAM radiation (29)"  ""
1179rconfig   integer cam_abs_dim1            namelist,physics      1             1       -      "cam_abs_dim1" "dimension for absnxt in CAM radiation"  ""
1180rconfig   integer cam_abs_dim2            namelist,physics      1             1       -      "cam_abs_dim2" "dimension for abstot in CAM radiation"  ""
1181rconfig   logical cu_rad_feedback             namelist.physics      max_domains   .false.  -     "feedback cumulus to radiation"
1182
1183#FDDA namelist parameters
1184rconfig   real    FGDT                    namelist,fdda         max_domains    0       h        "FGDT"          ""      ""
1185rconfig   integer  grid_fdda              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1186rconfig   integer  if_no_pbl_nudging_uv   namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1187rconfig   integer  if_no_pbl_nudging_t    namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1188rconfig   integer  if_no_pbl_nudging_q    namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1189rconfig   integer  if_zfac_uv             namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1190rconfig   integer   k_zfac_uv             namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1191rconfig   integer  if_zfac_t              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1192rconfig   integer   k_zfac_t              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1193rconfig   integer  if_zfac_q              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1194rconfig   integer   k_zfac_q              namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1195rconfig   real        guv                 namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1196rconfig   real        gt                  namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1197rconfig   real        gq                  namelist,fdda         max_domains    0       rh       "grid_fdda"            ""      ""
1198rconfig   real    dtramp_min              namelist,fdda         1              0       h        "grid_fdda"            ""      ""
1199rconfig   integer if_ramping              namelist,fdda         1              0       h        "grid_fdda"            ""      ""
1200
1201#Observational Nudging
1202rconfig   integer     obs_nudge_opt       namelist,fdda            max_domains    0       rh       "obs_nudge_opt"     "Obs-nudging flag for domain"          ""
1203rconfig   integer     max_obs             namelist,fdda            1              0       h        "max_obs"           "Maximum number of observations"       ""
1204rconfig   integer     nobs_ndg_vars       namelist,fdda            1              0       h        "num_ndg_vars"      "Number of nudging variables"          ""
1205rconfig   integer     nobs_err_flds       namelist,fdda            1              0       h        "num_err_flds"      "Number of error fields"               ""
1206rconfig   real        fdda_start          namelist,fdda            max_domains    0       rh       "fdda_start"        "Nudging start time for domain"        "min"
1207rconfig   real        fdda_end            namelist,fdda            max_domains    0       rh       "fdda_end"          "Nudging end time for domain"          "min"
1208rconfig   integer     obs_nudge_wind      namelist,fdda            max_domains    0       rh       "obs_nudge_wind"    "Wind-nudging flag for domain"         ""
1209rconfig   real        obs_coef_wind       namelist,fdda            max_domains    0       rh       "obs_coef_wind"     "Wind-nudging coeficient for domain"   "s-1"
1210rconfig   integer     obs_nudge_temp      namelist,fdda            max_domains    0       rh       "obs_nudge_temp"    "Temperature-nudging flag for domain"  ""
1211rconfig   real        obs_coef_temp       namelist,fdda            max_domains    0       rh       "obs_coef_temp"     "Temperature-nudging coef for domain"  "s-1"
1212rconfig   integer     obs_nudge_mois      namelist,fdda            max_domains    0       rh       "obs_nudge_mois"    "Moisture-nudging flag for domain"     ""
1213rconfig   real        obs_coef_mois       namelist,fdda            max_domains    0       rh       "obs_coef_mois"     "Moisture-nudging coef for domain"     "s-1"
1214rconfig   integer     obs_nudge_pstr      namelist,fdda            max_domains    0       rh       "obs_nudge_pstr"    "Not used"                             ""
1215rconfig   real        obs_coef_pstr       namelist,fdda            max_domains    0       rh       "obs_coef_pstr"     "Not used"                             ""
1216rconfig   real        obs_rinxy           namelist,fdda            max_domains    0       rh       "obs_rinxy"         "Horizontal radius of influence"       "km"
1217rconfig   real        obs_rinsig          namelist,fdda            1              0       h        "obs_rinsig"        "Vertical radius of influence"         "sigma"
1218rconfig   real        obs_twindo          namelist,fdda            1              0       h        "obs_twindo"        "Half-period time window for nudging"  "min"
1219rconfig   integer     obs_npfi            namelist,fdda            1              0       h        "obs_npfi"          "Freq in cg timesteps for diag print"  ""
1220rconfig   integer     obs_ionf            namelist,fdda            1              0       h        "obs_ionf"          "Freq in cg timesteps for obs input and error calc"   ""
1221rconfig   integer     obs_idynin          namelist,fdda            1              0       h        "obs_idynin"        "Flag for dynamic initialization"      ""
1222rconfig   real        obs_dtramp          namelist,fdda            1              0       h        "obs_dtramp"        "Time period for ramping (idynin)"     "min"
1223rconfig   logical     obs_ipf_in4dob      namelist,fdda            1              .false. h        "obs_ipf_in4dob"    "Print obs input diagnostics"   "min"
1224rconfig   logical     obs_ipf_errob       namelist,fdda            1              .false. h        "obs_ipf_errob"     "Print obs error diagnostics"   "min"
1225rconfig   logical     obs_ipf_nudob       namelist,fdda            1              .false. h        "obs_ipf_nudob"     "Print obs nudge diagnostics"   "min"
1226
1227# Dynamics
1228# dynamics option (see package definitions, below)
1229rconfig   integer dyn_opt                 namelist,dynamics     1             2       irh   "dyn_opt"               ""      ""
1230rconfig   integer rk_ord                  namelist,dynamics     1             3       irh   "rk_order"               ""      ""
1231rconfig   integer w_damping               namelist,dynamics     1             0       irh   "w_damping"             ""      ""
1232# diff_opt 1=old diffusion, 2=new
1233rconfig   integer diff_opt                namelist,dynamics     1             1       irh   "diff_opt"              ""      ""
1234# km_opt   1=old coefs, 2=tke, 3=Smagorinksy
1235rconfig   integer km_opt                  namelist,dynamics     1             4       irh   "km_opt"                ""      ""
1236rconfig   integer damp_opt                namelist,dynamics     1             0       irh   "damp_opt"              ""      ""
1237rconfig   real    zdamp                   namelist,dynamics     max_domains    5000.   h    "zdamp"         ""      ""
1238rconfig   real    dampcoef                namelist,dynamics     max_domains    0.05    h    "dampcoef"              ""      ""
1239rconfig   real    khdif                   namelist,dynamics     max_domains    0       h    "khdif"         ""      ""
1240rconfig   real    kvdif                   namelist,dynamics     max_domains    0       h    "kvdif"         ""      ""
1241rconfig   real    diff_6th_factor         namelist,dynamics     max_domains    0.2     h    "diff_6th_factor" "factor that controls rate of 6th-order numerical diffusion"
1242rconfig   integer diff_6th_opt            namelist,dynamics     max_domains    2      irh   "diff_6th_opt" "switch for 6th-order numerical diffusion"
1243rconfig   real    smdiv                   namelist,dynamics     max_domains    0.1     h    "smdiv"         ""      ""
1244rconfig   real    emdiv                   namelist,dynamics     max_domains    0.01    h    "emdiv"         ""      ""
1245rconfig   real    epssm                   namelist,dynamics     max_domains    0.1     h    "epssm"         ""      ""
1246rconfig   logical non_hydrostatic         namelist,dynamics     max_domains  .true.   irh   "non_hydrostatic"    ""   ""
1247rconfig   integer time_step_sound         namelist,dynamics     max_domains    6       h    "time_step_sound"               ""      ""
1248rconfig   integer     h_mom_adv_order     namelist,dynamics     max_domains    5       rh       "h_mom_adv_order"               ""      ""
1249rconfig   integer     v_mom_adv_order     namelist,dynamics     max_domains    3       rh       "v_mom_adv_order"               ""      ""
1250rconfig   integer     h_sca_adv_order     namelist,dynamics     max_domains    5       rh       "h_sca_adv_order"               ""      ""
1251rconfig   integer     v_sca_adv_order     namelist,dynamics     max_domains    3       rh       "v_sca_adv_order"               ""      ""
1252rconfig   logical     pd_moist            namelist,dynamics     max_domains    .false.  rh    "pd_moist"         "positive-definite RK3 transport switch"      ""
1253rconfig   logical     pd_chem             namelist,dynamics     max_domains    .false. rh    "pd_chem"          "positive-definite RK3 transport switch"      ""
1254rconfig   logical     pd_scalar           namelist,dynamics     max_domains    .true.  rh    "pd_scalar"        "positive-definite RK3 transport switch"      ""
1255#rconfig   logical     pd_scalar           namelist,dynamics     max_domains    .false. rh    "pd_scalar"        "positive-definite RK3 transport switch"      ""
1256rconfig   logical     pd_tke              namelist,dynamics     max_domains    .false. rh    "pd_tke"           "positive-definite RK3 transport switch"      ""
1257rconfig   logical top_radiation           namelist,dynamics     max_domains    .false. rh    "top_radiation"         ""      ""
1258rconfig   real    mix_cr_len              namelist,dynamics     max_domains    200.    h    "mix_cr_len"            ""      ""
1259rconfig   real    tke_upper_bound         namelist,dynamics     max_domains    1000.   h    "tke_upper_bound"            ""      ""
1260rconfig   real    kh_tke_upper_bound      namelist,dynamics     max_domains    1000.   h    "kh_tke_upper_bound"         ""      ""
1261rconfig   real    kv_tke_upper_bound      namelist,dynamics     max_domains    1000.   h    "kv_tke_upper_bound"         ""      ""
1262rconfig   real    tke_drag_coefficient    namelist,dynamics     max_domains    0.      h    "tke_drag_coefficient"       ""      "dimensionless"
1263rconfig   real    tke_heat_flux           namelist,dynamics     max_domains    0.      h    "tke_heat_flux"              ""      "K m s-1"
1264rconfig   logical pert_coriolis           namelist,dynamics     max_domains  .false.  irh  "pert_coriolis"    ""   ""
1265rconfig   logical mix_full_fields         namelist,dynamics     max_domains  .false.  irh  "mix_full_field"   ""   ""
1266rconfig   real    base_pres               namelist,dynamics     1             610.     h    "base_pres"  "Mars Base state pressure, real only"      "Pa"
1267rconfig   real    base_temp               namelist,dynamics     1             220.     h    "base_temp"  "Mars Base state sea level temperature, real only"      "K"
1268rconfig   real    base_lapse              namelist,dynamics     1              30.     h    "base_lapse" "Mars Base state temperature difference between base pres and 1/e of atm depth - do not change, real only"      "K"
1269rconfig   real    tiso                    namelist,dynamics     1             140.     h    "tiso"    "Mars isothermal value for high alt, real only"  "K"
1270
1271# Bdy_control
1272rconfig   integer spec_bdy_width          namelist,bdy_control          1             5       irh    "spec_bdy_width"                ""      ""
1273rconfig   integer spec_zone               namelist,bdy_control          1             1       irh    "spec_zone"                     ""      ""
1274rconfig   integer relax_zone              namelist,bdy_control          1             4       irh    "relax_zone"                    ""      ""
1275rconfig   logical specified               namelist,bdy_control  max_domains    .true.  rh    "specified"             ""      ""
1276rconfig   logical periodic_x              namelist,bdy_control  max_domains    .false. rh    "periodic_x"            ""      ""
1277rconfig   logical symmetric_xs            namelist,bdy_control  max_domains    .false. rh    "symmetric_xs"          ""      ""
1278rconfig   logical symmetric_xe            namelist,bdy_control  max_domains    .false. rh    "symmetric_xe"          ""      ""
1279rconfig   logical open_xs                 namelist,bdy_control  max_domains    .false. rh    "open_xs"               ""      ""
1280rconfig   logical open_xe                 namelist,bdy_control  max_domains    .false. rh    "open_xe"               ""      ""
1281rconfig   logical periodic_y              namelist,bdy_control  max_domains    .false. rh    "periodic_y"            ""      ""
1282rconfig   logical symmetric_ys            namelist,bdy_control  max_domains    .false. rh    "symmetric_ys"          ""      ""
1283rconfig   logical symmetric_ye            namelist,bdy_control  max_domains    .false. rh    "symmetric_ye"          ""      ""
1284rconfig   logical open_ys                 namelist,bdy_control  max_domains    .false. rh    "open_ys"               ""      ""
1285rconfig   logical open_ye                 namelist,bdy_control  max_domains    .false. rh    "open_ye"               ""      ""
1286rconfig   logical nested                  namelist,bdy_control  max_domains    .false. rh    "nested"                ""      ""
1287rconfig   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"
1288
1289rconfig   integer background_proc_id      namelist,grib2                1     255    rh    "background_proc_id"    "Background processing id for grib2"  ""
1290rconfig   integer forecast_proc_id        namelist,grib2                1     255    rh    "forecast_proc_id"      "Analysis and forecast processing id for grib2"  ""
1291rconfig   integer production_status       namelist,grib2                1     255    rh    "production_status"     "Background processing id for grib2"  ""
1292rconfig   integer compression             namelist,grib2                1      40    rh    "compression"           "grib2 compression, 40 for JPEG2000 or 41 for PNG"  ""
1293
1294# NAMELIST DERIVED
1295rconfig   real    cen_lat                 derived                  max_domains    0       -        "cen_lat"              "center latitude"      "degrees, negative is south"
1296rconfig   real    cen_lon                 derived                  max_domains    0       -        "cen_lon"              "central longitude"      "degrees, negative is west"
1297rconfig   real    truelat1                derived                  max_domains    0       -        "true_lat1"             "first standard parallel"      "degrees, negative is south"
1298rconfig   real    truelat2                derived                  max_domains    0       -        "true_lat2"             "second standard parallel"      "degrees, negative is south"
1299rconfig   real    moad_cen_lat            derived                  max_domains    0       -        "moad_cen_lat"             "center latitude of the most coarse grid"      "degrees, negative is south"
1300rconfig   real    stand_lon               derived                  max_domains    0       -        "stand_lon"             "standard longitude, parallel to j-direction, perpendicular to i-direction "      "degrees, negative is west"
1301rconfig   real    bdyfrq                  derived                  max_domains    0       -        "bdyfrq"               "lateral boundary input frequency"      "seconds"
1302rconfig   integer iswater                 derived                  max_domains    0       -        "iswater"              "land use index of water"      "index category"
1303rconfig   integer isice                   derived                  max_domains    0       -        "isice"                "land use index of ice"        "index category"
1304rconfig   integer isurban                 derived                  max_domains    0       -        "isurban"              "land use index for 'urban and built-up"     "index category"
1305rconfig   integer isoilwater              derived                  max_domains    0       -        "isoilwater"           "land use index of water for soil"        "index category"
1306rconfig   integer map_proj                derived                  max_domains    0       -        "map_proj"             "domain map projection"      "0=none, 1=Lambert, 2=polar, 3=Mercator"
1307rconfig   integer simulation_start_year   derived                  1              0       -        "simulation_start_year" "start of simulation through restarts" "4-digit year"
1308rconfig   integer simulation_start_month  derived                  1              0       -        "simulation_start_month" "start of simulation through restarts" "2-digit month"
1309rconfig   integer simulation_start_day    derived                  1              0       -        "simulation_start_day" "start of simulation through restarts" "2-digit day"
1310rconfig   integer simulation_start_hour   derived                  1              0       -        "simulation_start_hour" "start of simulation through restarts" "2-digit hour"
1311rconfig   integer simulation_start_minute derived                  1              0       -        "simulation_start_minute" "start of simulation through restarts" "2-digit minute"
1312rconfig   integer simulation_start_second derived                  1              0       -        "simulation_start_second" "start of simulation through restarts" "2-digit second"
1313
1314#
1315# Single dummy declaration to define a nodyn dyn option
1316state integer nodyn_dummy - dyn_nodyn -  -  -  "" "" ""     
1317
1318#
1319#---------------------------------------------------------------------------------------------------------------------------------------
1320# Package Declarations
1321#                                               
1322
1323#key      package       associated                package          associated 4d scalars
1324#         name          namelist choice           state vars
1325
1326package   dyn_nodyn    dyn_opt==0                   -             -
1327package   dyn_em       dyn_opt==2                   -             -
1328#package   passivec1     chem_opt==0                  -             
1329
1330
1331##### MARS OPTIONS
1332##### MARS OPTIONS
1333##### MARS OPTIONS
1334##
1335## CHANGING THE OPTION CHANGES TRACER REFERENCES WITHOUT ANY NEED TO RECOMPILE ENTIRELY LMD_MM
1336## --> EVEN IF FIELDS ARE SCHEDULED FOR OUTPUTS ABOVE [WITH h], THESE ARE NOT IN wrfout* FILES
1337##       UNLESS THE CORRESPONDING mars OPTION IS SELECTED
1338## --> HOWEVER, YOU STILL NEED TO RECOMPILE THE PHYSICS BEFORE CHANGING THE OPTION
1339##       AND PROBABLY YOU'LL ALSO HAVE TO CHANGE callphys.def
1340## --> IF mars IS CHANGED IN THE NAMELIST, YOU HAVE TO RE-RUN real.exe
1341##
1342## IF YOU ADD A mars REFERENCE BELOW, YOU HAVE TO RECOMPILE ENTIRELY THE MODEL
1343##
1344## THE ORDER of TRACERS IN EACH OPTION IS VERY IMPORTANT
1345##
1346package   default      mars==0                      -              -
1347package   water        mars==1                      -              scalar:qh2o,qh2o_ice
1348package   dust1        mars==2                      -              scalar:qdust
1349package   dust2eq      mars==3                      -              scalar:qdust,qdustn
1350package   newbasis     mars==10                     -              scalar:qco2
1351package   newwater     mars==11                     -              scalar:qh2o,qh2o_ice,qdust,qdustn
1352package   newwatersca  mars==12                     -              scalar:qh2o,qh2o_ice,qdust,qdustn,qccn,qccnn
1353package   photochem    mars==42                     -              scalar:qco2,chem_co,chem_o,chem_o1d,chem_o2,chem_o3,chem_h,chem_h2,chem_oh,chem_ho2,chem_h2o2,chem_ch4,chem_n2,chem_ar,qh2o_ice,qh2o,qdust,qdustn
1354##### MARS OPTIONS
1355##### MARS OPTIONS
1356##### MARS OPTIONS
1357
1358
1359package   kesslerscheme mp_physics==1                -             moist:qv,qc,qr
1360package   linscheme     mp_physics==2                -             moist:qv,qc,qr,qi,qs,qg
1361package   wsm3scheme    mp_physics==3                -             moist:qv,qc,qr
1362package   wsm5scheme    mp_physics==4                -             moist:qv,qc,qr,qi,qs
1363package   etampnew      mp_physics==5                -             moist:qv,qc,qr,qi,qs,qg;scalar:qt
1364package   wsm6scheme    mp_physics==6                -             moist:qv,qc,qr,qi,qs,qg
1365package   ncepcloud3    mp_physics==98               -             moist:qv,qc,qr
1366package   ncepcloud5    mp_physics==99               -             moist:qv,qc,qr,qi,qs
1367package   thompson      mp_physics==8                -             moist:qv,qc,qr,qi,qs,qg;scalar:qni
1368
1369package   rrtmscheme    ra_lw_physics==1             -             -
1370package   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
1371package   gfdllwscheme  ra_lw_physics==99            -             -
1372
1373package   swradscheme   ra_sw_physics==1             -             -
1374package   gsfcswscheme  ra_sw_physics==2             -             -
1375package   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
1376package   gfdlswscheme  ra_sw_physics==99            -             -
1377
1378package   sfclayscheme   sf_sfclay_physics==1        -             -
1379package   myjsfcscheme   sf_sfclay_physics==2        -             -
1380package   gfssfcscheme   sf_sfclay_physics==3        -             -
1381package   slabscheme     sf_surface_physics==1       -             -
1382package   lsmscheme      sf_surface_physics==2       -             -
1383package   ruclsmscheme   sf_surface_physics==3       -             -
1384package   ysuscheme      bl_pbl_physics==1           -             -
1385package   myjpblscheme   bl_pbl_physics==2           -             -
1386package   gfsscheme      bl_pbl_physics==3           -             -
1387package   mrfscheme      bl_pbl_physics==99          -             -
1388
1389package   kfetascheme    cu_physics==1               -             -
1390package   bmjscheme      cu_physics==2               -             -
1391package   gdscheme       cu_physics==3               -             -
1392package   sasscheme      cu_physics==4               -             -
1393package   kfscheme       cu_physics==99              -             -
1394
1395package   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
1396
1397# only need to specify these once; not for every io_form* variable
1398package   io_intio    io_form_restart==1                     -             -
1399package   io_netcdf   io_form_restart==2                     -             -
1400# Placeholders for additional packages (we can go beyond zzz
1401# but that will entail modifying frame/module_io.F and frame/md_calls.m4)
1402# Please note these are placeholders; HDF has not been implemented yet.
1403package   io_hdf      io_form_restart==3                     -             -
1404package   io_phdf5    io_form_restart==4                     -             -
1405package   io_grib1    io_form_restart==5                     -             -
1406package   io_mcel     io_form_restart==6                     -             -
1407package   io_esmf     io_form_restart==7                     -             -
1408package   io_yyy      io_form_restart==8                     -             -
1409package   io_zzz      io_form_restart==9                     -             -
1410package   io_grib2    io_form_restart==10                    -             -
1411package   io_pnetcdf  io_form_restart==11                     -             -
1412                                               
1413#---------------------------------------------------------------------------------------------------------------------------------------
1414## communications                                               
1415
1416### 8. Edit the Registry file and create a halo-exchange for x_1.
1417
1418# Halo Update Communications
1419
1420halo      HALO_EM_INIT_1 dyn_em 48:u_1,u_2,v_1,v_2,w_1,w_2,ph_1,ph_2
1421halo      HALO_EM_INIT_2 dyn_em 48:t_1,t_2,mu_1,mu_2,tke_1,tke_2,ww,phb
1422halo      HALO_EM_INIT_3 dyn_em 48:ph0,php,t_init,mub,mu0,p,al,alt,alb
1423halo      HALO_EM_INIT_4 dyn_em 48:pb,h_diabatic,msft,msfu,msfv,f,e,sina,cosa,ht,potevp,snopcx,soiltb
1424halo      HALO_EM_INIT_5 dyn_em 48:moist,chem,scalar
1425halo      HALO_EM_VINTERP_UV_1 dyn_em 8:pd_gc,pb
1426halo      HALO_EM_A dyn_em  8:ru,rv,rw,ww,php,alt,al,p,muu,muv,mut
1427halo      HALO_EM_PHYS_A  dyn_em 4:u_2,v_2
1428halo      HALO_EM_PHYS_PBL dyn_em        4:rublten,rvblten
1429halo      HALO_EM_FDDA dyn_em            4:rundgdten,rvndgdten
1430halo      HALO_EM_PHYS_DIFFUSION dyn_em  4:defor11,defor22,defor12,defor13,defor23,div,xkmv,xkmh,xkmhd,xkhv,xkhh,tke_1,tke_2
1431halo      HALO_EM_TKE_ADVECT_3 dyn_em 24:tke_2
1432halo      HALO_EM_TKE_ADVECT_5 dyn_em 48:tke_2
1433halo      HALO_EM_TKE_A dyn_em 4:ph_2,phb
1434halo      HALO_EM_TKE_B dyn_em 4:z,rdz,rdzw,zx,zy
1435halo      HALO_EM_TKE_C dyn_em 8:u_2,v_2,z,zx,zy,rdz,rdzw
1436halo      HALO_EM_TKE_D dyn_em 8:defor11,defor22,defor33,defor12,defor13,defor23,div
1437halo      HALO_EM_TKE_E dyn_em 8:xkmv,xkmh,xkmhd,xkhv,xkhh,BN2,moist
1438halo      HALO_EM_TKE_3 dyn_em   24:tke_1,tke_2
1439halo      HALO_EM_TKE_5 dyn_em   48:tke_1,tke_2
1440halo      HALO_EM_TKE_7 dyn_em   80:tke_1,tke_2
1441halo      HALO_EM_TKE_F dyn_em   48:tke_1,tke_2
1442halo      HALO_EM_TKE_OLD_E_5 dyn_em   48:tke_1
1443halo      HALO_EM_TKE_OLD_E_7 dyn_em   80:tke_1
1444halo      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
1445halo      HALO_EM_B2 dyn_em 4:ru_tend,rv_tend
1446halo      HALO_EM_C dyn_em    4:u_2,v_2
1447halo      HALO_EM_C2 dyn_em    4:ph_2,al,p,mu_2,muts,mudf
1448halo      HALO_EM_D dyn_em    24:ru_m,rv_m,ww_m,mut
1449halo      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
1450halo      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
1451halo      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
1452halo      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
1453halo      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
1454halo      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
1455halo      HALO_EM_MOIST_E_3 dyn_em 24:moist
1456halo      HALO_EM_MOIST_E_5 dyn_em 48:moist
1457halo      HALO_EM_MOIST_E_7 dyn_em 80:moist
1458halo      HALO_EM_CHEM_E_3 dyn_em 24:chem
1459halo      HALO_EM_CHEM_E_5 dyn_em 48:chem
1460halo      HALO_EM_CHEM_E_7 dyn_em 80:chem
1461halo      HALO_EM_SCALAR_E_3 dyn_em 24:scalar
1462halo      HALO_EM_SCALAR_E_5 dyn_em 48:scalar
1463halo      HALO_EM_SCALAR_E_7 dyn_em 80:scalar
1464
1465halo      HALO_EM_MOIST_OLD_E_3 dyn_em 24:moist_old
1466halo      HALO_EM_MOIST_OLD_E_5 dyn_em 48:moist_old
1467halo      HALO_EM_MOIST_OLD_E_7 dyn_em 80:moist_old
1468halo      HALO_EM_CHEM_OLD_E_3 dyn_em 24:chem_old
1469halo      HALO_EM_CHEM_OLD_E_5 dyn_em 48:chem_old
1470halo      HALO_EM_CHEM_OLD_E_7 dyn_em 80:chem_old
1471halo      HALO_EM_SCALAR_OLD_E_3 dyn_em 24:scalar_old
1472halo      HALO_EM_SCALAR_OLD_E_5 dyn_em 48:scalar_old
1473halo      HALO_EM_SCALAR_OLD_E_7 dyn_em 80:scalar_old
1474
1475halo      HALO_EM_FEEDBACK   dyn_em 48:ht
1476
1477halo      HALO_EM_COUPLE_A   dyn_em 24:mub,mu_1,mu_2
1478period    PERIOD_EM_COUPLE_A dyn_em 2:mub,mu_1,mu_2
1479halo      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,\
1480                                       moist,chem,scalar
1481period    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,\
1482                                       moist,chem,scalar
1483
1484# For moving nests
1485halo      em_shift_halo_y  dyn_em 48:imask_nostag,imask_xstag,imask_ystag,imask_xystag,u_2,v_2,t_2
1486halo      em_shift_halo_x  dyn_em 48:imask_nostag,imask_xstag,imask_ystag,imask_xystag,u_2,v_2,t_2
1487
1488# For observational nudging
1489halo      HALO_OBS_NUDGE dyn_em 24:pb,p,uratx,vratx,tratx
1490
1491# Periodic Boundary Communications
1492
1493period    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,msft,msfu,msfv,sina,cosa,e,f
1494period    PERIOD_BDY_EM_MOIST dyn_em 3:moist
1495period    PERIOD_BDY_EM_CHEM dyn_em 3:chem
1496period    PERIOD_BDY_EM_SCALAR dyn_em 3:scalar
1497period    PERIOD_BDY_EM_MOIST2 dyn_em 3:moist
1498period    PERIOD_BDY_EM_CHEM2 dyn_em 3:chem
1499period    PERIOD_BDY_EM_SCALAR2 dyn_em 3:scalar
1500period    PERIOD_BDY_EM_A dyn_em 2:ru,rv,rw,ww,php,alt,p,muu,muv,mut,ph_2,al
1501period    PERIOD_BDY_EM_A1  dyn_em 3:rdzw,rdz,z,zx,zy
1502period    PERIOD_BDY_EM_PHY_BC dyn_em 2:rublten,rvblten,xkmh,xkmhd,xkmv,xkhh,xkhv,div,defor11,defor22,defor12,defor13,defor23,defor33,tke_2
1503period    PERIOD_BDY_EM_FDDA_BC dyn_em 2:rundgdten,rvndgdten
1504period    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
1505period    PERIOD_BDY_EM_B3 dyn_em 2:ph_2,al,p,mu_2,muts,mudf
1506period    PERIOD_BDY_EM_B2 dyn_em 2:ru_tend,rv_tend
1507period    PERIOD_BDY_EM_C dyn_em 2:u_2,u_save,v_2,v_save,t_2,t_save,muv,msfv,muu,msfu
1508period    PERIOD_BDY_EM_D dyn_em 3:u_2,v_2,w_2,t_2,ph_2,mu_2,tke_2
1509period    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
1510
1511#
1512#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
1513#swap SWAP_WSM3       dyn_em 1:th_phy,moist,w_2,rho,pi_phy,p_phy,dz8w,rainnc,rainncv
1514#cycle CYCLE_TEST       dyn_em 1:xlong
1515
1516##
1517
1518# FDDA (Observational-nudging) Variables
1519typedef fdob_type integer domain_tot   # total number of domains to apply obs-nudging
1520typedef fdob_type integer domain_init  # domain initialization flag
1521typedef fdob_type integer IEODI        # end of obs data flag for current model step
1522typedef fdob_type integer IWTSIG       # flag for nudging on pressure surfaces
1523typedef fdob_type integer NSTAT        # number of obs stations used to nudge current model step
1524typedef fdob_type integer KTAUR        # restart model step
1525typedef fdob_type integer SN_MAXCG     # coarse domain grid dimension in south-north coordinate
1526typedef fdob_type integer WE_MAXCG     # coarse domain grid dimension in west-east coordinate
1527typedef fdob_type integer SN_END       # ending north-south grid index
1528typedef fdob_type integer LEVIDN(max_domains)   # level of nest
1529typedef fdob_type real    DS_CG        # coarse domain grid size
1530typedef fdob_type real    WINDOW       # time window half-period for nudging (in minutes)
1531typedef fdob_type real    RTLAST       # time in hours of last obs used in current model step
1532typedef fdob_type real    DATEND       # time in minutes after which data are asuumed to have ended
1533typedef fdob_type real    RINFMN       # minimum radius of influence
1534typedef fdob_type real    RINFMX       # maximum radius of influence
1535typedef fdob_type real    PFREE        # pressure level (cb) where terrain effect becomes small
1536typedef fdob_type real    DCON         # 1/DPSMX
1537typedef fdob_type real    DPSMX        # max pres change (cb) allowed within infl range of surf obs
1538typedef fdob_type real    TFACI        # scale factor used for ramp-down in dynamic initialization
1539typedef fdob_type real    XN           # cone factor for Lambert projection
1540
1541# table entries are of the form
1542#      <Table>  <Type>  <Sym>                <Dims>   <Use>   <NumTLev> <Stagger> <IO>     <DNAME>             <DESCRIP>     <UNITS>
1543#Grid variables
1544typedef fdob_type real    varobs               rz       -         1        -       -       "varobs"          "observational values in each variable"
1545typedef fdob_type real    errf                 hz       -         1        -       -       "errf"            "errors between model and obs values"
1546typedef fdob_type real    timeob               z        -         1        -       -       "timeob"          "model times for each observation"          "hours"
1547typedef fdob_type real    nlevs_ob             z        -         1        -       -       "nlevs_ob"        "numbers of levels in sounding obs"
1548typedef fdob_type real    lev_in_ob            z        -         1        -       -       "lev_in_ob"       "level in sounding-type obs"
1549typedef fdob_type real    plfo                 z        -         1        -       -       "plfo"            "index for type of obs-platform"
1550typedef fdob_type real    elevob               z        -         1        -       -       "elevob"          "elevation of observation"                  "meters"
1551typedef fdob_type real    rio                  z        -         1        -       -       "rio"             "west-east grid coordinate"
1552typedef fdob_type real    rjo                  z        -         1        -       -       "rjo"             "south-north grid coordinate"
1553typedef fdob_type real    rko                  z        -         1        -       -       "rko"             "vertical grid coordinate"
1554
1555state fdob_type fdob - -
1556##
Note: See TracBrowser for help on using the repository browser.