Green Kenue Tutorial: Creating WATFLOOD MAP File
Green Kenue Tutorial: Creating WATFLOOD MAP File
IP3/CRHM/MESH Workshop
National Hydrology Research Centre
Saskatoon, SK
September 7-9 2011
The following tutorial aims to guide workshop participants through the creation
of the WATFLOOD Map file. The Map file is subsequently used to produce the
MESH drainage database.
2
Importing your elevation information
Green Kenue can import and manipulate several formats of digital elevation
information such as ArcInfo ASCII grid files, NRCan and USGS Digital Elevation
Maps, Surfer Grid files, Binary Rasters and SRTM Grid files.
The DEM object will appear in the Workspace on the left-hand side of your
screen.
To view your DEM, drag the DEM object into a 2D view. You can play around
with the display option available under the Display and ColorScale tabs to
change the view settings of the DEM object.
Green Kenue uses elevation data to determine the direction of overland flow of
water, generate a channel network and watershed boundary.
3
Within the Workspace, drag the TVC_DEM40m DEM object onto the watershed
object's empty component. In the “Properties of: new Watershed”
dialogue box, select the AT_Search flow algorithm and press the Generate
button (see Green Kenue manual for details on the AT Search and Jenson flow
algorithms). Green Kenue will create a default channel network and basin.
Green Kenue can import georeferenced information such as point objects and
line sets. The application supports a variety of foreign file formats such as
ArcView Shape Files and MapInfo Interchange Files (please refer to Green
Kenue manual for a complete list).
Green Kenue can also import the following environmental databases published
by Environment Canada: the Canadian Daily Climate Data (CDCD) and the
hydrometric information database known as HYDAT. In this tutorial, the
location of the nearest hydrometric gauge, as it appears in HYDAT, will be used
as the outlet of our drainage basin.
The Water Survey of Canada publishes historic water level, streamflow and
sediment data in a Microsoft Access (.mdb) database. The most recent version
of the HYDAT database can be downloaded from the Water Survey of Canada’s
website (www.ec.gc.ca/rhc-wsc).
4
Station locations within the HYDAT database are in LatLong projection. In order
to display the network in the same View as your DEM, you will need to change
the projection of the HYDAT object.
You can now move the HydatStations object into your 2D View and see the
location of the hydrometric gauge within your study area.
Save watershed file by selection File Save from the menu bar.
5
features. In some cases, the DEM can be edited and the watershed
regenerated.
It is useful to compare the resultant Green Kenue channel and basin boundaries
with any available georeferenced data. In this tutorial, we will compare the
Kenue-generated basin and river network with digitized images of a manually-
created basin and river network.
Such errors can be resolved in a number of ways. You may choose to proceed
with the generation of the WATFLOOD map file and manually correct the map
file, or you may edit the DEM, or you may use Green Kenue to force a channel
in a specific direction. The following instructions describe how to proceed with
the latter option.
Water can be forced along a certain flow path by adding a predefined channel
to your watershed object:
1. Create or load a 2D or3D Line Set object (please refer to "Drawing Lines
and Closed Polylines" in the Green Kenue Manual).
o For the purposes of this tutorial, the appropriate line set has been
provided. From the menu bar, select File Open…
o From the “Files of type:” drop down menu select “Line Sets
(*.i2s,*.i3s)”. Browse to
GreenKenue\TutorialData\PredefChannel.i2s and click Open
2. Open the Watershed Properties dialog box and click the Enable
Predefined Channels box and click Apply. A new tab will appear entitled
“Channels-def.” and a new object with the same name will appear in
the workspace as a child of the watershed object.
6
3. Drag and drop the Line Set object describing the channels on to the
Channels-def. object.
4. The Number of Channels value on the Channels-def tab of the Watershed
properties dialog will increase by one for each set of channels added,
and the new channels will be listed as enabled.
5. Go back to the Watershed tab of the Properties dialog and click
Generate.
In the Properties dialog box of the Watershed object Green Kenue will create a
default modelling grid by assigning values to the Origin, Count and Delta fields
of the to the map file. To assign the proper values required in this tutorial,
select and enter the values shown below. Click Apply.
Under the Source Watershed heading, ensure that the Calculate FRAC from
contributing areas box is selected (see Green Kenue manual for details) and
click Collect. Green Kenue will automatically populate the following fields of
the WATFLOOD Map file (see Green Kenue manual for field definitions):
Channel elevation
Drainage area
Drainage direction
Contour density
Channel density
7
Drag the WATFLOOD Map object into a 2D View. To change the actively
displayed Map file field, open the WATFLOOD Map object Properties dialog box
and click on the Data tab. A green check mark will appear next to the active
attribute. Double click on the attribute you wish to display.
This tutorial explains how to map land use from a GeoTIFF file. To learn about
other methods of mapping land use information, please refer to the Green
Kenue manual.
Double click on the GeoTIFF to open the Properties dialogue box. Rename the
Class Names to match the following figure and click OK.
8
Right-click the WATFLOOD Map object and select Map Land Use Data From
GeoTIFF... Select the appropriate TVC_landcover from the dialog box and click
OK.
9
Extracting basin metrics
10
Accessing HYDAT data from Green Kenue
Accessing the database from HYDAT.mdb file
Users can filter through the HYDAT station attribute table to narrow down the
number of stations displayed in the view. To view the station attribute table,
right-click on the HydatStations object in the workspace and select Show
Attribute Table (Filter) from the drop-down list. A table will appear in the
View space entitled HydatStation Filter.
If you click on a station in the table, the station will be highlighted in both the
table and the 2D view displaying the HydatStations object.
Accessing a station
11
Within the 2D View, right-click on a highlighted station and select Load
Selected from the drop-down menu, or select FileEnvironmental DataOpen
HYDATLoad Selected from the menu bar.
You can view the station’s metadata through the Properties window by double-
clicking on the station object ( ) in the Workspace. Similarly,
metadata and display properties for each time series associated with the
station can be accessed by double-clicking on the individual time series (i.e.
DailyFlow, DailyLevel etc.).
12
Manipulation of time series
Computing a distribution
The Data tab from the Properties dialog of the distribution displays some useful
information about the time series.
The Calculator
The calculator tool performs basic arithmetic operations for time series
objects, such as addition, subtraction, multiplication, or division. To open the
Calculator: right-click on a time-series in the Workspace and select
Calculator…
13