WRF Hydro User Guide v3.0
WRF Hydro User Guide v3.0
Version 3.0
Originally Created:
April 14, 2013
Updated:
May 2015
Gochis, D.J., W. Yu, D.N. Yates, 2015: The WRF-Hydro model technical description
and user’s guide, version 3.0. NCAR Technical Document. 120 pages. Available online
at: http://www.ral.ucar.edu/projects/wrf_hydro/.
1
WRF-‐Hydro
Technical
Description
and
User’s
Guide
FORWARD
This User’s Guide describes the WRF-Hydro model coupling architecture and physics
options, released in May 2015. As the WRF-Hydro system is developed further, this
document will be continuously enhanced and updated. Please send feedback to
wrfhelp@ucar.edu.
This document is complementary to the main Weather Research and Forecasting (WRF)
model User’s Guide and technical document
(http://www.mmm.ucar.edu/wrf/users/docs/arw_v3.pdf), which describes the equations,
numerics, boundary conditions, and nesting etc. of the WRF model in greater detail. To
the degree practicable, this document parallels the structure of the WRF model
documents.
For the latest version of this document, please visit the WRF-Hydro Users’ Web site at
http://www.mmm.ucar.edu/wrf/users/.
Prepared by:
David Gochis, Wei Yu, David Yates, Kevin Sampson
Special Acknowledgments:
Development of the NCAR WRF-Hydro system has been significantly enhanced through
numerous collaborations. The following persons are graciously thanked for their
contributions to this effort:
2
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Funding support for the development and application of the WRF-Hydro system has been
provided by:
The National Science Foundation and the National Center for Atmospheric Research
The U.S. National Weather Service
The Colorado Water Conservation Board
Baron Advanced Meteorological Services
National Aeronautics and Space Administration (NASA)
National Oceanic and Atmospheric Administration (NOAA) Office of Hydrological
Development (OHD)
3
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Table of Contents
1. Overview:
1.1 Brief history
1.2 Model requirements
1.3 Computational/hardware requirements
5.1 Overview
4
WRF-‐Hydro
Technical
Description
and
User’s
Guide
APPENDICES:
A1.1 Noah HRLDAS model namelist description (namelist.hrldas)
A1.2 NoahMP HRLDAS model namelist description (namelist.hrldas)
A2. WRF-Hydro model namelist description (hydro.namelist)
A3. Vegetation parameter table (VEGPARM.TBL)
A4. Soil parameter table (SOILPARM.TBL)
A5. General parameters table (GENPARM.TBL)
A6. Channel parameters table (CHANPARM.TBL)
A7. Lake parameters table (LAKEPARM.TBL)
A8. Groundwater/baseflow bucket model parameters table
(GWBUCKPARM.TBL)
A9. Terrestrial hydrological hydraulic parameters table
(HYDRO.TBL)
A10. High-resolution terrain model netcdf file header
(Full_domain_hires*)
A11. Forcing data netcdf file header (*LDASIN* and
*PRECIP_FORCING.nc)
A12. Land model output netcdf file header (*LDASOUT*)
A13. High resolution routing grid output netcdf file header
(*RTOUT*)
A14. Channel observation point netcdf file header (*CHANOBS*)
A15. Channel network point netcdf file header (*CHRTOUT*)
A16. Channel network gridded netcdf file header
(*CHRTOUT_GRID*)
A16. Lake point netcdf file header (*LAKES*)
A17. Forecast/observation point ASCII output file (frxst_pts.txt)
A18. Channel inflow ASCII output file (chan_inflow.txt)
5
WRF-‐Hydro
Technical
Description
and
User’s
Guide
1. Introduction
The purpose of this technical note is to describe the physical parameterizations,
numerical implementation, coding conventions and software architecture for the NCAR
Weather Research and Forecasting model (WRF) hydrological extension package,
hereafter referred to as WRF-Hydro. Chapters 1-4 provide the overview historical
development of the WRF-Hydro (Chapter 1), a technical description of the WRF-Hydro
code and steps to install and execute the system (Chapter 2), description of model physics
options (Chapter 3), WRF-Hydro pre-processing, initialization and output file
descriptions (Chapter 4), description of example use cases (Chapter 5) and a catalog of
utility programs that accompany the WRF-Hydro system (Chapter 6). Examples and
descriptions of all major input, output, parameter and namelist files are provided in the
Appendices. The system is intended to flexible and extensible and users are encouraged
to develop, add and improve components to meet their application needs.
It is critical to understand, that like the WRF atmospheric modeling system, the WRF-
Hydro modeling system is not a singular ‘model’ per se but, instead, instead it is a
modeling architecture that facilitates coupling of multiple hydrological process
representations together. There are numerous (over 100) different configuration
permutations possible in WRF-Hydro Version 3.0. User’s need to become familiar with
the concepts behind the processes within the various model options in order to optimally
tailor the system for particular research and application activities.
6
WRF-‐Hydro
Technical
Description
and
User’s
Guide
7
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Figure 1.2. Model schematic illustrating where many existing atmosphere, land surface
and hydrological model components could fit into the WRF-Hydro architecture. NOTE:
Not all of these models are currently coupled into WRF-Hydro at this time. This
schematic is meant to be illustrative. Components which are coupled have an asterisk (*)
by their name.
8
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Both the Noah land surface and Noah-MP land surface model options are available for
use in the current version of the WRF-Hydro. The rest of this document will focus on
their implementation. Future versions will include other land surface model options.
Like nearly all current land surface models, the Noah and Noah-MP land surface
parameterization requires a few basic meteorological forcing variables including:
Table 1.2 Input meteorological forcing data for the Noah and NoahMP LSMs
[Different land surface models may require other or additional forcing variables or the
specification of forcing variables in different units.]
When coupled to the WRF regional atmospheric model the meteorological forcing data is
provided by the atmospheric model with a frequency dictated by the land surface model
time-step specified in WRF. When run in a stand-alone mode, meteorological forcing
data must be provided as gridded input time series. Further details on the preparation of
forcing data for stand-alone WRF-Hydro execution is provided in Chapter 4.
External, third party, Geographic Information System (GIS) tools are used to delineate a
stream channel network, open water (i.e., lake, reservoir, and ocean) grid cells and
groundwater/baseflow basins. Water features are mapped onto the high-resolution terrain-
routing grid and post-hoc consistency checks are performed to ensure consistency
between the coarse resolution Noah/Noah-MP land model grid and the fine resolution
terrain and channel routing grid.
9
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The WRF-Hydro model components calculate fluxes of energy and moisture either back
to the atmosphere or also, in the case of moisture fluxes, to stream and river channels and
through reservoirs. Depending on the physics options selected, the primary output
variables include:
WRF-Hydro utilizes a combination of netcdf and flat ASCII file formats for input and
output and therefore requires that netcdf libraries be installed on the local machine
executing the simulations. For information regarding netcdf data structures and where to
obtain netcdf libraries please visit the official netcdf website hosted by UNIDATA at:
http://www.unidata.ucar.edu/software/netcdf/.
10
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The FORTRAN90 modular architecture of the WRF-Hydro allows for extensibility and
compatibility of existing and newly developed parameterizations. Input/output is handled
using netCDF data protocols, which enable easy visualization and analysis using an array
of readily available software packages (e.g. R, ncl, Unidata’s IDV, IDL, ArcGIS, GrADS,
MATLAB). The open-source, modular architecture is advantageous for community-
based modeling systems where development occurs in geographically disparate locations.
11
WRF-‐Hydro
Technical
Description
and
User’s
Guide
This chapter presents the technical description of the WRF-Hydro model code including:
12
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The code has been compiled using the Portland Group FORTRAN compiler, the Intel
‘ifort’ compiler and the public license GNU Fortran compiler ‘gfort’ (for use with Linux-
based operating systems on desktops and clusters) and the IBM AIX FORTRAN
compilers (for supercomputers).
Because the WRF-Hydro modeling system relies on NETCDF input and output file
conventions, NETCDF FORTRAN libraries must be installed and properly compiled on
the system upon which WRF-Hydro is to be executed. Not doing so will result in error
numerous ‘…undefined reference to netcdf library …’ or similar messages upon
compilation.
The coupling structure is illustrated here, briefly, in terms of the coupling of WRF-Hydro
into the WRF model. A similar approach is used for coupling the WRF-Hydro extension
package into other modeling systems or for coupling other modeling systems into WRF-
Hydro.
Example: For coupled WRF/WRF-Hydro runs the WRF-Hydro components get compiled
as a single library function call with the WRF system. As such there is only a single
executable that gets created upon compilation (wrf.exe) (See Section 2.5 below for
further details on the configuration and compilation procedure for coupled WRF/WRF-
14
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Hydro runs.) As illustrated in Figure 2.3 WRF-hydro is called directly from WRF in the
WRF surface driver module (phys/ module_surface_driver.F). The code that manages
the communication is the WRF_drv_Hydro.F interface module that is contained within
the WRF_cpl/ directory. The WRF_drv_Hydro.F interface module is the specific
instance of a ‘General WRF-Hydro Coupling Interface’ for the WRF model which passes
data, grid and time information between WRF and WRF-Hydro. Components within
WRF-Hydro then manage the dynamic regridding (‘data mapping’) and sub-component
routing functions (e.g. surface, subsurface and/or channel routing) within WRF-Hydro
(see Fig. 1.1 for an illustration of components contained within WRF-Hydro). Upon
completion of the user-specified routing functions, WRF-Hydro will remap the data back
to the WRF model grid and then pass the necessary variables back to the WRF model
through the WRF_drv_Hydro.F interface module. Therefore, the key component of the
WRF-Hydro system is the proper construction of the WRF_cpl_Hydro interface module
(or more generally ‘XXX_cpl_Hydro’). Users wishing to couple new modules to WRF-
Hydro will need to create a unique ‘General WRF-Hydro Coupling Interface’ for their
components. Some additional examples of this interface module are available upon
request for users to build new coupling components. This simple coupling interface is
similar in structure to other general model coupling interfaces such as those within the
Earth System Modeling Framework (ESMF) or the Community Surface Dynamics
Modeling System (CSDMS).
Figure 2.3 Schematic illustrating the coupling and calling structure of WRF-Hydro from
the WRF Model.
15
WRF-‐Hydro
Technical
Description
and
User’s
Guide
This is the top level directory present immediately following untarring of the WRF-
Hydro file tar package:
This section provides a brief description of the file contents of each directory where the
model code resides. Code descriptions in bold italics indicate code that is relevant to
routing modeling and/or more frequently accessed or modified routines.
David Gochis 6/2/2015 6:24 PM
Comment [1]: NEED TO CONFIRM THIS
arc/
-‐
directory
containing
macro
files
reside
which
specify
the
compile
DIRECTORY STRUCTURE IS STILL CORRECT.
configurations,
compiler
options,
links
to
netcdf
libraries,
etc.
configure
-‐
script
to
configure
the
WRF-‐Hydro
compilation
Data_Rec/
-‐
directory
containing
some
data
declaration
modules
Land_models/Noah/
-‐
directory
containing
the
Noah
land
surface
model
driver
for
offline
or
uncoupled
applications
(see
documentation
on
the
HRLDAS
should
you
desire
to
make
changes
to
it:
http://www.ral.ucar.edu/research/land/technology/lsm.php)
Land_models/NoahMP/
-‐
directory
containing
the
Noah-‐MP
land
surface
model
driver
for
offline
or
uncoupled
applications
CPL/Noah_cpl/
-‐
directory
containing
the
WRF-‐Hydro
coupling
interface
for
coupling
WRF-‐Hydro
components
with
the
offline
Noah
land
surface
model
data
assimilation
and
forecasting
system
CPL/NoahMP_cpl/
-‐
directory
containing
the
WRF-‐Hydro
coupling
interface
for
coupling
WRF-‐Hydro
components
with
the
offline
Noah-‐MP
land
surface
model
data
assimilation
and
forecasting
system
HYDRO_drv/
-‐
directory
containing
the
high
level
WRF-‐Hydro
component
driver:
module_HYDRO_drv.F
lib/
-‐
directory
where
compiled
libraries
are
written
macros
-‐
macro
definition
file
created
by
the
‘configure’
script
that
specifies
compilation
settings
16
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Makefile
-‐
the
top-‐level
makefile
for
building
and
cleaning
HRLDAS
code
Makefile.comm
-‐
the
top-‐level
makefile
for
building
and
cleaning
WRF-‐
Hydro
code
mod/
-‐
directory
where
compiled
.mod
files
are
written
upon
compilation
MPP/
-‐
directory
containing
parallel
model
code
README.hydro
-‐
WRF-‐Hydro
README
file
Routing/
-‐
directory
containing
modules
and
drivers
related
to
specific
routing
processes
in
WRF-‐Hydro:
Makefile
–
Makefile
for
WRF-‐Hydro
components
module_channel_routing.F
–
module
containing
WRF-‐Hydro
channel
routing
components
module_date_utilities_rt.F
–
module
containing
various
date/time
utilities
for
routing
module_GW_baseflow.F
–
module
containing
model
physics
module
for
simple
baseflow
model
module_HYDRO_io.F
–
module
containing
WRF-‐Hydro
input/output
functions
module_HYDRO_utils.F
–
module
containing
several
WRF-‐Hydro
utilities
module_lsm_forcing.F
–
module
containing
the
options
for
reading
in
different
forcing
data
types
module_noah_chan_param_init_rt.F
–
module
containing
routines
to
initialize
WRF-‐Hydro
routing
grids
module_RT.F
–
module
containing
the
principle
routing
driver
which
calls
all
the
WRF-‐Hydro
routing
components
Noah_distr_routing.F
–
module
containing
overland
flow
and
subsurface
physics
routines
17
WRF-‐Hydro
Technical
Description
and
User’s
Guide
18
WRF-‐Hydro
Technical
Description
and
User’s
Guide
1. Upon initialization static land surface physiographic data are read into the WRF-
Hydro system and the model domain and computational arrays are established.
2. Depending on whether or not WRF-Hydro is run offline as a stand-alone system
or whether it is coupled into another architecture, either forcing data is read in or
land surface states and fluxes are passed in.
3. For offline simulations which require land model execution, the 1-D, gridded land
surface model is executed.
4. Land surface states and fluxes are then disaggregated to the high resolution terrain
routing grids if routing is activated and there is a difference between the land
model grid and the routing grid.
5. If activated, sub-surface routing physics are executed.
6. If activated, surface routing physics are executed.
7. If activated, the conceptual baseflow model is executed.
8. If activated, channel and reservoir routing components are executed.
9. Updated land surface states and fluxes are then aggregated from the high
resolution terrain routing grid to the land surface model grid.
10. Results from these integrations are then written to the model output files and
restart files or, in the case of a coupled WRF/WRF-Hydro simulation, passed back
to the WRF model.
19
WRF-‐Hydro
Technical
Description
and
User’s
Guide
20
WRF-‐Hydro
Technical
Description
and
User’s
Guide
ii. If the user's netcdf library combined them together (i.e. there is only one
built netcdf library), the user will need to manually change this part in
order to successfully compile WRF-Hydro. Refer to the README.hydro
file on porting about how to change this.
NOTE: WRF-Hydro v3.0 does not presently support parallel netcdf capabilities
in netcdf 4.0 but it will in future versions. WRF-Hydro does currently support
parallel I/O of binary restart files. See additional detail in hydro.namelist
description.
21
WRF-‐Hydro
Technical
Description
and
User’s
Guide
a. Configure WRF-Hydro:
To configure the WRF-Hydro one needs to run the ‘./configure’ script that is
contained within the top-level WRF-Hydro directory. There are several
options for configuring the model build which have been created. New
executables will be placed in the ‘Run/’ directory upon successful
compilation.
At this point users should verify that all of the variables and pathways that
need to be specified in the ‘macros’ file are properly setup or linked (e.g.
22
WRF-‐Hydro
Technical
Description
and
User’s
Guide
b. Clean out all old model object files and executable files:
Issue the following command:
%make clean
wrf_hydro.exe
Be sure to check the date on the executable to make sure that you have
compiled successfully. Again, if you experience problems compiling try
typing 'make clean' to remove old object files.
It is recommended that users copy the contents of the Run/ directory to a new
location to begin their work. Additional requirements to run WRF-Hydro
under its various compilations are as follows:
23
WRF-‐Hydro
Technical
Description
and
User’s
Guide
2) When compiling the WRF-Hydro offline version with Noah land surface
model, the contents under hydro/Land_models/Noah/Run are required to run
wrf_hydro.exe.
ii. If you have not already done so, set the WRF-Hydro environment
variable to specify that WRF-Hydro will be active. [setenv
WRF_HYDRO 1]
iii. If you have not already done so run the WRF-Hydro configure script
and compile the stand-alone WRF-Hydro code as specified above.
Although you will not use the executable created from this compilation
this will guarantee that the WRF-Hydro part compiles correctly. If it
does not compile correctly, then you will need to fix that compilation
so it does before you can compile WRF-Hydro with WRF.
iv. Compile the WRF model as you normally would. The setting of the
WRF-Hydro environment variable will force WRF-Hydro to be
compiled with WRF. If successful a single ‘wrf.exe’ executable will
be created in the WRF main/ directory.
It is highly recommended that users follow the example provided in the ‘test
cases’ for a fully-coupled WRF run. Users should refer to the WRF
documentation for questions regarding the setup of the WRF model or its data
requirements. For the latest version of this document, please visit the WRF-
Hydro Users’ Web site at: http://www.mmm.ucar.edu/wrf/users/.
25
WRF-‐Hydro
Technical
Description
and
User’s
Guide
a. Create a project Run/ directory: Once the proper model executable file has
been created users will need to create and populate a run directory from which
the model will be executed. As stated above, all of the appropriate parameter
tables, model namelist files and the model executable need to be placed in this
directory and can be copied from the ‘Run/’ directory listed above and also
have the model executable linked into it.
d. Edit the namelists. Open and edit 'namelist.hrldas' and ‘hydro.namelist’ to set
up a simulation to your specifications. WRF-Hydro offline system which
drives the Noah/Noah-MP land surface model are the only two uncoupled
land model option currently available in the stand-alone version WRF-Hydro
version 3.0. The namelist files are fairly well commented. The directory for
input forcing data must be specified (INDIR), as must the pathway and
filename to the GEO_STATIC file (GEO_STATIC_FLNM, aka a ‘geogrid’
file which is created from WRF pre-processing software) and type of forcing
data (FORC_TYP). Similarly, for simulations where routing components are
activated, a GEO_FINEGRID_FLNM must be specified. Be sure to activate
only those routing switches for which you have the required data. Routing
timestep 'DTRT' must be set in accordance with the routing grid spacing in
order to satisfy Courant constraints (see the Documentation Chapter 3.5 for a
discussion on Courant constraints). Be sure to include the full path and
26
WRF-‐Hydro
Technical
Description
and
User’s
Guide
directory when specifying Routing Input Files. Description of the terms in the
namelist are given in the Documentation Chapter 2.6 and example namelists
with descriptive comments are provided in Appendices A1 and A2.
e. Execute the model. Assuming the model was built to use the Noah or
NoahMP land surface models, type './wrf_hydro.exe' at the command line to
execute the sequential version the model. For parallel runs the command may
differ according the specifications of the parallel-processing software on
individual machines but a common execution command may look like
‘mpirun –np # wrf_hydro.exe’, where # is the number of processors to be
used. If run successfully, output will be generated as a series of netcdf files
with associated time and date information in the filenames. Depending on the
runtime options selected a number of netcdf and ASCII output files may also
be created.
27
WRF-‐Hydro
Technical
Description
and
User’s
Guide
28
WRF-‐Hydro
Technical
Description
and
User’s
Guide
It is highly recommended that users follow the example provided in the ‘test
cases’ for a fully-coupled WRF run. Users should refer to the WRF
documentation for questions regarding the setup of the WRF model or its data
requirements. For the latest version of this document, please visit the WRF-
Hydro Users’ Web site at: http://www.mmm.ucar.edu/wrf/users/.
29
WRF-‐Hydro
Technical
Description
and
User’s
Guide
There are two namelist files that users must edit in order to successfully execute the
WRF-hydro system in an ‘offline’ mode or ‘uncoupled’ to the WRF. One of these
namelist files is the ‘hydro.namelist’ file and in it are the various settings for operating all
of the routing components of the WRF-Hydro system. The hydro.namelist file is well
commented so that it should be very clear as to what is needed for each setting. A full
printout of the hydro.namelist file is provided in Appendix A2.
David Gochis 6/2/2015 7:00 PM
Comment [2]: Verify this is updated…
The second namelist is the namelist which specifies the land surface model options to be
used. This namelist can change depending on which land model is to be used in
conjunction with the WRF-Hydro routing components. For example, a user would use
one namelist when running the Noah land surface model coupled to WRF-Hydro but that
user would need to use a different namelist file when running the CLM model, the
NoahMP model or NASA LIS model coupled to WRF-Hydro. The reason for this is the
WRF-Hydro is intended to be ‘minimally-invasive’ to other land surface models or land
model driver structures and not require significant changes to those systems. This
minimal invasiveness facilitates easier coupling with new systems and helps facilitate
easy supportability and version control with those systems.
In WRF-Hydro v3.0, the Noah and Noah-MP land surface models are the main land
surface model options when WRF-Hydro is run in an uncoupled mode. As noted above,
the namelist.hrldas is different between Noah and Noah-MP, although they have the same
name. For a run where WRF-Hydro is coupled to the WRF model, the WRF model input
file (namelist.input) becomes the second namelist file. A full printout of the
‘namelist.hrldas’ file is provided in Appendix A1.
David Gochis 6/2/2015 7:03 PM
Comment [3]: Make sure this is updated.
30
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Subsurface lateral flow in WRF-Hydro is calculated prior to the routing of overland flow
to allow exfiltration from fully saturated grid cells to be added to the infiltration excess
calculated from the LSM. The current existing method used to calculate the lateral flow
of saturated soil moisture is that of Wigmosta et al. (1994) and Wigmosta and
Lettenmaier (1999), implemented in the Distributed Hydrology Soil Vegetation Model
(DHSVM). It calculates a quasi-3D flow, which includes the effects of topography,
saturated soil depth, and depth-varying saturated hydraulic conductivity values.
Hydraulic gradients are approximated as the slope of the water table between adjacent
grid cells in either the steepest descent or in both x- and y-directions. The flux of water
from one cell to its down-gradient neighbor on each time-step is approximated as a
steady-state solution.
The saturated subsurface routing methodology of Wigmosta et al. (1994) has no explicit
information on soil layer structure: it treats the soil as a single homogeneous column.
Typically, a minimum of four soil layers are used in a 2-meter soil column used in WRF-
31
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Hydro but this is not a strict requirement. Additional discretization permits improved
resolution of a time-varying water table height and users may vary the number and
thickness of soil layers in the model namelist described in the Appendices A1 and A2.
WRF-Hydro specifies the water table depth according the depth of the top of the
saturated soil layer that is nearest to the surface.
Additional modules have also been implemented to represent stream channel flow
processes, lakes and reservoirs and stream baseflow. In WRF-Hydro v3.0 inflow into the
stream network and lake and reservoir objects is a one-way process. Overland flow
reaching gridcells identified as ‘channel’ grid cells pass a portion of the surface water in
excess of the local ponded water retention depth to the channel model. This current
formulation implies that stream and lake inflow from the land surface is always positive
to the stream or lake element. There currently are no channel or lake loss functions
32
WRF-‐Hydro
Technical
Description
and
User’s
Guide
where water can move from channels or lakes back to the landscape. Channel flow in
WRF-Hydro is represented by one of a few different user-selected methodologies
described below. Water passing into and through lakes and reservoirs is routed using a
simple level pool routing scheme. Baseflow, to the stream network, is represented using
a conceptual catchment storage-discharge bucket model formulation (discussed below)
which obtains ‘drainage’ flow from the spatially-distributed landscape. Discharge from
buckets is input directly into the stream using an empirically-derived storage-discharge
relationship. If overland flow is active, the only water flowing into the buckets comes
from soil drainage. This is because the overland flow scheme will pass water directly to
the channel model. If overland flow is switched off and channel routing is still active,
then surface infiltration excess water from the land model is collected over the pre-
defined catchment and pass into the bucket as well. Each of these process options are
enabled through the specification of switches in the model namelist file.
33
WRF-‐Hydro
Technical
Description
and
User’s
Guide
3.2 Land model description: The community Noah and NoahMP land surface models
The Noah land surface model is a state of the art, community, 1-dimensional land surface
model that simulates soil moisture (both liquid and frozen), soil temperature, skin
temperature, snowpack depth, snowpack water equivalent, canopy water content and the
energy flux and water flux terms at the earth’s surface (Mitchell et al., 2002; Ek et al.,
2003). The model has a long heritage, with legacy versions extensively tested and
validated, most notably within the Project for Intercomparison of Land surface
Paramerizations (PILPS), the Global Soil Wetness Project (Dirmeyer et al. 1999), and the
Distributed Model Intercomparison Project (Smith, 2002). Mahrt and Pan (1984) and
Pan and Mahrt (1987) developed the earliest predecessor to Noah at Oregon State
University (OSU) during the mid-1980’s. The original OSU model calculated sensible
and latent heat flux using a two-layer soil model and a simplified plant canopy model.
Recent development and implementation of the current version of Noah has been
sustained through the community participation of various agency modeling groups and
the university community (e.g. Chen et al., 2005). Ek et al. (2003) detail the numerous
changes that have evolved since its inception including, a four layer soil representation
(with soil layer thicknesses of 0.1, 0.3, 0.6 and 1.0 m), modifications to the canopy
conductance formulation (Chen et al., 1996), bare soil evaporation and vegetation
phenology (Betts et al., 1997), surface runoff and infiltration (Schaake et al., 1996),
thermal roughness length treatment in the surface layer exchange coefficients (Chen et
al., 1997a) and frozen soil processes (Koren et al., 1999). More recently refinements to
the snow-surface energy budget calculation (Ek et al., 2003) and seasonal variability of
the surface emmissivity (Tewari et al., 2005) have been implemented.
The Noah land surface model has been tested extensively in both offline (e.g., Chen et al.,
1996, 1997; Chen and Mitchell, 1999; Wood et al., 1998; Bowling et al., 2003) and
coupled (e.g. Chen et el., 1997, Chen and Dudhia, 2001, Yucel et al., 1998; Angevine and
Mitchell, 2001; and Marshall et al., 2002) modes. The most recent version of Noah is
currently one of the operational LSP’s participating in the interagency NASA-NCEP real-
time Land Data Assimilation System (LDAS, 2003, Mitchell et al., 2004 for details).
Gridded versions of the Noah model are currently coupled to real-time weather
forecasting models such as the National Center for Environmental Prediction (NCEP)
North American Model (NAM), and the community WRF model.
Users are referred to Ek et al. (2003) and earlier works for more detailed descriptions of
the 1-dimensional land surface model physics of the Noah LSM.
34
WRF-‐Hydro
Technical
Description
and
User’s
Guide
In WRF-Hydro the routing portions of the code have been structured so that it is simple
to perform both surface and subsurface routing calculations on gridcells that potentially
differ from the native land surface model gridsizes provided that each land surface model
gridcell is divided into integer portions for routing. Hence routing calculations can be
performed on comparatively high-resolution land surfaces (e.g. a 25 m digital elevation
model) while the native land surface model can be run at much larger (e.g. 1 km) grid
sizes. (In this example, the integer multiple of disaggregation in this example would be
equal to 40.) This capability adds considerable flexibility in the implementation of WRF-
Hydro. However, it is well recognized that surface hydrological responses exhibit
strongly scale-dependent behavior such that simulations at different scales, run with the
same model forcing may yield quite different results.
35
WRF-‐Hydro
Technical
Description
and
User’s
Guide
JXR and AGGFACTR 1 will yield effective changes in model resolution between the
land model and terrain routing grids.
[NOTE: As described in the Overland Flow Routing section below, DXRT and DTRT
must always be specified in accordance with the routing grid even if they are the same as
the native land surface model grid.]
Figure 3.2 Example of the routing sub-grid implementation within the regular land
surface model grid for an aggregation factor = 4.
Routing Subgrids
AGGFACTR = 4
Four model variables are required to be disaggregated for higher resolution routing
calculations: David Gochis 6/5/2015 7:30 PM
Formatted: Highlight
David Gochis 6/5/2015 7:30 PM
SMCMAX - maximum soil moisture content for each soil type
Comment [4]: Is soil ice faction also included?
INFXS - infiltration excess
LKSAT - lateral saturated conductivity for each soil type
SMC - soil moisture content for each soil layer
36
WRF-‐Hydro
Technical
Description
and
User’s
Guide
In the model code, fine-grid values bearing the same name as these with an ‘R’ extension
are created for each native land surface model grid cell (e.g. INFXSR vs INFXS).
To preserve the structure of the spatial variability of soil moisture content on the sub-grid
from one model time step to the next, simple, linear sub-grid weighting factors are
assigned. These values indicate the fraction of the of total land surface model grid value
that is partitioned to each sub-grid pixel.
David Gochis 6/5/2015 7:30 PM
Comment [5]: Verify this in code…
After disaggregation, the routing schemes are executed using the fine grid values.
Following execution of the routing schemes the fine grid values are aggregated back to
the native land surface model grid. The aggregation procedure used is a simple linear
average of the fine gird components. For example the aggregation of surface head
(SFHEAD) from the fine grid to the native land surface model grid would be:
∑∑ SFHEADR ir , jr
SFHEADi , j = (1)
AGGFACTR 2
where, ir and jr are the indices of all of the gridcells residing within the native land model
grid cell i,j. The following variables are aggregated and, where applicable, update land
surface model variable values:
These updated values are then used on the next iteration of the land surface model.
37
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Subsurface lateral flow is calculated prior to the routing of overland flow. This is
because exfiltration from a supersaturated soil column is added to infiltration excess from
the land surface model, which, ultimately, updates the value of surface head prior to
routing of overland flow. A supersaturated soil column is defined as a soil column that
possesses a positive subsurface moisture flux which when added to the existing soil water
content is in excess of the total soil water holding capacity of the entire soil column.
Figure 3.3 illustrates the lateral flux and exfiltration processes in Noah-router.
In the current default implementation of WRF-Hydro with the Noah and NoaMP land
surface models, there are four soil layers. The depth of the soil layers in WRF-Hydro can
be manually specified in the model namelist file under the ‘ZSOIL’ variable. Users must
be aware that, in the present version of WRF-Hydro, total soil column depth and
individual soil layer thicknesses are constant throughout the entire model domain. Future
versions under development are relaxing this constraint.owever, the model is capable of
using a different distribution of soil column layer depths and these simply need to be
specified in the model namelist file. Assuming a 2 m soil profile the soil layer depths
(and associated water table depths) are:
38
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Using Dupuit-Forcheimer assumptions the rate of saturated subsurface flow at time t can
be calculated as:
where, qi,j is the flow rate from cell i,j, Ti,j is the transmissivity of cell i,j, i,j is the water
table slope and wi,j is the width of the cell which is fixed for a regular grid. i,j is
calculated as the difference in water table depths between two adjacent gridcells divided
by the grid spacing. The method by which the water table depth is determined is
provided below. Transmissivity is a power law function of saturated hydraulic
conductivity (Ksat i,j) and soil thickness (Di,j) given by:
39
WRF-‐Hydro
Technical
Description
and
User’s
Guide
⎧ Ksati , j Di , j ⎛ zi , j ⎞
⎪ ⎜⎜1 − ⎟⎟
Ti , j = ⎨ ni , j ⎝ Di , j ⎠ zi,j <= Di , j (3.2)
⎪
⎩ 0 zi,j >Di,j
where, zi,j is the depth to the water table. ni,j in Eq. (3.2) is defined as the local power law
exponent and is a tunable parameter that dictates the rate of decay of Ksati,j with depth.
When Eq. (3.2) is substituted into (3.1) the flow rate from cell i,j to its neighbor in the x-
direction can be expressed as
where,
⎛ w Ksati , j Di , j ⎞
γ x (i , j ) = − ⎜ i , j ⎟⎟ tan β x (i , j ) (3.4)
⎜ ni , j
⎝ ⎠
ni , j
⎛ zi , j ⎞
hi , j = ⎜1 − ⎟⎟ (3.5)
⎜ D
⎝ i, j ⎠
This calculation is repeated for the y-direction when using the two-dimensional routing
method. The net lateral flow of saturated subsurface moisture (Qnet) for cell i,j then
becomes:
Qnet (i , j ) = hi , j ∑ γ x (i , j ) + hi , j ∑ γ y (i , j ) (3.6)
x y
The mass balance for each cell on a model time step ( t) can then be calculated in terms
of the change in depth to the water table ( z):
1 ⎡ Qnet (i , j ) ⎤
(3.7)
Δz = − R(i , j ) ⎥ Δt
φ(i , j ) ⎢⎣ A ⎦
where, is the soil porosity, R is the soil column recharge rate from infiltration or deep
subsurface injection and A is the grid cell area. In WRF-Hydro, R, is implicitly
accounted for during the land surface model integration as infiltration and subsequent soil
moisture increase. Assuming there is no deep soil injection of moisture (i.e. pressure
driven flow from below the lowest soil layer), R, in WRF-Hydro is set equal to 0.
The methodology outlined in Equations 3.2-3.7 has no explicit information on soil layer
structure, as the method treats the soil as a single homogeneous column. Therefore,
changes in water table depth ( z) can yield water table depths, which fall within a
40
WRF-‐Hydro
Technical
Description
and
User’s
Guide
particular soil layer. WRF-Hydro specifies the water table depth according the depth of
the top of the highest (i.e. nearest to the surface) saturated layer. The residual saturated
water above the uppermost, saturated soil layer is then added to the overall soil water
content of the overlying unsaturated layer. This computational structure requires
accounting steps to be performed prior to calculating Qnet.
Given the timescale for groundwater movement and limitations in the model structure
there is significant uncertainty in the time it takes to properly spin-up groundwater
systems. The main things to consider include 1) the specified depth of soil and number
and thickness of the soil vertical layers and 2) the prescription of the model bottom
boundary condition. Typically, for simulations with deep soil profiles (e.g. > 10 m) the
bottom boundary condition is set to a ‘no-flow’ boundary (SLOPETYP = 8) in the
GENPARM.TBL parameter file (see Appendix A5, for a description of
GENPARM.TBL).
Terrain grid or Digital Elevation Model (DEM) Note: this grid may provided
at resolutions equal to or finer than the native land model resolution
Specification of the routing grid cell spacing (DXRT), routing grid time step
(DTRT) and subgrid aggregation factor (AGGFACTR-defined as the ratio of
the subgrid resolution to the native land model resolution, see Section 3.3
above.)
41
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Figure 3.4: Conceptual representation of terrain elements. Flow is routed across terrain
elements until it intersects a “channel” grid cell indicated by the blue line where it
becomes ‘in-flow’ to the stream channel network.
The diffusive wave formulation is a simplification of the more general St. Venant
equations of continuity and momentum for a shallow water wave. The two-dimensional
continuity equation for a flood wave flowing over the land surface is
∂h ∂qx ∂q y
= + = ie (3.8)
∂t ∂x ∂x
where, h is the surface flow depth; qx and qy are the unit discharges in the x- and y-
directions, respectively; and ie is the infiltration excess. The momentum equation used in
the diffusive wave formulation for the x-dimension is
42
WRF-‐Hydro
Technical
Description
and
User’s
Guide
∂h (3.9)
S fx = Sox −
∂x
where, Sfx is the friction slope (or slope of the energy grade line) in the x-direction, Sox is
the terrain slope in the x-direction and h/ x is the change in depth of the water surface
above the land surface in the x-direction.
In the 2-dimensional option, flow across the terrain grid is calculated first in the x- then
in the y-direction. In order to solve Eq. 3.8 values for qx and qy are required. In most
hydrological models they are typically calculated by use of a resistance equation such as
Manning’s equation or the Chezy equation, which incorporates the expression for
momentum losses given in Eq. 3.9. In WRF-Hydro, a form of Manning’s equation is
implemented:
qx = α x h β (3.10)
where,
S 1fx2 5
αx = ; β= (3.11)
nOV 3
where, nOV is the roughness coefficient of the land surface and is a tunable parameter and
is a unit dependent coefficient expressed here for SI units.
The overland flow formulation has been used effectively at fine terrain scales ranging
from 30-1000 m. There has not been rigorous testing to date, in WRF-Hydro, at larger
length-scales (> 250 m). This is due to the fact that typical overland flood waves possess
length scales much smaller than 1 km. Micro-topography can also influence the behavior
of a flood wave. Correspondingly, at larger grid sizes (e.g. > 300 m) there will be poor
resolution of the flood wave and the small-scale features that affect it. Also, at coarser
resolutions, terrain slopes between gridcells are lower due to an effective smoothing of
topography as grid size resolution is decreased. Each of these features will degrade the
performance of dynamic flood wave models to accurately simulate overland flow
processes. Hence, it is generally considered that finer resolutions yield superior results.
The selected model time step is directly tied to the grid resolution. In order to prevent
numerical diffusion of a simulated flood wave (where numerical diffusion is the artificial
dissipation and dispersion of a flood wave) a proper time step must be selected to match
the selected grid size. This match is dependent upon the assumed wave speed or celerity
(c). The Courant Number, Cn= c( t/ x), should be close to 1.0 in order to prevent
numerical diffusion. The value of the Cn also affects the stability of the routing routine
such that values of Cn should always be less than 1.0. Therefore the following model
time steps are suggested as a function of model grid size:
Table 3.2: Suggested routing time steps for various grid spacings
43
WRF-‐Hydro
Technical
Description
and
User’s
Guide
x (m) t (s)
30 2
100 6
250 15
500 30
1000 60
The overland flow routing option is activated using a switch parameter (OVRTSWTCH)
in WRF-Hydro model hydro.namelist. If activated the following terrain fields and model
namelist parameters must be provided:
Terrain grid or Digital Elevation Model (DEM) Note: this grid may provided
at resolutions equal to or finer than the native land model resolution
Channel network grid identifying the location of stream channel grid cells
Specification of the routing grid cell spacing (DXRT), routing grid time step
(DTRT) and subgrid aggregation factor (AGGFACTR-defined as the ratio of
the subgrid resolution to the native land model resolution, see Section 3.3
above.)
44
WRF-‐Hydro
Technical
Description
and
User’s
Guide
45
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Q
h
Q’
1 h’ n So
z
Tb
Channel Slope, So
Channel Length, Δx (m)
Channel side slope, z (m)
Constant bottom width, Tb (m)
Manning’s roughness coefficient, n
Channel flow down through the gridded channel network is performed using an explicit,
one-diemnsional, variable time-stepping diffusive wave formulation. As mentioned
above the diffusive wave formulation is a simplification of the more general St. Venant
equations for shallow water wave flow. Similarly, for channel routing, the mass and
momentum continuity equations are given as:
David Gochis 5/7/2015 10:49 PM
Comment [6]: Verify against code…to account
Continuity: ∂A + ∂Q = q (3.12) for code changes…
lat
∂t ∂x
2
∂Q ∂(βQ / A)
Momentum: + + gA ∂Z = − gAS f (3.13)
∂t ∂x ∂x
Where, t is the time, x is the streamwise coordinate, A is in the flow area of the cross
section, and qlat is the lateral inflow rate into the channel. In the momentum equation, Q
is the flow rate, is a momentum correction coefficient, Z is the water surface elevation,
g is gravity and Sf is the friction slope which is computed as:
2
Q
S f = ⎛⎜ ⎞⎟ (3.14)
⎝ K ⎠
where K is the conveyance, computed from the Manning’s equation:
Cm
K= AR 2 / 3 (3.15)
n
where n is the Manning’s roughness coefficient, A is the cross-sectional area, R is the
hydraulic radius (A/P), P is the wetted perimeter, and Cm is dimensional constant (1.486
for English units or 1.0 for SI units).
46
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Ignoring the convective term, the second term, in the momentum equation gives the
diffusive wave approximation of open channel flow. The momentum equation then
simplifies to:
∂x
( )
Q = −SIGN ∂Z K ∂Z
∂x
(3.16)
where the substitution for friction slope has been made and the SIGN function is 1 for
∂Z ∂x > 0 and -1 for ∂Z ∂x < 0 .
The numerical solution is obtained by discretizing the continuity equation over a raster
cell as:
Δt n
An+1 − An = (
Q 1 − Qin− 1 + Δtqlat
Δx i + 2 2
n
) (3.17)
where Qin+ 1 is the flux across the cell face between point i and i+1, and is computed as:
2
ΔZ in+1
Q n
= −SIGN(ΔZ n
i +1 )K (3.18)
i + 12 i + 12
Δx
where:
ΔZ in+1 = Z in+1 − Z in (3.19)
[
Kin+ 1 = 0.5 (1 + SIGN(ΔZin+1 ))Ki + (1 − SIGN(ΔZin+1 ))Ki+1
2
] (3.20)
Variable time-stepping in the diffusive wave channel routing module in order to satisfy
Courant constraints and avoid numerical dispersion and instabilities in the solutions.
Unlike typical overland flow flood waves which have very shallow flow depths, on the
order of millimeters or less, channel flood waves have appreciably greater flow depths
and wave amplitudes, which can potentially result in strong momentum gradients and
strong accelerations in a propagating wave. To properly characterize the dynamic
propagation of such highly variable flood waves it is often necessary to decrease model
time-steps in order to satisfy Courant conditions. Therefore WRF-Hydro utilizes a
variable time-step methodology. The initial value of the channel routing time-step is set
equal to that of the overland flow routing timestep which is a function of grid spacing. If,
during model integration the N-R convergence criteria for upstream-dowsntream
streamflow discharge values is not met, the channel routing time-step is decreased by a
factor of one-half and the N-R solver is called again.
It is important to note that use of variable time-stepping can significantly affect model
computational performance resulting in much slower solution times for rapidly evolving
47
WRF-‐Hydro
Technical
Description
and
User’s
Guide
streamflow conditions such as those occurring during significant flood events. Therefore,
selection of the time-step decrease factor (default value set to 0.5) and the N-R
convergence criteria can each affect model computational performance.
Uncertainty in channel routing parameters also can have a significant impact on the
accuracy of the model solution which implies that model calibration is often required
upon implementation in a new domain. Presently, all of the channel routing parameters
are prescribed as functions of stream order in a channel routing parameter table
‘CHANPARM.TBL’. The structure of this file is described in detail in Appendix A6. It
should be noted that prescription of channel flow parameters as functions of stream order
is likely to be a valid assumption over relatively small catchments and not over large
regions. Future versions of WRF-Hydro will incorporate options to prescribe spatially
distributed channel routing parameters (side slope, bottom width and roughness) within
the high-resolution terrain routing grid file.
The channel flow routing option is activated using a switch parameter (CHRTSWTCH)
in WRF-Hydro model hydro.namelist. If activated the following terrain fields and model
hydro.namelist parameters must be provided:
Terrain grid or Digital Elevation Model (DEM) Note: this grid may provided
at resolutions equal to or finer than the native land model resolution
Channel network grid identifying the location of stream channel grid cells
Strahler stream order grid identifying the stream order for all channel pixels
within the channel network
Channel flowdirection grid. This grid explicitly defines flow directions along
the channel network.
Optional: Forecast point grid. This grid is a grid of selected channel pixels for
which channel discharge and flow depth are to be output within a netcdf point
file and an ASCII timeseries file.
CHANPARM.TBL file must be present in the model run directory
48
WRF-‐Hydro
Technical
Description
and
User’s
Guide
A simple mass balance, level-pool lake/reservoir routing module allows for an estimate
of the inline impact of small and large reservoirs on hydrologic response. A
lake/reservoir or series of lakes/reservoirs are identified in the channel routing network,
and lake/reservoir storage and outflow are estimated using a level-pool routing scheme.
The only conceptual difference between lakes and reservoirs as represented in WRF-
Hydro is that reservoirs contain both orifice and weir outlets for reservoir discharge while
lakes only contain weirs.
Fluxes into a lake/reservoir object occur through the channel network and when surface
overland flow intersects a lake object. Fluxes from lake/reservoir objects are made only
through the channel network and no fluxes from lake/reservoir objects to the atmosphere
or the land surface are currently represented (i.e. there is currently no lake evaporation or
subsurface exchange between the land surface and lakes and reservoirs). The Level Pool
scheme tracks water elevation changes over time, h(t) where water from the reservoir can
exit either through weir overflow (Qw) and/or a gate-controlled flow (Qo), where these
outflows are functions of the water elevation and spillway parameters. Weir flow is given
3/ 2
as Qw (t ) = Cw Lh when h>hmax or Qw(t) = 0.0 when h≤hmax where, hmax is the maximum
height before the weir begins to spill (m), Cw is a weir coefficient, and L is the length of
the weir (m). Orifice flow is given as Qo (t ) = CoOa 2 gh , where Co is the orifice
coefficient, Oa is the orifice area (m2), and g is the acceleration of gravity (m/s2). In
addition, the level pool scheme is designed to track each reservoir’s surface area, Sa
(km2) as a function of water depth and the area at full storage, As (km2). Presently,
lake/reservoir object is assumed to have vertical side walls, such that the surface area is
always constant.
The following lake/reservoir parameters are required for level-pool routing and are
defined in the ‘LAKEPARM.TBL’ parameter table:
49
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The lake/reservoir flow routing option is activated when lake objects are defined and
properly indexed as a data field in the high resolution terrain routing grid file. If
lake/reservoir objects are present in the lake grid (and also within the channel network)
then routing through those objects will occur. There are several special requirements for
the lake grid and channel routing grids when lakes/reservoirs are to be represented and
these are discussed in Chapter 4. The following input data variables and parameter files
are required for level-pool routing:
50
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Aquifer processes contributing baseflow often operate at depths well below ground
surface. As such, there are often conceptual shortcomings in current land surface models
in their representation of groundwater processes. Because these processes contribute to
streamflow (typically as ‘baseflow’) a parameterization is often used in order to simulate
total streamflow values that are comparable with observed streamflow from gauging
stations. Therefore, a switch-activated baseflow module ‘module_GW_baseflow.F’ has
been created which conceptually (i.e. not physically-explicit) represents baseflow
contributions to streamflow. This model option is particularly useful when WRF-Hydro
is used for long-term streamflow simulation/prediction and baseflow or ‘low flow’
processes must be properly accounted for. Besides potential calibration of the Noah land
surface model parameters the conceptual baseflow model does not directly impact the
performance of the land surface model scheme. The new baseflow module is linked to
WRF-Hydro through the discharge of ‘deep drainage’ from the land surface soil column
(sometimes referred to as ‘underground runoff’).
51
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Qbasei = Ci eαi zi
Basin,Coeff.,Expon.,Zmax,Zinit
1,1.0000, 3.000, 150.00,10.0000
2,1.0000, 3.000, 250.00,40.0000
3,1.0000, 3.000, 150.00,30.0000
4,1.0000, 3.000, 100.00,20.0000
5,1.0000, 3.000, 100.00,50.0000
where, ‘Coeff.’ is the bucket model coefficient, ‘Expon.’ is the bucket model exponent
and ‘Zinit’ is the initial depth of water in the bucket model. It is important to remember
that a simple bucket model is a highly abstracted and conceptualized representation of
groundwater processes and therefore the depth of water values in the bucket have no real
physical basis. As mentioned above, initial values of the groundwater bucket model
parameters, including ‘Zinit’ are typically derived analytically or ‘offline’ from WRF-
Hydro and then are fine-tuned through model calibration. A description of the procedure
to derive initial groundwater bucket model parameters is provided in the Appendix A8.
To activate the simple baseflow bucket model in WRF-Hydro the user must do each of
the following:
52
WRF-‐Hydro
Technical
Description
and
User’s
Guide
If activated, three ASCII-formatted, time-series, output files are generated by the bucket
model parameterization that contain timeseries values of the flow into the bucket
(‘gw_inflow.txt’), flow out of the bucket (‘gw_outflow.txt’) and the conceptual depth of
water in the groundwater/baseflow bucket (‘gw_zlev.txt’).
53
WRF-‐Hydro
Technical
Description
and
User’s
Guide
4.1 Overview
4.2 Domain processing and description of surface physiographic input files
4.2 Description of meteorological forcing data input files
4.3 Description of output files
4.4 Description of parameter files
54
WRF-‐Hydro
Technical
Description
and
User’s
Guide
4.1 Overview
Utilizing the netcdf data model, there are two input data files that need to be created in
order to run WRF-Hydro. The two files specify the individual data layersthat are used for
modeling on the land surface model grid (or coarse grid) and the terrain routing grid (or David Gochis 6/7/2015 2:46 PM
Deleted:
high-resolution grid). Data contained in the land surface model grid is highly dependent
upon the specific land surface model (LSM) selected used in WRF-Hydro. As of version
3.0 of WRF-Hydo the Noah LSM and NoahMP LSM are supported though future
versions may incorporate additional LSMs such as the Community Land Model (CLM, David Gochis 6/7/2015 2:48 PM
Deleted: the preparation of this document only
Oleson et al., 2010). Conversely, because of the modular structure of WRF-Hydro, data
David Gochis 6/7/2015 2:48 PM
for the terrain routing grid should remain fairly consistent even when different LSMs are
Deleted: (Ek et al., 2003, Mitchell et al. 2002)
coupled into the system. Lastly, preparation of the LSM grid and the terrain grid are
David Gochis 6/7/2015 2:49 PM
required and these grids do not change, whether or not WRF-Hydro is executed in a Deleted: has been coupled into WRF-Hydro
coupled mode with the Weather Research and Forecasting (WRF) model. In the sections David Gochis 6/7/2015 2:57 PM
below, the data requirements for model execution are provided. An automated tool using Deleted: are the same
the ArcGIS software is introduced as are an example set of processing manual steps that
would create the required LSM and terrain routing grids. The last two sections describe
the required parameter data that must be specified, via parameter tables, to enable
channel routing, reservoir routing and a simple baseflow parameterization. David Gochis 6/7/2015 2:58 PM
Deleted: attributes
One key requirement in version 3.0 of WRF-Hydro in setting up the LSM and terrain
grids is that the spatial extent of the two grids must be identical and that the spatial
resolution of the terrain grid must be an integer multiple of the LSM grid. This is
because the terrain grid operates on a fine mesh overlain onto the LSM and that in WRF-
Hydro selected model state and flux variables are disaggregated/aggregated between the
LSM and terrain grids. This internal nesting in described above and in Gochis and Chen
(2003) allows the LSM to run at one spatial resolution while the terrain and stream
channel routing routines are executed on a much more finely resolved grid. While the
model can operate when both grids have equal spatial resolution (e.g. 100m or finer) this
sub-grid nesting capability is particularly useful in minimizing computational demands
when WRF-Hydro is coupled to WRF.
55
WRF-‐Hydro
Technical
Description
and
User’s
Guide
likely use this approach. Second, we present a methodology to develop a ‘custom’ LSM David Gochis 6/7/2015 3:01 PM
Deleted: as this model has already been coupled
grid data file in netcdf format using a set of tools known as netcdf command operators (or to WRF-Hydro and because this model is already
NCO commands). Users not familiar with the WRF modeling framework and who do coupled into the WRF model.
not desire to use WRF-Hydro may choose to use this second method. Either method can
produce a useable LSM grid data file.
56
WRF-‐Hydro
Technical
Description
and
User’s
Guide
grid cell. During execution of the Noah LSM the dominant land
cover type for each spatial grid cell is determined and assigned as
the single land cover type for the entire LSM grid cell (i.e. there is
no sub-grid mosaicking of land cover type.)
SOILCTOP: Top layer soil texture category, in units of fraction. This is a
3-dimensional array in x, y, and soil texture category where each
soil texture category is expressed as a fractional amount of area per
spatial grid cell. During execution of the Noah LSM the dominant
soil texture type for each spatial grid cell is determined and
assigned as the single soil texture type for the entire LSM grid
cell (i.e. there is no sub-grid mosaicking of soil texture type.)
GREENFRAC : Monthly mean green vegetation fraction values (units of
fraction). This is a 3-dimensional array in x, y and time. During
execution of the Noah LSM, the monthly values of green
vegetation fraction are interpolated to daily values and are updated
daily.
ALBEDO12M : Monthly mean surface albedo values (units of %) not
including snow effects. This is a 3-dimensional array in x, y and
time. During execution of the Noah LSM, the monthly values of
land surface albedo are interpolated to daily values and are updated
daily.
Users seeking to create their own LSM input datafiles only need to create those
fields listed above. An example procedure to do this within the netdf framework is David Gochis 6/7/2015 3:07 PM
Deleted: It is important to remember the above
described below. listed data fields are those that are required to run
the Noah LSM. while the geogrid pre-processor
creates an LSM grid data file that contains other
data fields which may not be required to run the
ii. Custom LSM grid netcdf file development: Noah LSM in an ‘offline’ or ‘uncoupled’ (i.e. un-
coupled to the WRF model) mode. Therefore, u
As described above, the data required to run a basic gridded implementation of the
Noah and NoahMP LSMs within WRF-Hydro include topographic elevation (units
of meters, ‘HGT_M’), latitude of each grid cell (units of decimal degrees,
‘XLAT_M’), longitude of each grid cell (units of decimal degrees, ‘XLONG_M’)
land use fraction (units of fraction, ‘LANDUSEF’), soil texture class (units of
fraction, ‘SOILCTOP’), monthly mean vegetation greenness fraction (units of
fraction, ‘GREENFRAC’) and monthly mean albedo values (units of %,
‘ALBEDO12M). Users creating their own LSM grids need to create netcdf files
containing the proper data with the proper units and specified filenames (filenames David Gochis 6/7/2015 3:09 PM
Deleted: (i.e. those users not using the WRF
are case sensitive). Once the user has created the individual netcdf data layers geogrid pre-processors
(either through code or a third party piece of software like ArcGIS or MATLAB),
the individual datafiles can be concatenated together into a single netcdf datafile
using netcdf command operators (‘NCO’-commands – see David Gochis 6/7/2015 3:09 PM
Deleted: e
http://nco.sourceforge.net/) the ‘concatenate.csh’ utility script contained within the
David Gochis 6/7/2015 3:09 PM
/utils/ directory distributed with the WRF-Hydro tarfile. Use of this script is
Deleted: o
described below towards the end of the section describing the terrain grid setup and
David Gochis 6/7/2015 3:10 PM
is also contained in the comment lines of the script.
Comment [8]: Need to make sure this /uitls/
directory is there…
57
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The most critical thing to remember when creating a custom LSM grid data file is
that the vegetation type index and the soils type index must be consistent with the
indices that will be defined in the vegetation and soils parameter tables described
below and in the Appendix. The index for vegetation and soils parameters is
defined in the SOILPARM.TBL parameter table and for the VEGPARM.TBL for
the Noah and NoahMP LSMs. These parameter tables are contained within the ???
directory of the WRF_Hydro tar package. Native data for the LSM grid can come David Gochis 6/7/2015 3:23 PM
Comment [9]: Need to verify the contents of the
from any number of different sources. However, in order to run a gridded main Run/ directory. Right now parameter tables are
implementation of the LSMs all data must be mapped to single, consistent grid and in each LSM’s run directory and there are some
hydro tables in one directory but not in the
that the spatial increment or resolution of the terrain grid must be an integer other….messy!
multiple (of value greater than or equal to 1) of the resolution of the LSM grid. David Gochis 6/7/2015 3:14 PM
Formatted: Highlight
David Gochis 6/7/2015 3:15 PM
iii. Land surface model parameter specification: Deleted: Therefore, it is also important to
Land surface parameters in the Noah LSM are specified in three different files: remember that
VEGPARM.TBL [For the Noah LSM only]: contains vegetation David Gochis 6/7/2015 3:16 PM
Deleted: The reason for this requirement is
parameters indexed by land use/land cover categories for use in the Noah LSM. discussed above in the General Overview section.
MPTABLE.TBL [For NoahMP LSM only] : contains vegetation David Gochis 6/7/2015 3:20 PM
parameters indexed by land use/land cover categories for use in the NoahMP Deleted: .
LSM.
SOILPARM.TBL : contains soil physical parameters indexed by soil
textural classes. This table is used by both the Noah and NoahMP LSMs. David Gochis 6/7/2015 3:21 PM
Deleted:
GENPARM.TBL : contains miscellaneous model parameters that are
applied globally. Examples of these files and description of their parameters is
given in the Appendix. This table is used by both the Noah and NoahMP LSMs.
David Gochis 6/7/2015 3:20 PM
Deleted:
iv. High-resolution terrain grid development
The high-resolution terrain routing grid specifies the data that are necessary to
route water across the landscape (via overland and saturated subsurface flow)
and through stream channels and lakes. Options also exist to specify baseflow David Gochis 6/7/2015 3:27 PM
Deleted: r
values for stream channel routing based on the conceptual catchment bucket
model formulation (see Section 3.8). The data layers contained within the David Gochis 6/7/2015 3:27 PM
Deleted: an empirical
high-resolution terrain grid include:
58
WRF-‐Hydro
Technical
Description
and
User’s
Guide
During runtime, selected model state and flux variables are passed to/from the
LSM grid to the terrain routing grid via a disaggregation/aggregation scheme David Gochis 6/7/2015 3:29 PM
Deleted: Data is
described above in Section 3.3. . In WRF-Hydro version 3.0 the main
requirement to enable the coarse-fine grid functionality is that the terrain grid David Gochis 6/7/2015 3:29 PM
Deleted: in Gochis and Chen (2003)
must exactly match the extent of the LSM grid and its dimensions must be
David Gochis 6/7/2015 3:30 PM
integer multiples of the LSM grid. The integer multiple between these grids,
Deleted: T
called the aggregation factor, can vary from 1 to n. Given the need to
interpolate, georeference and clip grids from different sources, resolutions and
spatial projections, it is highly advantageous to use a Geographical Information
System (GIS) or other geoprocessing libraries that are now available through
common scripting languages like R or Python. Below we first provide a brief
overview of a complete ArcGIS tool, called the ‘WRF-Hydro_GIS_Tool’, that
was created to help users automatically create a high resolution routing input
file using the ‘geogrid’ file described above and a high resolution topography
dataset or ‘digital elevation model’ (DEM). A fully-detailed User’s Manal for
the WRF-Hydro_GIS_Tool is available online at (???) and user’s are referred
to it for step by step instruction. Next, we provide an example procedure to David Gochis 6/7/2015 3:36 PM
Formatted: Highlight
manually create these grids, in netcdf format using the ESRI ArcGIS system.
David Gochis 6/7/2015 3:36 PM
Many other methods could be used as well so long as care is taken to
Deleted: In the following paragraphs
accurately map the LSM and terrain grids to one another. NCAR and others in
the hydro-informatics community are presently developing automated
algorithms for developing these data layers using other GIS packages such as
GRASS or MapWindow.
59
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Figure 4.1 Example of final channel grid format with 2 lake objects present.
Note that the main channel identifier index is 0 but that this number changes at
lake/reservoir outlet to correspond with the index value of each reservoir
shown in Figure 4.2 below. Also, all channel grid cells underneath a lake are
assigned as -9999.
Figure 4.2 Example of final lake grid format with 2 lake objects present.
60
WRF-‐Hydro
Technical
Description
and
User’s
Guide
61
WRF-‐Hydro
Technical
Description
and
User’s
Guide
6. Import the point file intor ArcGIS and define the projection
as geographic (e.g. WGS 84).
7. Project the point file to the desired projection specified in
the WRF geogrid file (e.g. Lambert Conic Conformal)
using the projection parameters provided in the ‘global
attributes’ section of the netcdf file header.
8. Use the Data Management -> Features -> Add X/Y Data
tool to add the x and y coordinates of the point to the point
attribute table in the projected (e.g. Lambert Conic
Conformal) coordinate system.
9. Edit the header in the ascii data file created in Step 3 above
to specify the correct xllcenter and yllcenter values and the
correct cell size values extracted from Step 4. Also set the
cellsize to the appropriate values (e.g. 1000 for 1000
meters). An example based on the raster data from Fig. XX
above is as follows:
ncols 269
nrows 279
xllcenter -134332.118354
yllcenter -138760.799122
cellsize 1000
NODATA_value -9999
62
WRF-‐Hydro
Technical
Description
and
User’s
Guide
new_grid = 90m_DEM_grid
(where the 90m_DEM_grid is the mosaicked and
projected Hydrosheds DEM.)
63
WRF-‐Hydro
Technical
Description
and
User’s
Guide
2. Once the high-resolution DEM has been defined one can proceed with
deriving flow direction, channel grid and stream order grids. These
tasks exist as pre-defined functions in the Spatial Analyst->Hydrology
toolbox or as part of the ArcHydro toolbox available through
(http://www.crwr.utexs.edu/giswr/ydro/ArcHOSS/index.cfm) The
steps to derive the these fields using ArcGIS are as follows:
64
32 128
16 1
8 2
4
64
WRF-‐Hydro
Technical
Description
and
User’s
Guide
65
WRF-‐Hydro
Technical
Description
and
User’s
Guide
66
WRF-‐Hydro
Technical
Description
and
User’s
Guide
LATITUDE
LONGITUDE
TOPGRAPHY
FLOWDIRECTION
CHANNELGRID
STREAMORDER
LAKEGRID
frxst_pts
gw_basns
OVROUGHRTFAC
RETDEPRTFAC
67
WRF-‐Hydro
Technical
Description
and
User’s
Guide
68
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Channel Parameters
StreamOrder
10,1, 'Bw HLINK ChSSlp MannN'
1, 5., 0.02, 1.0, 0.14
2, 10., 0.02, 0.6, 0.12
3, 20., 0.02, 0.3, 0.09
4, 30., 0.03, 0.18, 0.09
5, 40., 0.03, 0.05, 0.07
6, 60., 0.03, 0.05, 0.06
7, 60., 0.03, 0.05, 0.03
8, 60., 0.10, 0.05, 0.03
9, 60., 0.30, 0.05, 0.03
10, 60., 0.30, 0.05, 0.03
where, the first column is the Strahler stream order, ‘Bw’ is the channel bottom
width (unit of meters), ‘HLINK’ is the initial depth of water in the channel (unit
of meters), ‘ChSSlp’ is the channel side slope (units of rise/run) and ‘MannN’ is
the Manning’s roughness coefficient for that stream order.
It is important to keep in mind that there is large uncertainty associated with these
parameters. Therefore, model calibration is almost always warranted.
Also, because fully-distributed estimates of flow depth (HLINK) are not available
for model initialization, it is almost always necessary to use a small initial value
of HLINK and let the model come to its own equilibrium (i.e. ‘spin-up’) after
several hours of integration.
69
WRF-‐Hydro
Technical
Description
and
User’s
Guide
which describes the channel and lake routing schemes but they are also briefly
defined here. If lake/reservoirs are not being simulated one can just assign bogus
values for each parameter in the LAKEPARAM.TBL file. Failure to put any
value in the file may result in crashing the model and receiving an I/O error
message.
As described above and as shown in Fig. 4.2 each reservoir in the lake/reservoir
data layer is assigned an integer index value ranging from 1-# of lake objects.
The rest of the lake/reservoir parameters required for level-pool reservoir routing
are as follows and in the Appendix:
These lake parameter values are specified for each one of the lake objects defined
in the lake grid data layer contained within the high resolution terrain grid.
Typically, several of these parameters are derived within the high-resolution
terrain pre-processing stages described above using tools such as ArcGIS. Values
for the weir and orifice coefficients and sizes can be drawn from standard
engineering hydraulics textbooks (e.g. Chow et al., 1964). Weir parameters are
specified for reservoir ‘overflow’ or ‘spill’ and orifice parameters are specified
for design operations. Obviously, the behavior of the reservoir to store and
release water is highly dependent on these parameters and that parameter values
and reservoir operations data are often not available.
70
WRF-‐Hydro
Technical
Description
and
User’s
Guide
2,1.0000, 3.000, 250.00,40.0000
3,1.0000, 3.000, 150.00,30.0000
4,1.0000, 3.000, 100.00,20.0000
5,1.0000, 3.000, 100.00,50.0000
where, ‘Coeff.’ is the bucket model coefficient, ‘Expon.’ is the bucket model
exponent, ‘Zmax’ is the conceptual maximum depth of the bucket and ‘Zinit’ is
the initial depth of water in the bucket model. It is important to remember that a
simple bucket model is a highly abstracted and conceptualized representation of
groundwater processes and therefore the depth of water values in the bucket have
no real physical basis. Initial values of the groundwater bucket model parameters,
particularly ‘Zmax’ and ‘Zinit’ are typically derived analytically or ‘offline’ from
the WRF-Hydro and then are fine-tuned through model calibration. Full
description of the procedure to derive initial groundwater bucket model
parameters are presented in Chapter 3.8.
71
WRF-‐Hydro
Technical
Description
and
User’s
Guide
[NOTE: Different land surface models may require other or additional forcing variables
or the specification of forcing variables in different units.]
When coupled to the WRF regional atmospheric model the forcing data is provided by
the atmospheric model with a frequency dictated by the land surface model time-step
specified in WRF. Therefore when running WRF-Hydro in a ‘coupled’ mode with WRF,
there is no need to prepare forcing data.
When run in a stand-alone mode, these forcing data must be provided as gridded input
data. Presently, there are 6 forcing data input options in WRF-Hydro. Because it is
untenable to support a large variety of input file formats and data types within the model
WRF-Hydro requires that most processing of forcing data be handled external to the
model (i.e. as a ‘pre-process’) and that users get their forcing into one of the required
formats. This includes performing tasks like, gridding of station observations, making
sure forcing data is on the appropriate grid and has the correct variable name and units,
getting data into the prescribed netcdf format, etc. To facilitate these pre-processing
activities we have developed numerous scripts which can be executed to help in the
72
WRF-‐Hydro
Technical
Description
and
User’s
Guide
forcing data preparation process. These scripts are located in the ‘utils/’ directory and are
described below.
The input forcing data type is specified in the ‘namelist.hrldas’ input file with the
parameter name ‘FORC_TYP’ as follows:
FORC_TYP = 4
(in this example, the forcing data type is set to 4, which is the ’idealized’ forcing data
option.)
1 – HRLDAS hourly input files: All meteorological variables are packed into one netcdf
input file for each time with a filename of the form: 2011071300.LDASIN_DOMAIN2
2 - HRLDAS minute format input files: All meteorological variables are packed into one
netcdf input file for each time with a filename of the form:
201107130025.LDASIN_DOMAIN2. This format is often used when there is high-time
resolution data available.
3 – WRF: This option simply reads a WRF model output file (‘wrfout’ file) and extracts
the appropriate fields for driving the offline WRF-Hydro model. The necessary fields are
available in a default wrf output file but users should verify their existence if
modifications have been made to the wrf output files. The names of the variables in the
wrfout file differs from those of the standard HRLDAS input file. Users need not worry
about this as the WRF-Hydro code knows what variable name to look for in wrfout files.
Lastly, this option requires that the wrfout grid be exactly the same as the WRF-Hydro
grid. The WRF-Hydro code will not remap or spatially-subset the wrfout data in any way.
4 – Idealized: This option is the most simple method to force the model and requires no
input files. A simple rainfall event is prescribed (i.e. ‘hardwired’) in the model of 25.4
inches per hour (1 inch per hour) for 1 hour duration. The event starts on timestep (hour)
The rest of the forcing data variables are set to have either constant values (in space and
time) or, in the case of temperature and radiation variables, a fixed diurnal cycle. This
option is mainly used for simple testing of the model and is convenient for checking
whether or not components besides the forcing data are properly being read into the
model and working. Version 1.0 of WRF-Hydro has hardwired values of these forcing
data terms. Future version will allow the user to input default values for the precipitation
event and the other meteorological variables.
73
WRF-‐Hydro
Technical
Description
and
User’s
Guide
5 – Idealized with Specified Precipitation: This option is identical to option 4 except that
the WRF-Hydro system will look for a gridded netcdf precipitation file. The filename
format of this file is: 201107141705.LDASIN_PRECIP_DOMAIN2. When using this
option, the WRF-Hydro system will look for a new precipitation input file based on the
FORCING DATA TIMESTEP namelist parameter in the namelist.hrldas file.
6 – Hourly HRLDAS input file with Specified precipitation: This option combines options 1
and 5 in that an hourly HRLDAS input file is used for all meteorological forcing variables
except precipitation and that precipitation is read in from a precipitation input file as
described in option 5 above. This option is very useful when combining atmospheric analyses
from re-analysis products or other models with a separate analysis of precipitation (e.g. a
gridded gauge product, radar QPE, nowcasts, satellite QPE, etc). The model reads in each
meteorological forcing data field on each hour and then holds those values constant for the
entire hour. Precipitation data is then read in based on the user-specified FORCING DATA
TIMESTAMP namelist parameter in the namelist.hrldas file. Thus, for example, the user can
have ‘hourly’ meteorology with ‘5-minute’ precipitation analyses. The filename formats for
these two different input files are:
The variable name in the file *. PRECIP_FORCING.nc should be either “precip” with unit
(mm) or “precip_rate” with unit (mm/seconds).
7 – WRF output file with Specified precipitation: This option combines options 3 and 5 in
that a WRF output files are used for all meteorological forcing variables except precipitation
and that precipitation is read in from a precipitation input file as described in option 5 above.
This option is very useful when combining WRF output from re-analysis products or other
models with a separate analysis of precipitation (e.g. a gridded gauge product, radar QPE,
nowcasts, satellite QPE, etc). The model reads in required WRF forcing data field on each
specified time and then holds those values as constant when next WRF forcing data is
available. Precipitation data is then read in based on the user-specified FORCING DATA
TIMESTAMP namelist parameter in the namelist.hrldas file. Thus, for example, the user can
have ‘hourly’ WRF output with ‘5-minute’ precipitation analyses. The filename formats for
these two different input files are:
The variable name in the file *. PRECIP_FORCING.nc should be either “precip” with unit
(mm) or “precip_rate” with unit (mm/seconds).
An example of what the netcdf file headers for the HRLDAS input file and the ‘specified
precipitation’ input file look like are provided in Appendix A11.
74
WRF-‐Hydro
Technical
Description
and
User’s
Guide
When the Noah LSM is used (current option available), model output on the land
surface model grid is written to a multi-dimensional netcdf data file using the file
naming convention ‘YYYYMMDDHHMM.LDASOUT_DOMAINX’.
where:
YYYY – year
MM – month
DD – day
HH – hour
MM – minutes
DOMAINX – the domain number that is specified in the hydro.namelist input file
(also matches the domain number of the geogrid input file).
The west_east and north_south dimensions of the output file match those of the
geogrid input file. Model output is created for every model time step. However, the
length of the time dimension in each netcdf output data file can vary depending on the
value of ‘SPLIT_OUTPUT_COUNT’ specified in the namelist.hrldas input file.
The names and definitions for each output variable in the LSM output file are
generally consistent with those output from standard Noah LSM coupled to WRF.
An example header of the netcdf output file is provided in the Appendix A12.
Terrain Routing
When routing modules are activated additional output datasets are created. Here we
distinguish these datasets between those that are created when only the terrain
(overland and/or subsurface) routing is activated versus those datasets that are created
when channel routing is activated. For all datasets, one output is provided for each
LSM time-step, not each routing model time-step. These output data include the
following:
75
WRF-‐Hydro
Technical
Description
and
User’s
Guide
LATITUDE
LONGITUDE
SOIL_M : Volumetric soil moisture content (units of m^3/m^3)
ZWATTABLRT : Depth to saturated layers where saturated subsurface
routing may be occurring. This value will equal the total soil
column depth (typically 2m) when no saturation is occurring.
(units of m)
QSTRMVOLRT : Accumulated depth of stream channel inflow (units of
mm)
SFCHEADSUBRT : Instantaneous value of depth of water ponded on the
surface (units of mm)
76
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Lake/Reservoir Output
Netcdf lake point output (YYYYMMDGHHMM_LAKES_DOMAINX)
When one or more lakes/reservoirs are specified within the LAKEGRID
data layer of the high-resolution netcdf input file, a netcdf point data file is
created which contains values of several state and flux variables to/from
the lake/reservoir. An example of the header from the LAKEGRID netcdf
file is provided in the Appendix (A16) and some of the most commonly
used variable names are defined as follows:
77
WRF-‐Hydro
Technical
Description
and
User’s
Guide
78
WRF-‐Hydro
Technical
Description
and
User’s
Guide
1. Fourmile Creek: This is a small domain (20km x 20km) test case that is
useful for testing the installation of the model and in doing model benchmarking
and mass balance checking after installation and model development.
Each of these test cases, and future test cases to be developed, are contained as
gzipped tarfiles in the /test_cases/ directory of the WRF_Hydro extension package
or can be downloaded as an individual tarfile from the WRF_Hydro ‘User
Support’ web site:
http://www.ral.ucar.edu/projects/wrf_hydro/support.php
79
WRF-‐Hydro
Technical
Description
and
User’s
Guide
/test_cases/Fourmile_test_case.tar
80
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The default implementation of the Fourmile Creek test case is a 30 day simulation
using the ‘idealized’ forcing data specification (FORC_TYP=4) in the
namelist.hrldas file with both the Noah LSM and the terrain and channel routing
processes executed on identical 100m grid spacing grids. The idealized
meteorological forcing is described in the main WRF_Hydro Technical Document
and User Guide in Chapter 4.3. The model is set to run from a ‘restart’ condition
since the namelist options for both the HRLDAS namelist file and the routing
namelist file are uncommented (i.e. there is no ‘!’ before the filename.) In this
default case all data paths are specified to be the local directory where the model
is executed. The default simulation has 1-d surface overland flow, saturated sub-
surface flow and channel routing flow all activated in the routing namelist file.
For descriptions of the namelist parameters in both files please refer to the User
Guide, Chapter 2.6 and Appendices A1 and A2.
% wrf_hydro.exe
joey 1/7/2014 10:34 AM
Deleted: Noah_hrldas_beta
and for parallel, distributed memory compilations of the model: (specific formats
of this command will vary depending on operating system configurations and
parallel job management software)
The table below lists the mass balance/water budget terms from the simple
Fourmile Creek test case:
81
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The variables listed in the variable column are the principle water balance terms
output from the model and the mass balance/water budget script. Note the
channel routing component is not included in this simple analysis. Nevertheless,
this simple simulation and analysis shows how a 1-hr rainfall event of 25.4 mm
(i.e. 1 inch per hour for one hour) is partitioned into various runoff components
when different model options are selected. All units are shown in mm and the
residual values shown in the bottom line of the table indicate that the model
conserves water to a few thousandths of a millimeter in a basin average sense but
that this residual or ‘closure’ error does change with respect to the model options
selected.
Finally, we would like to reiterate that this simple test case is useful for those
seeking to do model development work as it provides a baseline implementation
and mass balance check on the modeling system. New model enhancements
should be verified against this or similarly constructed water balance analyses to
ensure conservation of water mass is maintained.
82
WRF-‐Hydro
Technical
Description
and
User’s
Guide
5.3 Uncoupled real world flash flood event with a continuous spin-up
[UNDER DEVELOPMENT]
83
WRF-‐Hydro
Technical
Description
and
User’s
Guide
84
WRF-‐Hydro
Technical
Description
and
User’s
Guide
6.2Catalog of Scripts:
85
WRF-‐Hydro
Technical
Description
and
User’s
Guide
12 runs on yellowstone:
a) intel compilter
1) NoahMP mpi run with 32 cpus with seq setting
2) NoahMP mpi run with 30 cpus with rst setting
3) NoahMP single CPU sequential run with rst setting
b) gnu compiler
1) NoahMP mpi run with 32 cpus with seq setting
2) NoahMP mpi run with 30 cpus with rst setting
3) NoahMP single CPU sequential run with rst setting
86
WRF-‐Hydro
Technical
Description
and
User’s
Guide
87
WRF-‐Hydro
Technical
Description
and
User’s
Guide
APPENDICES
The appendices below contain examples of the namelist files, parameter files, input files
and output files used in WRF-Hydro. Where relevant short descriptions of what is
contained within the files is provided.
88
WRF-‐Hydro
Technical
Description
and
User’s
Guide
&NOAHLSM_OFFLINE
89
WRF-‐Hydro
Technical
Description
and
User’s
Guide
NSOIL=4
ZSOIL(1) = -0.10
ZSOIL(2) = -0.40
ZSOIL(3) = -1.00
ZSOIL(4) = -2.00
!!!! NOAH URBAN MODEL OPTIONS (ONLY USED WITH NOAH URBAN CANOPY !!!
&URBAN_OFFLINE
SF_URBAN_PHYSICS = 0
ZLVL_URBAN = 15.0
/
90
WRF-‐Hydro
Technical
Description
and
User’s
Guide
&HYDRO_nlist
!Specify the name of the restart file if starting from restart...comment out with '!' if not...
RESTART_FILE = 'HYDRO_RST.2011-08-12_12:00_DOMAIN1_init.nc'
!Specify the number of output times to be contained within each output history file...(integer)
! SET = 1 WHEN RUNNING CHANNEL ROUTING ONLY/CALIBRATION SIMS!!!
! SET = 1 WHEN RUNNING COUPLED TO WRF!!!
SPLIT_OUTPUT_COUNT = 1
!Restart switch to set restart accumulation variables = 0 (0-no reset, 1-yes reset to 0.0)
RSTRT_SWC = 1
91
WRF-‐Hydro
Technical
Description
and
User’s
Guide
!Specify the grid spacing of the terrain routing grid...(meters) joey 1/7/2014 10:57 AM
DXRT = 100 Deleted: !Specify the number of soil layers
(integer) and the depth of the bottom of each layer
(meters)... ... [1]
!Specify the integer multiple between the land model grid and the terrain routing grid...(integer)
AGGFACTRT = 1
!Switch to activate channel routing Routing Option: 1=Seepest Descent (D8) 2=CASC2D
CHANRTSWCRT = 1
rt_option = 1
92
WRF-‐Hydro
Technical
Description
and
User’s
Guide
93
WRF-‐Hydro
Technical
Description
and
User’s
Guide
http://www.ral.ucar.edu/research/land/technology/lsm.php
94
WRF-‐Hydro
Technical
Description
and
User’s
Guide
http://www.ral.ucar.edu/research/land/technology/lsm.php
95
WRF-‐Hydro
Technical
Description
and
User’s
Guide
http://www.ral.ucar.edu/research/land/technology/lsm.php
96
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Channel Parameters
StreamOrder
10,1, 'Bw HLINK ChSSlp MannN'
1, 5., 0.02, 1.0, 0.14
2, 10., 0.02, 0.6, 0.12
3, 20., 0.02, 0.3, 0.09
4, 30., 0.03, 0.18, 0.09
5, 40., 0.03, 0.05, 0.07
6, 60., 0.03, 0.05, 0.06
7, 60., 0.03, 0.05, 0.03
8, 60., 0.10, 0.05, 0.03
9, 60., 0.30, 0.05, 0.03
10, 60., 0.30, 0.05, 0.03
where, the first column is the Strahler stream order, ‘Bw’ is the channel bottom width
(unit of meters), ‘HLINK’ is the initial depth of water in the channel (unit of meters),
‘ChSSlp’ is the channel side slope (units of rise/run) and ‘MannN’ is the Manning’s
roughness coefficient for that stream order.
It is important to keep in mind that there is large uncertainty associated with these
parameters. Therefore, model calibration is almost always warranted.
Also, because fully-distributed estimates of flow depth (HLINK) are not available for
model initialization, it is almost always necessary to use a small initial value of
HLINK and let the model come to its own equilibrium (i.e. ‘spin-up’) after several
hours of integration. The necessary time required to spin up the channel network is a
direct function of how dense and long your channel network is. Larger, more dense
networks will take substantially longer to spin up. Estimates of total travel time from
the furthest channel element to the basin outline are a reasonable initial
approximation of the time it will take to spin up the channel elements.
97
WRF-‐Hydro
Technical
Description
and
User’s
Guide
- this example assumes there are 7 lakes defined within the simulation domain (note
column wrapping…)
where,
lake lake index (consecutively from 1 to n # of lakes)
LkArea lake area (square meters)
LkMxH elevation of maximum lake height(in meters MSL)
WeirC weir coefficient
WeirL weir length (units of meters)
OrificC orifice coefficient
OrificeA orifice area (units of square meters)
OrificeE orifice elevation (units of meters MSL)
Lat latitude of center of mass of lake (decimal degrees)
Long latitude of center of mass of lake (decimal degrees)
Elevation mean elevation of the lake surface (units of meters
MSL)
These lake parameter values are specified for each one of the lake objects defined
in the lake grid data layer contained within the high resolution terrain grid. Typically,
several of these parameters are derived within the high-resolution terrain pre-processing
stages described above using tools such as ArcGIS. Values for the weir and orifice
coefficients and sizes can be drawn from standard engineering hydraulics textbooks (e.g.
Chow et al., 1957). Weir parameters are specified for reservoir ‘overflow’ or ‘spill’ and
orifice parameters are specified for design operations. Obviously, the behavior of the
reservoir to store and release water is highly dependent on these parameters and that
parameter values and reservoir operations data are often not available.
98
WRF-‐Hydro
Technical
Description
and
User’s
Guide
Basin,Coeff.,Expon.,Zmax,Zinit
1,0.7760, 3.144, 0.100, 0.0982
2,0.0400, 3.220, 0.070, 0.0358
3,0.4270, 2.813, 0.125, 0.0678
4,0.0140, 5.861, 0.055, 0.0358
- this example assumes there are 4 individual groundwater basins or ‘buckets’ defined
for this simulation domain
where, ‘Coeff.’ is the bucket model coefficient, ‘Expon.’ is the bucket model exponent,
‘Zmax’ is the conceptual maximum depth of the bucket and ‘Zinit’ is the initial depth of
water in the bucket model. It is important to remember that a simple bucket model is a
highly abstracted and conceptualized representation of groundwater processes and
therefore the depth of water values in the bucket have no real physical basis. Initial
values of the groundwater bucket model parameters, particularly ‘Zmax’ and ‘Zinit’ are
typically derived analytically or ‘offline’ from WRF-Hydro and then are fine-tuned
through model calibration.
99
WRF-‐Hydro
Technical
Description
and
User’s
Guide
HYDRO.TBL file:
100
WRF-‐Hydro
Technical
Description
and
User’s
Guide
The HYDRO.TBL parameter table file contains 2 parts. The first part contains the
Manning’s roughness coefficients for overland flow as a function of the USGS vegetation
types as that data is used in the Noah land surface model. The roughness values are
strictly indexed to the USGS vegetation classes so that if one wanted to use a different
vegetation index dataset (e.g. the MODIS/IGBP option in the Noah land surface model) a
user would need to remap these roughness values to those new vegetation indices. Users
can alter the values of overland flow roughness here for a given vegetation type.
However, users may also ‘scale’ these initial values of roughness by changing the gridded
values of the overland flow roughness scaling factor (OVROUGHRTFAC) that are
contained within the high resolution routing data netcdf file. Because hydrological
models are often calibrated over a particular region or watershed as opposed to a specific
vegetation type it is recommended that users modify the OVROUGHRTFAC scaling
factor as opposed to altering the roughness values in HYDRO.TBL.
The second part of the HYDRO.TBL parameter table contains several soil hydraulic
parameters that are classified as functions of soil type. The values listed here are:
These soil parameters are copied from the SOILPARM.TBL parameter table from the
Noah land surface model. They are provided in HYDRO.TBL to allow the user to
modify those parameters as needed during model calibration activities without modifying
the SOILPARM.TBL file and thus is just done for convenience. In effect, when routing
options in WRF-Hydro are activated the code will read the soil hydraulic parameters
from HYDRO.TBL. If the Noah land surface model is run within WRF-Hydro without
any of the routing options active, the code will simply use the parameter values specific
in HYDRO.TBL.
101
WRF-‐Hydro
Technical
Description
and
User’s
Guide
netcdf Fulldom_hires_hydrofile_4mile_benchmark {
dimensions:
y = 200 ;
x = 200 ;
variables:
float OVROUGHRTFAC(y, x) ;
OVROUGHRTFAC:_FillValue = -3.402823e+38f ;
OVROUGHRTFAC:coordinates = "x y" ;
OVROUGHRTFAC:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
OVROUGHRTFAC:grid_mapping = "lambert_conformal_conic"
;
OVROUGHRTFAC:long_name = "ovroughrtfac" ;
OVROUGHRTFAC:missing_value = -3.402823e+38f ;
OVROUGHRTFAC:units = "Meter" ;
short RETDEPRTFAC(y, x) ;
RETDEPRTFAC:_FillValue = 0s ;
RETDEPRTFAC:coordinates = "x y" ;
RETDEPRTFAC:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
RETDEPRTFAC:grid_mapping = "lambert_conformal_conic" ;
RETDEPRTFAC:long_name = "retdeprtfac" ;
RETDEPRTFAC:missing_value = 0s ;
RETDEPRTFAC:units = "Meter" ;
int lambert_conformal_conic ;
lambert_conformal_conic:grid_mapping_name =
"lambert_conformal_conic" ;
lambert_conformal_conic:longitude_of_central_meridian
= -105.459999084 ;
lambert_conformal_conic:latitude_of_projection_origin
= 40.0380058289 ;
lambert_conformal_conic:false_easting = 0. ;
lambert_conformal_conic:false_northing = 0. ;
102
WRF-‐Hydro
Technical
Description
and
User’s
Guide
103
WRF-‐Hydro
Technical
Description
and
User’s
Guide
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
frxst_pts:coordinates = "x y" ;
frxst_pts:grid_mapping = "lambert_conformal_conic" ;
frxst_pts:units = "Meter" ;
frxst_pts:missing_value = -32768s ;
frxst_pts:_FillValue = -32768s ;
short basn_msk(y, x) ;
basn_msk:long_name = "basn_msk" ;
basn_msk:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
basn_msk:coordinates = "x y" ;
basn_msk:grid_mapping = "lambert_conformal_conic" ;
basn_msk:units = "Meter" ;
basn_msk:missing_value = -32768s ;
basn_msk:_FillValue = -32768s ;
short LAKEGRID(y, x) ;
LAKEGRID:long_name = "LAKEGRID" ;
LAKEGRID:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
LAKEGRID:coordinates = "x y" ;
LAKEGRID:grid_mapping = "lambert_conformal_conic" ;
LAKEGRID:units = "Meter" ;
LAKEGRID:missing_value = -32768s ;
LAKEGRID:_FillValue = -32768s ;
float LATITUDE(y, x) ;
LATITUDE:long_name = "latitude" ;
LATITUDE:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
104
WRF-‐Hydro
Technical
Description
and
User’s
Guide
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
LATITUDE:coordinates = "x y" ;
LATITUDE:grid_mapping = "lambert_conformal_conic" ;
LATITUDE:units = "Meter" ;
LATITUDE:missing_value = -3.402823e+38f ;
LATITUDE:_FillValue = -3.402823e+38f ;
float LONGITUDE(y, x) ;
LONGITUDE:long_name = "longitude" ;
LONGITUDE:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
LONGITUDE:coordinates = "x y" ;
LONGITUDE:grid_mapping = "lambert_conformal_conic" ;
LONGITUDE:units = "Meter" ;
LONGITUDE:missing_value = -3.402823e+38f ;
LONGITUDE:_FillValue = -3.402823e+38f ;
short STREAMORDER(y, x) ;
STREAMORDER:long_name = "str_order" ;
STREAMORDER:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
STREAMORDER:coordinates = "x y" ;
STREAMORDER:grid_mapping = "lambert_conformal_conic" ;
STREAMORDER:units = "Meter" ;
STREAMORDER:missing_value = -32768s ;
STREAMORDER:_FillValue = -32768s ;
short TOPOGRAPHY(y, x) ;
TOPOGRAPHY:long_name = "topography" ;
TOPOGRAPHY:esri_pe_string =
"PROJCS[\"North_America_Lambert_Conformal_Conic\",GEOGCS[\"GCS_No
rth_American_1983\",DATUM[\"D_North_American_1983\",SPHEROID[\"GR
S_1980\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_C
105
WRF-‐Hydro
Technical
Description
and
User’s
Guide
onic\"],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northi
ng\",0.0],PARAMETER[\"central_meridian\",-
105.459999084],PARAMETER[\"standard_parallel_1\",39.0],PARAMETER[
\"standard_parallel_2\",41.0],PARAMETER[\"latitude_of_origin\",40
.0380058289],UNIT[\"Meter\",1.0]]" ;
TOPOGRAPHY:coordinates = "x y" ;
TOPOGRAPHY:grid_mapping = "lambert_conformal_conic" ;
TOPOGRAPHY:units = "Meter" ;
TOPOGRAPHY:missing_value = -32768s ;
TOPOGRAPHY:_FillValue = -32768s ;
// global attributes:
:Conventions = "CF-1.0" ;
:Source_Software = "Esri ArcGIS" ;
:history = "Thu Feb 21 19:55:26 2013: ncap2 -s
:nco_openmp_thread_number = 1 ;
}
106
WRF-‐Hydro
Technical
Description
and
User’s
Guide
netcdf \201111040900 {
dimensions:
Time = UNLIMITED ; // (1 currently)
south_north = 475 ;
west_east = 475 ;
variables:
float Q2D(Time, south_north, west_east) ;
Q2D:FieldType = 104 ;
Q2D:MemoryOrder = "XY " ;
Q2D:description = "QV at 2 M" ;
Q2D:units = "kg kg-1" ;
Q2D:stagger = "" ;
Q2D:coordinates = "XLONG XLAT" ;
float T2D(Time, south_north, west_east) ;
T2D:FieldType = 104 ;
T2D:MemoryOrder = "XY " ;
T2D:description = "TEMP at 2 M" ;
T2D:units = "K" ;
T2D:stagger = "" ;
T2D:coordinates = "XLONG XLAT" ;
float SWDOWN(Time, south_north, west_east) ;
SWDOWN:FieldType = 104 ;
SWDOWN:MemoryOrder = "XY " ;
SWDOWN:description = "DOWNWARD SHORT WAVE FLUX AT
GROUND SURFACE" ;
SWDOWN:units = "W m-2" ;
SWDOWN:stagger = "" ;
SWDOWN:coordinates = "XLONG XLAT" ;
float LWDOWN(Time, south_north, west_east) ;
LWDOWN:FieldType = 104 ;
LWDOWN:MemoryOrder = "XY " ;
LWDOWN:description = "DOWNWARD LONG WAVE FLUX AT
GROUND SURFACE" ;
LWDOWN:units = "W m-2" ;
LWDOWN:stagger = "" ;
LWDOWN:coordinates = "XLONG XLAT" ;
float U2D(Time, south_north, west_east) ;
U2D:FieldType = 104 ;
U2D:MemoryOrder = "XY " ;
U2D:description = "U at 10 M" ;
U2D:units = "m s-1" ;
U2D:stagger = "" ;
U2D:coordinates = "XLONG XLAT" ;
float V2D(Time, south_north, west_east) ;
107
WRF-‐Hydro
Technical
Description
and
User’s
Guide
V2D:FieldType = 104 ;
V2D:MemoryOrder = "XY " ;
V2D:description = "V at 10 M" ;
V2D:units = "m s-1" ;
V2D:stagger = "" ;
V2D:coordinates = "XLONG XLAT" ;
float PSFC(Time, south_north, west_east) ;
PSFC:FieldType = 104 ;
PSFC:MemoryOrder = "XY " ;
PSFC:description = "SFC PRESSURE" ;
PSFC:units = "Pa" ;
PSFC:stagger = "" ;
PSFC:coordinates = "XLONG XLAT" ;
double RAINRATE(Time, south_north, west_east) ;
RAINRATE:FieldType = 104 ;
RAINRATE:MemoryOrder = "XY " ;
RAINRATE:coordinates = "XLONG XLAT" ;
RAINRATE:description = "ACCUMULATED TOTAL GRID SCALE
PRECIPITATION" ;
RAINRATE:stagger = "" ;
RAINRATE:units = "mm" ;
// global attributes:
:TITLE = " OUTPUT FROM WRF V3.3 MODEL" ;
:START_DATE = "2011-11-04_00:00:00" ;
:SIMULATION_START_DATE = "2011-11-04_00:00:00" ;
:WEST-EAST_GRID_DIMENSION = 476 ;
:SOUTH-NORTH_GRID_DIMENSION = 476 ;
:BOTTOM-TOP_GRID_DIMENSION = 84 ;
:DX = 1000.f ;
:DY = 1000.f ;
:GRIDTYPE = "C" ;
:DIFF_OPT = 1 ;
:KM_OPT = 4 ;
:DAMP_OPT = 0 ;
:DAMPCOEF = 0.2f ;
:KHDIF = 0.f ;
:KVDIF = 0.f ;
:MP_PHYSICS = 8 ;
:RA_LW_PHYSICS = 1 ;
:RA_SW_PHYSICS = 2 ;
:SF_SFCLAY_PHYSICS = 1 ;
:SF_SURFACE_PHYSICS = 1 ;
:BL_PBL_PHYSICS = 1 ;
:CU_PHYSICS = 0 ;
:SURFACE_INPUT_SOURCE = 1 ;
108
WRF-‐Hydro
Technical
Description
and
User’s
Guide
:SST_UPDATE = 1 ;
:GRID_FDDA = 0 ;
:GFDDA_INTERVAL_M = 0 ;
:GFDDA_END_H = 0 ;
:GRID_SFDDA = 0 ;
:SGFDDA_INTERVAL_M = 0 ;
:SGFDDA_END_H = 0 ;
:SF_URBAN_PHYSICS = 0 ;
:FEEDBACK = 1 ;
:SMOOTH_OPTION = 0 ;
:SWRAD_SCAT = 1.f ;
:W_DAMPING = 0 ;
:MOIST_ADV_OPT = 1 ;
:SCALAR_ADV_OPT = 1 ;
:TKE_ADV_OPT = 1 ;
:DIFF_6TH_OPT = 0 ;
:DIFF_6TH_FACTOR = 0.12f ;
:OBS_NUDGE_OPT = 0 ;
:BUCKET_MM = -1.f ;
:BUCKET_J = -1.f ;
:PREC_ACC_DT = 0.f ;
:OMLCALL = 0 ;
:ISFTCFLX = 0 ;
:ISHALLOW = 0 ;
:DFI_OPT = 0 ;
:SHCU_PHYSICS = 0 ;
:WEST-EAST_PATCH_START_UNSTAG = 1 ;
:WEST-EAST_PATCH_END_UNSTAG = 475 ;
:WEST-EAST_PATCH_START_STAG = 1 ;
:WEST-EAST_PATCH_END_STAG = 476 ;
:SOUTH-NORTH_PATCH_START_UNSTAG = 1 ;
:SOUTH-NORTH_PATCH_END_UNSTAG = 475 ;
:SOUTH-NORTH_PATCH_START_STAG = 1 ;
:SOUTH-NORTH_PATCH_END_STAG = 476 ;
:BOTTOM-TOP_PATCH_START_UNSTAG = 1 ;
:BOTTOM-TOP_PATCH_END_UNSTAG = 83 ;
:BOTTOM-TOP_PATCH_START_STAG = 1 ;
:BOTTOM-TOP_PATCH_END_STAG = 84 ;
:GRID_ID = 2 ;
:PARENT_ID = 1 ;
:I_PARENT_START = 36 ;
:J_PARENT_START = 72 ;
:PARENT_GRID_RATIO = 5 ;
:DT = 0.2f ;
:CEN_LAT = 43.74775f ;
:CEN_LON = 8.732391f ;
109
WRF-‐Hydro
Technical
Description
and
User’s
Guide
:TRUELAT1 = 42.894f ;
:TRUELAT2 = 42.894f ;
:MOAD_CEN_LAT = 42.894f ;
:STAND_LON = 9.137f ;
:POLE_LAT = 90.f ;
:POLE_LON = 0.f ;
:GMT = 0.f ;
:JULYR = 2011 ;
:JULDAY = 308 ;
:MAP_PROJ = 1 ;
:MMINLU = "USGS" ;
:NUM_LAND_CAT = 24 ;
:ISWATER = 16 ;
:ISLAKE = -1 ;
:ISICE = 24 ;
:ISURBAN = 1 ;
:ISOILWATER = 14 ;
}
110
WRF-‐Hydro
Technical
Description
and
User’s
Guide
111
WRF-‐Hydro
Technical
Description
and
User’s
Guide
112
WRF-‐Hydro
Technical
Description
and
User’s
Guide
ACRAIN:units = "mm" ;
ACRAIN:stagger = "-" ;
float ACSNOM(Time, south_north, west_east) ;
ACSNOM:MemoryOrder = "XY" ;
ACSNOM:description = "Accumulated snow melt" ;
ACSNOM:units = "mm" ;
ACSNOM:stagger = "-" ;
float ESNOW(Time, south_north, west_east) ;
ESNOW:MemoryOrder = "XY" ;
ESNOW:description = "Accumulated evaporation of snow" ;
ESNOW:units = "mm" ;
ESNOW:stagger = "-" ;
float DRIP(Time, south_north, west_east) ;
DRIP:MemoryOrder = "XY" ;
DRIP:description = "Accumulated canopy drip" ;
DRIP:units = "mm" ;
DRIP:stagger = "-" ;
float DEWFALL(Time, south_north, west_east) ;
DEWFALL:MemoryOrder = "XY" ;
DEWFALL:description = "Accumulated dewfall" ;
DEWFALL:units = "mm" ;
DEWFALL:stagger = "-" ;
float SNODEP(Time, south_north, west_east) ;
SNODEP:MemoryOrder = "XY" ;
SNODEP:description = "Snow depth" ;
SNODEP:units = "m" ;
SNODEP:stagger = "-" ;
float VEGFRA(Time, south_north, west_east) ;
VEGFRA:MemoryOrder = "XY" ;
VEGFRA:description = "Green vegetation fraction" ;
VEGFRA:units = "fraction" ;
VEGFRA:stagger = "-" ;
float Z0(Time, south_north, west_east) ;
Z0:MemoryOrder = "XY" ;
Z0:description = "Roughness length" ;
Z0:units = "m" ;
Z0:stagger = "-" ;
float HFX(Time, south_north, west_east) ;
HFX:MemoryOrder = "XY" ;
HFX:description = "Upward surface sensible heat flux" ;
HFX:units = "W m{-2}" ;
HFX:stagger = "-" ;
float QFX(Time, south_north, west_east) ;
QFX:MemoryOrder = "XY" ;
QFX:description = "Upward surface latent heat flux" ;
QFX:units = "W m{-2}" ;
QFX:stagger = "-" ;
float GRDFLX(Time, south_north, west_east) ;
GRDFLX:MemoryOrder = "XY" ;
GRDFLX:description = "Ground heat flux at surface" ;
GRDFLX:units = "W m{-2}" ;
GRDFLX:stagger = "-" ;
float SW(Time, south_north, west_east) ;
SW:MemoryOrder = "XY" ;
SW:description = "Downward shortwave radiation flux" ;
SW:units = "W m{-2}" ;
113
WRF-‐Hydro
Technical
Description
and
User’s
Guide
SW:stagger = "-" ;
float LW(Time, south_north, west_east) ;
LW:MemoryOrder = "XY" ;
LW:description = "Downward longwave radiation flux" ;
LW:units = "W m{-2}" ;
LW:stagger = "-" ;
float FDOWN(Time, south_north, west_east) ;
FDOWN:MemoryOrder = "XY" ;
FDOWN:description = "Radiation forcing at the surface" ;
FDOWN:units = "W m{-2}" ;
FDOWN:stagger = "-" ;
float XLAI(Time, south_north, west_east) ;
XLAI:MemoryOrder = "XY" ;
XLAI:description = "Leaf area index" ;
XLAI:units = "dimensionless" ;
XLAI:stagger = "-" ;
float SNOTIME(Time, south_north, west_east) ;
SNOTIME:MemoryOrder = "XY" ;
SNOTIME:description = "Snow age" ;
SNOTIME:units = "s" ;
SNOTIME:stagger = "-" ;
float EMBRD(Time, south_north, west_east) ;
EMBRD:MemoryOrder = "XY" ;
EMBRD:description = "Background Emissivity" ;
EMBRD:units = "dimensionless" ;
EMBRD:stagger = "-" ;
float SNOALB(Time, south_north, west_east) ;
SNOALB:MemoryOrder = "XY" ;
SNOALB:description = "Maximum albedo over deep snow" ;
SNOALB:units = "fraction" ;
SNOALB:stagger = "-" ;
float NOAHRES(Time, south_north, west_east) ;
NOAHRES:MemoryOrder = "XY" ;
NOAHRES:description = "Residual of surface energy balance" ;
NOAHRES:units = "W m{-2}" ;
NOAHRES:stagger = "-" ;
float CH(Time, south_north, west_east) ;
CH:MemoryOrder = "XY" ;
CH:description = "Heat Exchange Coefficient" ;
CH:units = "-" ;
CH:stagger = "-" ;
// global attributes:
:TITLE = "OUTPUT FROM HRLDAS v20110427" ;
:missing_value = -1.e+33f ;
:START_DATE = "2011-07-13_12:00:00" ;
:MAP_PROJ = 1 ;
:LAT1 = 39.94843f ;
:LON1 = -105.5768f ;
:DX = 100.f ;
:DY = 100.f ;
:TRUELAT1 = 39.f ;
:TRUELAT2 = 41.f ;
:STAND_LON = -105.46f ;
:MMINLU = "USGS" ;
:IZ0TLND = 0 ;
114
WRF-‐Hydro
Technical
Description
and
User’s
Guide
:SFCDIF_OPTION = 0 ;
:UCMCALL = 0 ;
}
115
WRF-‐Hydro
Technical
Description
and
User’s
Guide
116
WRF-‐Hydro
Technical
Description
and
User’s
Guide
float QBDRYRT(time, y, x) ;
QBDRYRT:units = "mm" ;
QBDRYRT:long_name = "accumulated value of the boundary
flux, + into domain, - out of domain" ;
QBDRYRT:coordinates = "x y" ;
QBDRYRT:grid_mapping = "lambert_conformal_conic" ;
QBDRYRT:missing_value = -9.e+15f ;
int lambert_conformal_conic ;
lambert_conformal_conic:grid_mapping_name =
"lambert_conformal_conic" ;
lambert_conformal_conic:longitude_of_central_meridian = -
105.46f ;
lambert_conformal_conic:latitude_of_projection_origin =
40.03801f ;
lambert_conformal_conic:false_easting = 0.f ;
lambert_conformal_conic:false_northing = 0.f ;
lambert_conformal_conic:standard_parallel = 39.f, 41.f ;
// global attributes:
:missing_value = -9.e+15f ;
:Conventions = "CF-1.0" ;
:time_coverage_start = "2011-07-13_12:00:00" ;
:output_decimation_factor = 1 ;
:time_coverage_end = "2011-07-23_12:00:00" ;
}
117
WRF-‐Hydro
Technical
Description
and
User’s
Guide
// global attributes:
:Conventions = "Unidata Observation Dataset v1.0" ;
:cdm_datatype = "Station" ;
:geospatial_lat_max = "90.0" ;
:geospatial_lat_min = "-90.0" ;
:geospatial_lon_max = "180.0" ;
:geospatial_lon_min = "-180.0" ;
:time_coverage_start = "2006-06-01_00:00:00" ;
:stationDimension = "station" ;
:missing_value = -9.e+15f ;
:time_coverage_end = "2006-07-01_00:00:00" ;
}
118
WRF-‐Hydro
Technical
Description
and
User’s
Guide
// global attributes:
:Conventions = "Unidata Observation Dataset v1.0" ;
:cdm_datatype = "Station" ;
:geospatial_lat_max = "90.0" ;
:geospatial_lat_min = "-90.0" ;
:geospatial_lon_max = "180.0" ;
:geospatial_lon_min = "-180.0" ;
:time_coverage_start = "2006-06-01_00:00:00" ;
:stationDimension = "station" ;
:missing_value = -9.e+15f ;
:time_coverage_end = "2006-07-01_00:00:00" ;
}
119
WRF-‐Hydro
Technical
Description
and
User’s
Guide
// global attributes:
:Conventions = "Unidata Observation Dataset v1.0" ;
:cdm_datatype = "Station" ;
:geospatial_lat_max = "90.0" ;
:geospatial_lat_min = "-90.0" ;
:geospatial_lon_max = "180.0" ;
:geospatial_lon_min = "-180.0" ;
:time_coverage_start = "2006-06-01_00:00:00" ;
:stationDimension = "station" ;
:missing_value = -9.e+15f ;
:time_coverage_end = "2006-07-01_00:00:00" ;
}
120
WRF-‐Hydro
Technical
Description
and
User’s
Guide
121
WRF-‐Hydro
Technical
Description
and
User’s
Guide
0.000000
0.000000
0.000000
1.482668
1.613662
2.987877
6.950461
22.66269
50.36945
91.84914
143.1280
292.6869
448.1576
584.5008
709.0095
813.7799
890.2136
122
WRF-‐Hydro
Technical
Description
and
User’s
Guide
123