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

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

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

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