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

Last change on this file since 1751 was 1735, checked in by aslmd, 8 years ago

MESOSCALE. reverted Registry to r1723 because treatment of CO2 clouds on Mars disappeared and base profile changed to Venus in r1724. recommitted the changes that were correct (additional variables for physics outputs. this commit means that mesoscale simulations on Venus needs to have base_pres=9.2e6, base_temp=735., base_lapse=100. set in namelist (dynamics section)

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