Reworking external/ build
[WRF.git] / Registry / Registry.EM_COMMON.var
blob6281c0f8e0685b9c9e086af753d88415f6b17ba0
1                                          
2 # At the present time this file is managed manually and edited by hand.                                         
3 # This file includes the minimal subset of Registry.EM_COMMON required by WRFDA compilation                                              
4 # All "ikj" variables are changed to "ijk" variables.
7 ################################################################################
8 ################################################################################
9 ################################################################################
11 # Lines that start with the word 'state' form a table that is
12 # used by the script use_registry to generate module_state_descript.F
13 # and other files.  Also see documentation in use_registry.
14 #                                               
15 # table entries are of the form
16 #<Table> <Type> <Sym>         <Dims>   <Use>   <NumTLev> <Stagger> <IO>     <DNAME>             <DESCRIP>     <UNITS>
19 # It is required that LU_INDEX appears before any variable that is
20 # interpolated with a mask, as lu_index supplies that mask.
21 # this next 1 is for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
22 # with wave model, only if compiled with -DMCELIO, JM 2003/05/29
23 state    real  LU_INDEX         ij      misc        1         -     i012rh01d=(interp_fcnm)u=(copy_fcnm)   "LU_INDEX"              "LAND USE CATEGORY"         ""
24 state    real  LU_MASK          ij      misc        1         -     i3h1     "LU_MASK"              "0 land 1 water"         ""
26 # znw, znu, dzs, and zs must be listed before any 3-d fields
27 # in order for the grib output module to work correctly.  The grib output
28 # module retrieves the vertical levels from these parameters.  If znw, znu
29 # dzs, and zs are not listed first, vertical level will not be encoded at 
30 # time 0.
32 state    real    znu            k       dyn_em      1         -     irh      "znu"  "eta values on half (mass) levels"  ""
33 state    real    znw            k       dyn_em      1         Z     i0rh     "znw"  "eta values on full (w) levels"  ""
34 state    real   ZS              l        misc      -         Z     irh       "ZS"                    "DEPTHS OF CENTERS OF SOIL LAYERS"         "m"
35 state    real   DZS             l        misc      -         Z     irh       "DZS"                   "THICKNESSES OF SOIL LAYERS"               "m"
37 #-----------------------------------------------------------------------------------------------------------------------------------------------------------------
38 #                                               
39 # Variables for Eulerian mass coordinate dynamics                                            
40 #                                               
42 # Velocities
44 # U Vel
45 state    real   u              ijkb     dyn_em      2         X     \
46      i0rhusdf=(bdy_interp:dt)       "U"                      "x-wind component"   "m s-1"
47 state    real   ru             ijk     dyn_em      1         X      -        "MU_U"        "mu-coupled u"   "Pa m s-1"
48 state    real   ru_m           ijk     dyn_em      1         X      -        "ru_m"        ""   ""
49 state    real   ru_tend        ijk     dyn_em      1         X      -        "ru_tend"        ""   ""
50 #                                               
51 # V Vel
52 state    real   v              ijkb     dyn_em      2         Y     \
53      i0rhusdf=(bdy_interp:dt)        "V"                     "y-wind component"   "m s-1"
54 state    real   rv             ijk     dyn_em      1         Y      -        "MU_V"        "mu-coupled v"   "Pa m s-1"
55 state    real   rv_m           ijk     dyn_em      1         Y      -        "rv_m"
56 state    real   rv_tend        ijk     dyn_em      1         Y      -        "rv_tend"
57 #                                               
58 # Vertical Vel                                          
59 state    real   w              ijkb     dyn_em      2         Z     \
60         irhusdf=(bdy_interp:dt)  "w"                          "z-wind component"   "m s-1"
62 # Geopotential
63 state    real   ph             ijkb     dyn_em      2         Z     \
64        irhusdf=(bdy_interp:dt)   "ph"   "perturbation geopotential"  "m2 s-2"
65 state    real   phb            ijk     dyn_em      1         Z     irhdus "phb"  "base-state geopotential"  "m2 s-2"
66 state    real   ph0            ijk     dyn_em      1         Z      r     "ph0"  "initial geopotential"     "m2 s-2"
67 state    real   php            ijk     dyn_em      1         -      r     "php"  "geopotential"             "m2 s-2"
69 # Potential Temperature
70 state    real   t              ijkb     dyn_em      2         -     \
71        i0rhusdf=(bdy_interp:dt)   "t"      "perturbation potential temperature (theta-t0)" "K"
73 state    real   t_init         ijk     dyn_em      1         -      ir       "t_init" "initial potential temperature" "K"
75 # Mass
76 state    real   mu              ijb     dyn_em      2         -     \
77      irhusdf=(bdy_interp:dt)   "mu"  "perturbation dry air mass in column" "Pa"
78 state    real   mub             ij     dyn_em      1         -     irhdus       "mub" "base state dry air mass in column" "Pa"
79 state    real   mu0             ij     dyn_em      1         -      i1          "mu0" "initial dry mass in column" "Pa"
80 state    real   mudf            ij     dyn_em      1         -      -           "mudf" "" ""
81 state    real   muu             ij     dyn_em      1          X     -           "muu"
82 i1       real   muus            ij     dyn_em      1          -     
83 state    real   muv             ij     dyn_em      1          Y     -           "muv"
84 i1       real   muvs            ij     dyn_em      1          -     
85 state    real   mut             ij     dyn_em      1          -     -           "mut"
86 state    real   muts            ij     dyn_em      1          -     -           "muts"
88 # Pressure and Density
89 state    real   p              ijk     dyn_em      1         -      irh       "p"           "perturbation pressure"         "Pa"
90 state    real   al             ijk     dyn_em      1         -      r         "al"          "inverse perturbation density"  "m3 kg-1"
91 state    real   alt            ijk     dyn_em      1         -      r         "alt"         "inverse density"               "m3 kg-1"
92 state    real   alb            ijk     dyn_em      1         -      rdus      "alb"         "inverse base density"          "m3 kg-1"
93 state    real   zx             ijk     dyn_em      1         X      -         " "  " "  " "    
94 state    real   zy             ijk     dyn_em      1         Y      -         " "  " "  " "   
95 state    real   rdz            ijk     dyn_em      1         Z      -         " "  " "  " "   
96 state    real   rdzw           ijk     dyn_em      1         Z       -        " "  " "  " "   
97 state    real   pb             ijk     dyn_em      1         -      irhdus    "pb"          "BASE STATE PRESSURE "          "Pa"
99 #                                               
100 # Other dyn                                             
101 #                                               
102 state    real    fnm            k       dyn_em      1         -     irh       "fnm"  "upper weight for vertical stretching"  ""
103 state    real    fnp            k       dyn_em      1         -     irh       "fnp"  "lower weight for vertical stretching"  ""
104 state    real    rdnw           k       dyn_em      1         -     irh       "rdnw"  "inverse d(eta) values between full (w) levels"   ""
105 state    real    rdn            k       dyn_em      1         -     irh       "rdn"  "inverse d(eta) values between half (mass) levels"   ""
106 state    real    dnw            k       dyn_em      1         -     irh       "dnw" "d(eta) values between full (w) levels"   ""
107 state    real    dn             k       dyn_em      1         -     irh       "dn " "d(eta) values between half (mass) levels"   ""
108 state    real    t_base         k       dyn_em      1         -     ir        "t_base"               "BASE STATE T IN IDEALIZED CASES"         "K"      
109 state    real    z              ijk     dyn_em      1         -     -         " " " " " "
110 state    real    z_at_w         ijk     dyn_em      1         Z 
111 state    real    cfn            -       misc      -         -     irh       "cfn"    "extrapolation constant"  ""
112 state    real    cfn1           -       misc      -         -     irh       "cfn1"   "extrapolation constant"  ""
113 state    integer step_number    -       misc      -         -     ir        "step_number"  ""
115 # Idealized run
116 state    logical this_is_an_ideal_run   - misc    -         -      r     "this_is_an_ideal_run"     "T/F flag: this is an ARW ideal simulation"
118 # For the adaptive timestep restart
119 state    logical stepping_to_time       - misc    -         -      r     "stepping_to_time"         ""
120 state    integer last_step_updated      - misc    -         -      r     "last_step_updated"        ""
122 # hydrostatic pressure vars
123 state    real   p_hyd           ijk     dyn_em      1         -      irh       "p_hyd"       "hydrostatic pressure"         "Pa"
124 state    real   p_hyd_w         ijk     dyn_em      1         Z       r        "p_hyd_w"     "hydrostatic pressure at full levels"         "Pa"
126 # 2m and 10m output diagnostics
127 state    real   Q2               ij     misc        1         -     irh0{23}du     "Q2"                   "QV at 2 M"         "kg kg-1"
128 state    real   T2               ij     misc        1         -     i01rh0{23}du   "T2"                   "TEMP at 2 M"       "K"
129 state    real   TH2              ij     misc        1         -     irhdu     "TH2"                  "POT TEMP at 2 M"   "K"
130 state    real   PSFC             ij     misc        1         -     i01rhdu   "PSFC"                 "SFC PRESSURE"      "Pa"
131 state    real   QSFC             ij     misc        1         -     irh       "QSFC"                 "SPECIFIC HUMIDITY AT LOWER BOUNDARY"          "kg kg-1"
133 # these next 2 are for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
134 # with wave model, only if compiled with -DMCELIO, JM 2003/05/29
135 state    real   U10              ij     misc        1         -     irh01du     "U10"                "U at 10 M"         "m s-1"
136 state    real   V10              ij     misc        1         -     irh01du     "V10"                "V at 10 M"         "m s-1"
138 # Other
139 state   real    rdx            -        misc      -         -     irh       "rdx"                   "INVERSE X GRID LENGTH"         ""      
140 state   real    rdy            -        misc      -         -     irh       "rdy"                   "INVERSE Y GRID LENGTH"         ""      
141 state   real    dts            -        misc      -         -     ir        "dts"                   "SMALL TIMESTEP"         ""      
142 state   real    dtseps         -        misc      -         -     ir        "dtseps"                "TIME WEIGHT CONSTANT FOR SMALL STEPS"         ""      
143 state   real    resm           -        misc      -         -     irh       "resm"                  "TIME WEIGHT CONSTANT FOR SMALL STEPS"         ""      
144 state   real    zetatop        -        misc      -         -     irh       "zetatop"               "ZETA AT MODEL TOP"         ""      
145 state   real    cf1            -        misc      -         -     irh       "cf1"                   "2nd order extrapolation constant"         ""      
146 state   real    cf2            -        misc      -         -     irh       "cf2"                   "2nd order extrapolation constant"         ""      
147 state   real    cf3            -        misc      -         -     irh       "cf3"                   "2nd order extrapolation constant"         ""      
149 # State for derived time quantities.  
150 state   integer itimestep      -        -          -         -     rh         "itimestep"             ""         ""      
151 state   real    xtime          -        -          -         -     rh         "xtime"                 "minutes since simulation start"         ""      
152 state   real    julian         -        -          -         -     -          "julian"                "day of year, 0.0 at 0Z on 1 Jan."         "days"      
154 # input file descriptor for lbcs on parent domain                                               
155 state   integer lbc_fid        -        -          -         -     -         "lbc_fid"               ""         ""      
156 # indicates if tiling has been computed                                         
157 state   logical tiled          -        -          -         -     -         "tiled"                 ""         ""      
158 # indicates if patches have been computed                                               
159 state   logical patched        -        -          -         -     -         "patched"               ""         ""      
160 # indicates whether to read input from file or generate                                         
161 #state   logical input_from_file        -        -          -         -     -         "input_from_file"         ""         ""    
162 # indicates whether to recompute mu                                                             
163 state   logical press_adj      -        -          -         -     -         "press_adj"         "T/F flag adjust mu"         ""    
165 # Mask for moving nest interpolations
166 state    integer imask_nostag         ij      misc     1     -
167 state    integer imask_xstag          ij      misc     1     X
168 state    integer imask_ystag          ij      misc     1     Y
169 state    integer imask_xystag         ij      misc     1     XY
171 #-----------------------------------------------------------------------------------------------------------------------------------------------------------------
172 # Scalar (4D) arrays
174 # Moist Scalars
175 #                                               
176 # The first line ensures that there will be identifiers named moist and                                         
177 # moist_tend even if there are not any moist scalars (so the essentially                                                
178 # dry code will will still link properly)                                               
179 #                                               
180 state   real    -              ijkftb   moist       1         -     -    -
181 state   real    qv             ijkftb   moist       1         -     \
182    i0rhusdf=(bdy_interp:dt)  "QVAPOR"           "Water vapor mixing ratio"      "kg kg-1"
183 state   real    qc             ijkftb   moist       1         -     \
184    i0rhusdf=(bdy_interp:dt)  "QCLOUD"           "Cloud water mixing ratio"      "kg kg-1"
185 state   real    qr             ijkftb   moist       1         -     \
186    i0rhusdf=(bdy_interp:dt)  "QRAIN"            "Rain water mixing ratio"       "kg kg-1"
187 state   real    qi             ijkftb   moist       1         -     \
188    i0rhusdf=(bdy_interp:dt)  "QICE"             "Ice mixing ratio"              "kg kg-1"
189 state   real    qi2            ijkftb   moist       1         -     \
190    i0rhusdf=(bdy_interp:dt)  "QICE2"            "Ice mixing ratio cat 2"        "kg kg-1"
191 state   real    qs             ijkftb   moist       1         -     \
192    i0rhusdf=(bdy_interp:dt)  "QSNOW"            "Snow mixing ratio"             "kg kg-1"
193 state   real    qg             ijkftb   moist       1         -     \
194    i0rhusdf=(bdy_interp:dt)  "QGRAUP"           "Graupel mixing ratio"          "kg kg-1"
195 state   real    qh             ijkftb   moist       1         -     \
196    i0rhusdf=(bdy_interp:dt)  "QHAIL"            "Hail mixing ratio"             "kg kg-1"
199 # Other Scalars
200 state   real    -              ijkftb  scalar      1         -     -   -
201 state   real    qndrop         ijkftb  scalar      1         -     \
202    i0rhusdf=(bdy_interp:dt)    "QNDROP"        "Droplet number mixing ratio"        "# kg-1"
203 state   real    qni            ijkftb  scalar      1         -     \
204    i0rhusdf=(bdy_interp:dt)    "QNICE"         "Ice Number concentration" "# kg-1"
205 state   real    qt             ijkftb  scalar      1         -     \
206    i0rhusdf=(bdy_interp:dt)    "CWM"           "Total condensate mixing ratio"      "kg kg-1"
207 state   real    qns            ijkftb  scalar      1         -     \
208    i0rhusdf=(bdy_interp:dt)    "QNSNOW"         "Snow Number concentration"   "# kg(-1)"
209 state   real    qnr            ijkftb  scalar      1         -     \
210    i0rhusdf=(bdy_interp:dt)    "QNRAIN"        "Rain Number concentration"   "# kg(-1)"
211 state   real    qng            ijkftb  scalar      1         -     \
212    i0rhusdf=(bdy_interp:dt)    "QNGRAUPEL"     "Graupel Number concentration" "# kg(-1)"
213 state   real    qnh            ijkftb  scalar      1         -     \
214    i0rhusdf=(bdy_interp:dt)    "QNHAIL"        "Hail Number concentration" "# kg(-1)"
215 state   real    qnn            ijkftb  scalar      1         -     \
216    i0rhusdf=(bdy_interp:dt)    "QNCCN"         "CCN Number concentration" "# kg(-1)"
217 state   real    qnc            ijkftb  scalar      1         -     \
218    i0rhusdf=(bdy_interp:dt)    "QNCLOUD"       "cloud water Number concentration" "# kg(-1)"
219 state   real    qvolg          ijkftb  scalar      1         -     \
220    i0rhusdf=(bdy_interp:dt)    "QVGRAUPEL"     "Graupel Particle Volume" "m(3) kg(-1)"
221 #state   real    qvolh          ijkftb  scalar      1         -     \
222    i0rhusdf=(bdy_interp:dt)    "QVHAIL"        "Hail Particle Volume" "m(3) kg(-1)""
224 #-----------------------------------------------------------------------------------------------------------------------------------------------------------------
226 # Arrays for Specified LBCs  (lbc arrays REMOVED; Boundary arrays are now specified with the state array; see above, 20050413 JM )
228 state    real   fcx            w         misc     -         -      ir       "fcx"                  "RELAXATION TERM FOR BOUNDARY ZONE"         ""
229 state    real   gcx            w         misc     -         -      ir       "gcx"                  "2ND RELAXATION TERM FOR BOUNDARY ZONE"         ""
230 state    real   dtbc            -        misc     -         -      ir       "dtbc"                 "TIME SINCE BOUNDARY READ"         ""
232 #-------------------------------------------------------------------------------------------------------------------------------------------
233 # Physics Related State Varibles
235 # lsm State Variables
237 state    real   SMOIS            ijl     -          1         Z     i02rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SMOIS"            "SOIL MOISTURE"     "m3 m-3"
238 state    real   SH2O             ijl     -          1         Z     i02rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SH2O"             "SOIL LIQUID WATER" "m3 m-3"
239 state    real   SMCREL           ijl     -          1         Z     i02rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SMCREL"           "RELATIVE SOIL MOISTURE" ""
240 state    real   XICE             ij     misc        1         -     i0124rhd=(interp_mask_water_field:lu_index,isice)u=(copy_fcnm)  "SEAICE"             "SEA ICE FLAG"  ""
241 state  integer  IVGTYP           ij     misc        1         -     i02rhd=(interp_fcni)u=(copy_fcni)           "IVGTYP"           "DOMINANT VEGETATION CATEGORY" ""
242 state  integer  ISLTYP           ij     misc        1         -     i02rhd=(interp_fcni)u=(copy_fcni)           "ISLTYP"           "DOMINANT SOIL CATEGORY"       ""
243 state    real   VEGFRA           ij     misc        1         -     i024rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)   "VEGFRA"           "VEGETATION FRACTION" ""
244 state    real   SNOW             ij     misc        1         -     i012rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SNOW"             "SNOW WATER EQUIVALENT"    "kg m-2"
245 state    real   SNOWH            ij     misc        1         -     i012rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)    "SNOWH"            "PHYSICAL SNOW DEPTH"      "m"
247 # gfdl (eta) radiation State Variables
248 state    real    HTOP            ij     misc        1         -      r        "HTOP"                 "TOP OF CONVECTION LEVEL"         ""
249 state    real    HBOT            ij     misc        1         -      r        "HBOT"                 "BOT OF CONVECTION LEVEL"         ""
251 #---------------------------------------------------------------------------------------------------------------------------------------
252 # SI - end variables from netCDF format from Standard Initialization
253 #---------------------------------------------------------------------------------------------------------------------------------------
255 # soil model variables  (Note that they are marked as staggered in the vertical dimension
256 # because they are "fully dimensioned" -- they use every element in that dim
257 state    real   TSLB           ijl       misc      1         Z     i02rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)           "TSLB"     "SOIL TEMPERATURE"   "K"
259 # Other Misc State Variables                                            
260 #zxstate   real    h_diabatic     ijk     misc         1         -      rdu      "h_diabatic"            "MICROPHYSICS LATENT HEATING"         "K s-1"      
261 state   real    msft           ij      misc         1         -     i012rhdu=(copy_fcnm)    "MAPFAC_M"         "Map scale factor on mass grid" ""
262 state   real    msfu           ij      misc         1         X     i012rhdu=(copy_fcnm)    "MAPFAC_U"         "Map scale factor on u-grid" ""
263 state   real    msfv           ij      misc         1         Y     i012rhdu=(copy_fcnm)    "MAPFAC_V"         "Map scale factor on v-grid" ""
264 state   real    msftx          ij      misc         1         -     i012rhdu=(copy_fcnm)    "MAPFAC_MX"         "Map scale factor on mass grid, x direction" ""
265 state   real    msfty          ij      misc         1         -     i012rhdu=(copy_fcnm)    "MAPFAC_MY"         "Map scale factor on mass grid, y direction" ""
266 state   real    msfux          ij      misc         1         X     i012rhdu=(copy_fcnm)    "MAPFAC_UX"         "Map scale factor on u-grid, x direction" ""
267 state   real    msfuy          ij      misc         1         X     i012rhdu=(copy_fcnm)    "MAPFAC_UY"         "Map scale factor on u-grid, y direction" ""
268 state   real    msfvx          ij      misc         1         Y     i012rhdu=(copy_fcnm)    "MAPFAC_VX"         "Map scale factor on v-grid, x direction" ""
269 state   real    msfvx_inv      ij      misc         1         Y     i012rhdu=(copy_fcnm)    "MF_VX_INV"         "Inverse map scale factor on v-grid, x direction" ""
270 state   real    msfvy          ij      misc         1         Y     i012rhdu=(copy_fcnm)    "MAPFAC_VY"         "Map scale factor on v-grid, y direction" ""
272 state   real    f              ij      misc         1         -     i012rhdu=(copy_fcnm)    "f"                "Coriolis sine latitude term"  "s-1"
273 state   real    e              ij      misc         1         -     i012rhdu=(copy_fcnm)    "e"                "Coriolis cosine latitude term"  "s-1"
274 state   real    sina           ij      misc         1         -     i012rhdu=(copy_fcnm)    "SINALPHA"         "Local sine of map rotation"   ""
275 state   real    cosa           ij      misc         1         -     i012rhdu=(copy_fcnm)    "COSALPHA"         "Local cosine of map rotation"  ""
276 state   real    ht             ij      misc         1         -     i012rhdus  "HGT"              "Terrain Height"   "m"
277 state   real    ht_fine        ij      misc         1         -     -          "HGT_FINE"         "Fine Terrain Height"   "m"
278 state   real    ht_int         ij      misc         1         -     -          "HGT_INT"          "Terrain Height Horizontally Interpolated"   "m"
279 state   real    ht_input       ij      misc         1         -     -          "HGT_INPUT"        "Terrain Height from FG Input File"   "m"
281 state   real    TSK            ij      misc         1         -     i012rhdu=(copy_fcnm)    "TSK"                   "SURFACE SKIN TEMPERATURE"                  "K"
282 state   real    u_base         k       misc         1         -     ir        "u_base"                "BASE STATE X WIND IN IDEALIZED CASES"         ""      
283 state   real    v_base         k       misc         1         -     ir        "v_base"                "BASE STATE Y WIND IN IDEALIZED CASES"         ""      
284 state   real    qv_base        k       misc         1         -     ir        "qv_base"               "BASE STATE QV IN IDEALIZED CASES"         ""      
285 state   real    z_base         k       misc         1         -     ir        "z_base"                "BASE STATE HEIGHT IN IDEALIZED CASES"         ""      
286 state   real    u_frame        -       misc         1         -     ir        "u_frame"               "FRAME X WIND"         "m s-1"      
287 state   real    v_frame        -       misc         1         -     ir        "v_frame"               "FRAME Y WIND"         "m s-1"      
288 # p_top appears as metadata between SI and real but as a state variable in real and WRF
289 # since it is a scalar and a constant, it makes sense to have it as metadata -- there
290 # are, however, probably post-processing programs that expect to see it as an I/O record
291 # another problem: share/input_wrf tries to read this as metadata (fine for real reading
292 # SI, but with model reading real output, it generates a warning when debug is > 0 in
293 # namelist and causes repeated questions from users.  A third problem is the potential
294 # collision between a metadata name and a field record in the I/O data
295 # resolve this how?  Have the real program throw a switch to tell the code to get it
296 # from the metadata?  Otherwise it's a field?
297 state   real    p_top          -       misc         -         -     irh       "p_top"                 "PRESSURE TOP OF THE MODEL"  "Pa"
298 state   real    t00            -       misc         -         -     i02rh     "t00"                   "BASE STATE TEMPERATURE   "  "K"
299 state   real    p00            -       misc         -         -     i02rh     "p00"                   "BASE STATE PRESSURE"         "Pa"
300 state   real    tlp            -       misc         -         -     i02rh     "tlp"                   "BASE STATE LAPSE RATE    "  ""
301 state   real    tiso           -       misc         -         -     i02rh     "tiso"                  "TEMP AT WHICH THE BASE T TURNS CONST"  "K"
302 state   real    tlp_strat      -       misc         -         -     i02rh     "tlp_strat"             "BASE STATE LAPSE RATE (DT/D(LN(P)) IN STRATOSPHERE"  "K"
303 state   real    p_strat        -       misc         -         -     i02rh     "p_strat"               "BASE STATE PRESSURE AT BOTTOM OF STRATOSPHERE" "Pa"
304 state   real    max_msftx      -       misc         -         -      rh       "max_mstfx"             "Max map factor in domain"  ""
305 state   real    max_msfty      -       misc         -         -      rh       "max_mstfy"             "Max map factor in domain"  ""
306 state logical   v4_metgrid     -       misc         -         -       -       "v4_metgrid"            "for real, T/F: identify if this is v4 metgrid data" ""
308 state    real  RAINC            ij      misc        1         -      rhdu     "RAINC"                 "ACCUMULATED TOTAL CUMULUS PRECIPITATION"                 "mm"      
309 state    real  RAINNC           ij      misc        1         -      rhdu     "RAINNC"                "ACCUMULATED TOTAL GRID SCALE PRECIPITATION"              "mm"      
310 state    real  RAINCV           ij      misc        1         -      r        "RAINCV"                "TIME-STEP CUMULUS PRECIPITATION"                         "mm"
311 state    real  RAINNCV          ij      misc        1         -      r        "RAINNCV"               "TIME-STEP NONCONVECTIVE PRECIPITATION"                   "mm"
313 # these next 2 are for the HFSoLE/PET demo; writing these to auxhist1 output over MCEL for coupling
314 # with wave model, only if compiled with -DMCELIO, JM 2003/05/29
315 state    real  XLAT             ij      misc        1         -     i0123rh01du=(copy_fcnm)      "XLAT"                "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
316 state    real  XLONG            ij      misc        1         -     i0123rh01du=(copy_fcnm)      "XLONG"               "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
317 state    real  XLAT_U           ij      dyn_em      1         X     i012rh01du=(copy_fcnm)       "XLAT_U"              "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
318 state    real  XLONG_U          ij      dyn_em      1         X     i012rh01du=(copy_fcnm)       "XLONG_U"             "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
319 state    real  XLAT_V           ij      dyn_em      1         Y     i012rh01du=(copy_fcnm)       "XLAT_V"              "LATITUDE, SOUTH IS NEGATIVE"                                          "degree_north"
320 state    real  XLONG_V          ij      dyn_em      1         Y     i012rh01du=(copy_fcnm)       "XLONG_V"             "LONGITUDE, WEST IS NEGATIVE"                                          "degree_east"
321 state    real  ALBEDO           ij      misc        1         -      rh          "ALBEDO"                   "ALBEDO"
322 state    real  CLAT             ij      misc        1         -     i012rhdu=(copy_fcnm)         "CLAT"                "COMPUTATIONAL GRID LATITUDE, SOUTH IS NEGATIVE"                       "degree_north"
323 state    real  ALBBCK           ij      misc        1         -     i0124rh   "ALBBCK"                "BACKGROUND ALBEDO"        ""
324 state    real  EMBCK            ij      misc        1         -      r        "EMBCK"                 "BACKGROUND EMISSIVITY"         ""
325 state    real  EMISS            ij      misc        1         -      rh       "EMISS"                 "SURFACE EMISSIVITY"         "" 
326 state    real  SNOTIME          ij      misc        1         -      r        "SNOTIME"               "SNOTIME"         "" 
327 state    real  NOAHRES          ij      misc        1         -      h        "NOAHRES"               "RESIDUAL OF THE NOAH SURFACE ENERGY BUDGET" "W m{-2}"
328 state    real  CLDEFI           ij      misc        1         -      r        "CLDEFI"                "precipitation efficiency in BMJ SCHEME"    ""      
329 state integer  STEPRA          -        misc        1         -      r        "STEPRA"                "NUMBER OF FUNDAMENTAL TIMESTEPS BETWEEN RADIATION CALLS"        ""
330                                                 
331 # State variables for landuse_init, Must be declared state because they are read in and needed for restarts. Had been SAVE vars in
332 # landuse_init (phys/module_physics_init.F)
333 state  logical warm_rain        -       misc        1         -     -         "warm_rain"              "WARM_RAIN_LOGICAL"
334 state  logical adv_moist_cond   -       misc        1         -     -         "adv_moist_cond"         "ADVECT MOIST CONDENSATES LOGICAL"
335 state  integer save_topo_from_real -    dyn_em      1         -    irh        "save_topo_from_real"    "1=original topo from real/0=topo modified by WRF"      "flag"
337 state    real  TMN              ij      misc        1         -     i012rhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)     "TMN"   "SOIL TEMPERATURE AT LOWER BOUNDARY"           "K"
338 state    real  XLAND            ij      misc        1         -     i02rhd=(interp_fcnm)u=(copy_fcnm)       "XLAND"                 "LAND MASK (1 FOR LAND, 2 FOR WATER)"          ""
339 state    real  SNOWC            ij      misc        1         -     irhd=(interp_mask_land_field:lu_index)u=(copy_fcnm)  "SNOWC"  "FLAG INDICATING SNOW COVERAGE (1 FOR SNOW COVER)"  ""
341 state    real  ZNT              ij      misc        1         -      irh      "ZNT"                   "TIME-VARYING ROUGHNESS LENGTH"                "m"
342 state    real  UST              ij      misc        1         -      irh      "UST"                   "U* IN SIMILARITY THEORY"                      "m s-1"
343 state    real  MOL              ij      misc        1         -      irh      "MOL"                   "T* IN SIMILARITY THEORY"                      "K"
344 state    real  PBLH             ij      misc        1         -      irh      "PBLH"                  "PBL HEIGHT"                                   "m"
345 state    real  HFX              ij      misc        1         -      irh      "HFX"                   "UPWARD HEAT FLUX AT THE SURFACE"              "W m-2"
346 state    real  QFX              ij      misc        1         -      irh      "QFX"                   "UPWARD MOISTURE FLUX AT THE SURFACE"          "kg m-2 s-1"
347 state    real  REGIME           ij      misc        1         -      irh      "REGIME"  "FLAGS: 1=Night/Stable, 2=Mechanical Turbulent, 3=Forced Conv, 4=Free Conv" ""
348 state integer  KPBL             ij      misc        1         -      irh      "KPBL"                  "LEVEL OF PBL TOP"                             ""
351 #---------------------------------------------------------------------------------------------------------------------------------------
352 #                                               
354 ######                                          
355 #                                               
356 # Variables that are set at run-time to control configuration  (namelist-settable)                                              
357 #                                               
358 #<Table>  <Type>  <Sym>                   <How set>          <Nentries>   <Default>                                             
360 include Registry.rconfig
363 #---------------------------------------------------------------------------------------------------------------------------------------
364 # Package Declarations
365 #                                               
367 #key      package       associated                package          associated 4d scalars
368 #         name          namelist choice           state vars
370 #package   passivec1     chem_opt==0                  -             
372 package   nolsmscheme    sf_surface_physics==0       -             -
373 package   slabscheme     sf_surface_physics==1       -             -
374 package   lsmscheme      sf_surface_physics==2       -             -
375 package   ruclsmscheme   sf_surface_physics==3       -             -
376 package   noahmpscheme   sf_surface_physics==4       -             -
378 package   dfi_setup      dfi_stage==0                -             -
379 package   dfi_bck        dfi_stage==1                -             -
380 package   dfi_fwd        dfi_stage==2                -             -
381 package   dfi_fst        dfi_stage==3                -             -
382 package   dfi_startfwd   dfi_stage==4                -             -
383 package   dfi_startbck   dfi_stage==5                -             -
386 package   dfi_nodfi     dfi_opt==0                  -             -
387 package   dfi_dfl       dfi_opt==1                  -             -
388 package   dfi_ddfi      dfi_opt==2                  -             -
389 package   dfi_tdfi      dfi_opt==3                  -             -
391 # only need to specify these once; not for every io_form* variable
392 package   io_intio    io_form_restart==1                     -             -
393 package   io_netcdf   io_form_restart==2                     -             -
394 # Placeholders for additional packages (we can go beyond zzz
395 # but that will entail modifying frame/module_io.F and frame/md_calls.m4)
396 # Please note these are placeholders; HDF has not been implemented yet.
397 package   io_hdf      io_form_restart==3                     -             -
398 package   io_phdf5    io_form_restart==4                     -             -
399 package   io_grib1    io_form_restart==5                     -             -
400 package   io_mcel     io_form_restart==6                     -             -
401 package   io_esmf     io_form_restart==7                     -             -
402 package   io_yyy      io_form_restart==8                     -             -
403 package   io_zzz      io_form_restart==9                     -             -
404 package   io_grib2    io_form_restart==10                    -             -
405 package   io_pnetcdf  io_form_restart==11                    -             -
406 package   io_pio      io_form_restart==12                    -             -
407 package   io_netcdfpar io_form_restart==13                   -             -
408 package   io_adios2   io_form_restart==14                    -             -
410 #WRF Hydro
411 package   no_wrfhydro    wrf_hydro==0                -            -
412 package   wrfhydro       wrf_hydro==1                -            -
414 #---------------------------------------------------------------------------------------------------------------------------------------
415 ## communications                                               
417 ### 8. Edit the Registry file and create a halo-exchange for x_1.
419 # Halo Update Communications
421 halo      HALO_EM_C dyn_em    4:u_2,v_2