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

Last change on this file since 1113 was 1113, checked in by aslmd, 11 years ago

MESOSCALE. bug fix in registry newphys. not ready for CO2 tracer yet.

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