CatchmentSIM

Tutorial 1

Hide Navigation Pane

Tutorial 1

Previous topic Next topic No directory for this topic Expand/collapse all hidden text  

Tutorial 1

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

 

Download Tutorial 1 Data and Solution File

 

Tutorial 1 guides the user through developing a CatchmentSIM project for the Tweed River catchment, New South Wales, Australia. The tutorial will show you how to use Google Earth to setup a CatchmentSIM project, sampling raster DEM tiles, and utilising GIS input data to assist in the hydrologic modeling.

 

 

 

A video of this tutorial can be found on the next page (high speed connection required).

 

SETUP PROJECT

 

To begin any new project, the "Create new project" link can be selected from the opening startup screen, or if the startup screen is not displayed, by selecting the File >> New Project. This will display the new project dialogue, as shown below.

 

 

Ex5-Adv-ProjectNewProj

 

Enter any relevant information in the Project Information text fields (these can be left blank if you wish).

 

Click the 'Browse' button and enter the filename and save location of your project. This must be completed for all projects

 

Now you must select an appropriate projection for the project by clicking the 'Set Projection' button. A projection is just a way to represent locations on the Earth's surface.  In this tutorial, we will use "Map Grid of Australia (MGA 94)". To make this selection, choose Map Grid of Australia 1994 (MGA94) from the top drop down menu. Now we must specify what MGA zone the catchment is located in. This particular catchment is located in Zone 56 so select "MGA Zone 56 (GDA94)\p28356" from the bottom drop down menu (as shown in image below).

 

Ex5-Adv-ProjectNewProjProj

 

 

hmtoggle_plus1        Additional Options for Defining Project Projection

 

In addition to setting a project projection manually, CatchmentSIM allows projection information to be read from either vector or raster files. These options are available through the "Read from GIS" and "Read from Raster" buttons.

 

Additionally, if a custom projection is required to be setup, this can be accessed through the "Custom projection" button.

 

Additional information regarding these options is available in the New Project section.

 

 

 

The next step in setting up our project is to set the CatchmentSIM project extents. This is basically a large rectangle that fully encloses the proposed catchment extent.  This step can be a challenge when the exact extent of the catchment is unknown. If you are uncertain it is best to overestimate the design plane extents.

 

The design plane extents can be specified manual by entering appropriate Xmin, Xmax, Ymin and Ymax values. Alternatively, CatchmentSIM allows you to use Google Earth to expedite the specification of design plane extents. We will utilise this, in conjunction with a .kml file of river basins, to visualise the area of interest within Google Earth and then use this Google Earth view to setup our project extents.

 

To carry this out, open Google Earth (if you do not have it installed, visit http://www.google.com/earth/index.html to download a free version).

 

Once Google Earth is open, click File >> Open and navigate to the Tutorial 1 data folder, and select the "River Basins 1997.kml" file. Once this has been added to Google earth, locate the Tweed River catchment by navigating to the "Places" section on the left side of the Google Earth. Expand the "River Basins 1997.kml" entry to expose the "Features (BNAME)" folder. Navigate down the alphabetical list of river basins until you find the "TWEED RIVER".  Now double click on this entry and Google Earth should zoom to the extents of the Tweed River catchment, as shown below.

 

ex5-adv-project1_zoom50
Click to Enlarge Image

 

CatchmentSIM can now be used to read the Google Earth view extents. This is completed by returning to CatchmentSIM and clicking 'Read from Google Earth'. You may receive the below message:

 

Ex5-GEerrorMsg

 

If you do receive this message, it is simply advising that your Google Earth view is not orientated correctly (ie: North may not be directly upward). By clicking "OK", the view will be rotated to the correct orientation, and you can click 'Read from Google Earth' in CatchmentSIM once again.

 

You will notice that the Xmin, Xmax, Ymin and Ymax values become populated, however, a keen GIS user will notice that these coordinates are in latitude/longitude. CatchmentSIM requires the design plane extent coordinates to be in the same projection as that which we specified when we click the "Set Projection" button. This is an issue as we have specified our project to be in MGA56 projection. Therefore, a conversion from latitude/longitude to MGA56 needs to occur. CatchmentSIM is able to carry out this conversion by selecting the "Convert Projection" button. This will open a dialogue, firstly asking what the source projection is (this is the projection we are converting from), which is latitude/longitude (which on this occasion will be the default option) so we can simply click "OK". Another dialogue will appear asking what the destination projection we want to convert to will be. As we have previously selected MGA56 as our project projection, CatchmentSIM will automatically select this projection and we can simply select 'OK' once again. You will now notice that the design extents are now in MGA56 co-ordinates.

 

hmtoggle_plus1        Additional Options for Defining Project Extents

 

In addition to setting a project up by reading the extents from Google Earth, there are other methods for setting up the project extents. These options are described in the New Project section. The options are also summarised below:

 

1.Manually inputting the extents in appropriate co-ordinates (Xmin, Xmax, Ymin, Ymax). This method is usually used when manually reading co-ordinates from a GIS program or map.
 

2.Using the "Read from GIS File" button, which allows the maximum XY extents of points, lines or polygons to be read from any supported GIS file. This can be useful if you already have a catchment polygon available.
 

3.Using the "Read from Raster" button, which allows a raster grid to be read and its extents used as the project extents

 

Care should be taken when using the "Read from GIS File" or "Read from Raster" as using these options does not include any buffer around the features. For example if using a catchment polygon vector layer in conjunction with the "Read from GIS File" option, it is advisable to manually reduce the Xmin and Ymin extents and increase the Xmax and Ymax extents to provide a margin for error in the original catchment polygon layer.

 

 

 

The Scaling Factors and Units section can be left unchanged. These are updated automatically depending on the projection units (e.g., metres or feet) and typically do not need to be modified.

 

You can now click 'OK' at the bottom on the dialogue to complete the project setup process.

 

 

CREATE DEM

The next step in all projects is to setup a Digital Elevation Model (DEM) for our project. The DEM is a digital representation of the variation in terrain elevation across your study area. It is created by effectively dividing your study area into a grid of uniformly sized cell and assigning an elevation to each on these grid cells.

 

The creation of a suitable DEM requires some user discretion as to the appropriate grid size for the required application. For example, a large grid size could be used (e.g., >100metres) for a large, rural catchment where there are  only very gradually variation in terrain elevation. However, for a small urbanised catchment with nuerous flow impediments (e.g., roadway embankment) may necessitate the use of a much small grid size (e.g., 2 metres).

 

For this project, we will utilise a 100m pixel size (100m x 100m grid cell size). To set this, select DEM >> Setup Blank DEM.

 

The following dialogue will appear. We will leave the top radio button "1. DEM Extents" set on "Use Design Plane" as we are happy to use our project extents to also define our DEM extents. In the "2. DEM Resolution" we will select the "2b) Set Cell Size (Square Cells Only)" radio button as we want to setup our DEM using square pixels/cells. Enter 100 in the input box that appears (to set each DEM cell to 100m x 100m in size). When you enter this number you should notice that the resulting DEM file size is calculated, in this case ~1.59 MB. Click "OK".

 

Ex5-DEMsetup

 

 

hmtoggle_plus1        More Information on DEM size

It is typically advisable to select a grid cell size that keeps the total DEM size below 50mb and ideally below 20mb. A bigger DEM size will result in longer processing time. Every time you halve the DEM cell size you will increase the DEM size and subsequent processing time by a factor of four. For our project, if you decrease the pixel size from 100m to 50m, the DEM file size increases to ~6.39 MB.

 

Therefore, you should aim to use the largest cell size possible that will provide a reliable representation of the terrain as it can have a significant impact on overall processing time.

 

The upper limit for a DEM size will be limited by the computational and memory resources available on your computer system (in theory a >300mb DEM should be possible). However, the computation time for large DEMs (>80MB) can prove to be restrictive. CatchmentSIM provides a warning to users when the DEM size is thought to be too large.

 

 

ASSIGN DEM ELEVATIONS

In the previous step, we setup a DEM with a pixel size of 100m (i.e., a grid covering our entire project area with each cell measuring 100m x 100m in size). We now need to assign elevations to these pixels.

 

A variety of topographic data sources can be used to assign elevations to our "blank" DEM. This includes contours, raster DEMs, TINs as well as spot heights. Instructions on how to use contours is provided in Tutorial #2.

 

hmtoggle_plus1        Where to find DEM information?

There are many sources of elevation data that are available to download from the internet. The majority of these are available for free. Further information on available online DEM projects is provided in 'Where to Download Data'.

 

For this tutorial, we will utilise SRTM Raster DEM data. SRTM is freely available grid-based elevation information that is provided at a 90m resolution. This is detailed enough to populate our project which utilises a 100m pixel size, but may not be appropriate for other projects which require a significantly smaller pixel size.

 

To assign elevations from the SRTM data, navigate to "DEM >> External DEM Sampling >> Raster DEM". Now navigate to the tutorial 1 data >> DEM  folder and select the two SRTM DEM tiles (*.hgt) that are provided, click "OK" and you should see that CatchmentSIM samples these tiles and assigns elevations to the majority of the DEM pixels in the project, as shown below. These SRTM files have been packaged with this tutorial, but SRTM can be downloaded free of charge to most locations in the world.

 

ex5-adv-sampleddem_zoom50
Click to Enlarge Image

 

hmtoggle_plus1        Hint: Automated selecting/downloading of SRTM tiles

CatchmentSIM has an in-built routine to allow automated downloading of the required SRTM tiles for a particular project area. This can be accessed by selecting "DEM >> Download DEM Data >> Spatial Data Servers" and then adjusting the country required (or leaving the defaults if the project is in Australia), and clicking "OK". This routine will automatically select the appropriate SRTM tiles, will download these files, unzip the files, and sample them into your project to populate the DEM with elevations.

 

The success of this process is dependant on your organisational firewall/internet access settings, and hence may not be functional if restrictions prevent the process.

 

As can be seen from the above image, there appears to be some white 'gaps' in the DEM, especially in the mountainous areas of the project (where the SRTM DEM collection may have been hampered by steep topography or dense vegetation cover). This indicates that the SRTM data has not assigned elevations to these areas. In order for the algorithms in CatchmentSIM to operate correctly, all DEM cells need to be assigned elevations. These "unassigned" pixels can be interrogated to confirm that no elevation is assigned to them by moving the mouse over the white pixels, and viewing the elevations assigned to them in the bottom left hand corner of the screen. As suspected, "Not Defined" is returned when moving over the white pixels. To assign elevations to these, we will use the inbuilt interpolation tools in CatchmentSIM, which can be accessed through "DEM >> Interpolation Tools >> Interpolate DEM". The defaults on the dialogue can be left as-is and "OK" selected. CatchmentSIM will then complete a distance weighted average interpolation to assign elevations to these unassigned pixels based on the elevations of surrounding pixel. Once this process is complete, all DEM pixels should have an elevation assigned to them.

 

An inherit problem of raw DEMs is the fact that they are not instantly in a suitable condition to describe the flowpaths that exist across an area of interest. The major limitation that exists lies with "flat and pit" pixels. These pixels have an elevation the same as, or lower than, adjacent pixels, causing localised "sinks". This damages the flow connectivity and will ultimately result in unreliable flowpaths, stream and catchments. This is typically a result of "noise" in the input DEM information (e.g., vegetation).

 

CatchmentSIM includes a number of routines to remove the unwanted flat and pit pixels. The location and extent of these flat and pit pixels can be visualized by selecting the checkbox adjacent to the "Flat and Pits" in the left pane of CatchmentSIM. This left pane is the "view controller" and allows any CatchmentSIM layer to be turned on or off. The display order of layers can also be modified.

 

An image of the flat and pit pixels in our current project is shown below. Blue pixels indicate pits (pixels lower than adjacent pixels), and red indicates flat pixels (pixels with the same elevation as adjacent pixels). As can be seen, the majority of flats and pits are located along lower areas of the DEM (ie: where watercourses would lie), and the majority of flat pixels exist where the ocean/river would be expected.

 

ex5-adv-flat&pits_zoom50
Click to Enlarge Image

 

 

 

IMPORT GIS FILES

Prior to carrying out any DEM "conditioning", we will add some GIS files to assist with the DEM conditioning process. For this tutorial, the GIS files include an ocean polygon and a coarse stream layer of the major watercourses in the area.

 

The ocean polygon can be added by selecting "GIS Data >> Import GIS Data >> Import Ocean". Select the 'Aus_SWBD_Ocean.shp' file in the 'Data' folder and click "Open" and then "OK". A message box will appear stating that the *.shp file does not have any *.prj file and, therefore, a projection could not be determined. CatchmentSIM will convert input layers that are not in the same projection as our project to make sure the file is located in the correct position spatially. But it needs to know the projection of the input file before it can do this. Therefore, click "OK" and then select "Longitude/Latitude" from the top drop down box of the projection window (as we know the ocean layer is in latitude/longitude projection). Then click "OK". CatchmentSIM will perform all of the necessary coordinate conversion to ensure that ocean polygon layer overlays the project area correctly.
 

Now we will use the ocean polygon to lower the DEM cells below the ocean. This will help us condition the DEM by ensuring the ocean is the lowest point in our DEM. Select "DEM >> Oceans >> Set Ocean Elevation". Enter a value of -10. The resulting DEM should look similar to that shown below.

 

ex5-oceannotremoved_zoom50
Click to Enlarge Image

 

Next, the watercourses layer can be added by selecting "GIS Data >> Import >> Import GIS Data >> Import Streams". Navigate to the "Data/Streams" folder, select the "watercl.shp" file and click "Open". Click "OK" when the "Import Data" window appears. A message box will appear stating that the *.shp file does not have any *.prj file and, therefore, a projection could not be determined. Click "OK" and then select "Longitude/Latitude" from the top drop down box of the projection window. Then click "OK". The watercourses are now displayed in blue.

 

Any supported vector or raster layer can be added as a visual layer by selecting the green "+" button on the CatchmentSIM toolbar.

 

ex5-streamsnew_zoom50
Click to Enlarge Image

 

 

DEM MANIPULATION

It is important to note that there is no 'undo' function in CatchmentSIM, so any DEM manipulations made cannot be reversed. Hence, it is advisable to save your project prior to carrying out DEM manipulations to allow a 'fallback' project if you decide you are unhappy with the DEM modifications. Regular saving using the "File >> Save As" is recommended to allow you to revert to basically any stage of the CatchmentSIM project development process.

 

To allow effective catchment mapping and ensure flow can be routed from every pixel to a the anticipated catchment outlet (in our case, the ocean), the DEM needs to be manipulated to allow continuous downstream flow path movement. The first DEM manipulation tool that can be used if you  have watercourse data available is enforce streams. This can be complimented by Stream Burning, and finally, the Breeching Algorithm.

 

Firstly, we will "Enforce Streams" to help the condition the DEM. Enforcing streams ensures that all pixels underlying a stream/watercourse layer are always flowing "downhill". It will not alter pixel elevations where the downstream movement of water would naturally occur based on the DEM pixel elevations.  However, if it encounters an adverse slope it will linearly lower the DEM elevation beneath the stream layer until it encounters another pixel with a lower elevation. To enforce streams, select "DEM >> Drainage Enforcement >> Enforce Streams". You should find that this will remove most of the flat and pit pixels underlying the watercourse layer. Note that this conditioning step is not essential, but is advisable if you have a reliable stream/watercourse layer.

 

Now we can apply the breaching algorithm to remove the remaining flat and pit pixels. This algorithm ensures flow from every pixel in the DEM can always move in a downstream direction to the lowest point in the DEM. In our project, we would expect that the ocean would provide the lowest point in our DEM (remember we previously set the ocean elevation to -10m to help ensure it was the lowest point in the DEM.

 

Select "DEM >> Flat / Pit Removal >> Breaching Algorithm".  Typically you can retain the default parameters. Click "Process Entire DEM". You will be asked if you wish to exclude oceans from the algorithm. Ensure that the oceans are excluded as this will decrease the processing time significantly (and we aren't really interested in mapping catchments across the ocean in any case).
 
Ex5-Adv-Project18
 

As the breeching algorithm processes, you can visually see the areas of the DEM's where the elevations have been modified to allow continuous flow paths, as indicated by the yellow lines that appear between flat and pit pixels.  Further information on how the Breaching Algorithm finds the optimum downstream flow path can be found here.  Once the algorithm has completed, you can remove temporary yellow "breach lines" by simply pressing 'F2', which is the refresh display hotkey.

 

ex5-adv-breeching_zoom50
Click to Enlarge Image

 

We can now see if the DEM has been conditioned sufficiently by mapping a few flow paths from within out anticipated catchment and ensuring they are routed to our desired outlet location.

This can be completed using the "Draw Pixel Flow Path" feature available by selectng the Ex5-Adv-FlowMappingIcon  icon, or "Flow Mapping >> Draw Pixel Flow Path".  Once you have selected this feature, left-click anywhere within the DEM and you should see a yellow flow path drawn indicating the flowpath that water will take from that particular pixel. If we click anywhere within the middle of our DEM (our area of interest), we should see that the flow paths all drain to the ocean.

 

ex5-drawpixelflowpath_zoom50
Click to Enlarge Image

 

 

MAPPING CATCHMENT AND STREAMS

Now that we have an suitably conditioned DEM, we can map the catchment boundary and also create a detailed stream network.

 

In order to map a catchment, we need to first define a catchment outlet.

 

We can manually define a catchment outlet position by selecting "Subcatchments >> Add Subcatchment". Draw a line at the location shown in the screenshot below (you may like to "zoom in" to this area using the zoom window or magnifying glass icons on the toolbar to make this a little easier). To do draw the outlet line, left click where you would like the outlet  line to begin, left click again where you would like the outlet to end, and then right click to complete the outlet creation process. Make sure the line is orientated roughly perpendicular to the direction of flow and wide enough to 'catch' the flow that would pass by this position.

 

hmtoggle_plus1        Alternative Outlet Definition Methods

 

A number of alternative methods are available for specifying catchment/subcatchment outlet locations.

 

CatchmentSIM has the ability to import outlet positions from a vector or raster file. This is accessed through "Subcatchments >> Import Subcatchment Outlets >> Import Subcatchment outlets ([Vector or Raster])". This is particularly useful, for example, in urban areas where you want to map the catchments draining to a large number of stormwater inlets/pits.

 

It should be noted that every time you add a subcatchment outlet, all previously added outlets will be retained.  This allows you to use a variety of different approaches for defining outlet locations and ensure all will be retained.

 

ex5-outletlocationnew_zoom50
Click to Enlarge Image

 

tut#1_outlet_zoom_zoom40
Click to Enlarge Image

 

Now we have defined an outlet for our catchment (the Tweed River). We will now get CatchmentSIM to map the catchment draining to this outlet by selecting "Subcatchments >> Process Entire DEM". This is most time consuming algorithm as it needs to maps the path of flow from every pixel within the DEM to see which pixels ultimately drain through the outlet line that we have drawn.

 

Once complete, the catchment should appear similar to that shown below (note the subcatchment boundary colour was changed to make it more visible - this can be done by double-clicking on the 'Subcatchment Boundary' layer in the View Controller on the left of the CatchmentSIM window).

 

ex5-catchmentnew_zoom50
Click to Enlarge Image

 

Now we will map some streams. First, turn off the existing stream layer by unchecking the "Ex5-Adv-Project26" check box in the View Controller on the left side of the CatchmentSIM window. Now select "Flow Mapping >> Draw Streams". Check the "Restrict to Catchments" check box and enter a Stream Area Threshold (SAT) of "500 hectares". More about the SAT can be found here, but it is essentially the area must be draining to a particular point prior to a stream forming. The lower the SAT, the more detailed your stream network will be. .
 
Ex5-SAT

 

hmtoggle_plus1        Alternative Stream Definition Methods

 

A number of alternative methods are available for defining the start locations for stream.

 

For example, you can use an existing stream layer to define the stream start location by selecting the "Import Points" tab.

 

Further information on the alternate stream initiation points can be found here.

 

AUTOMATED CATCHMENT BREAKUP ROUTINE

Often catchments need to be broken down into smaller subcatchments. To assist in breaking up our catchment into subcatchments, CatchmentSIM has three different automated catchment breakup routines. These routines can be accessed via "Subcatchments >> Breakup Subcatchment".  

 

Prior to describing the steps required to run the automated catchment breakup routine, it should be noted that additional outlets can be manually drawn utilising the same process as described above. The automated catchment breakup routine is aimed at breaking up large catchments where the manual specification of outlets would be time consuming.

 

We have multiple options for breaking up the catchment. Further information on the available breakup routines are available here.

 

In this tutorial, we will use the Horton Order Analysis option to breakup the catchment. Do this by selecting the "Horton Order Analysis" radio button and entering a stream order or "2". Click the "Process Subcatchments" button followed by the "Accept New Outlets" button. Select "Yes" when prompted if you would like to refine the subcatchment. CatchmentSIM will analyse the input information and automatically place outlets at the junction of all stream with a Horton number of 2 or greater.
 
Ex5-BreakupCatchment
 
The resulting project should look similar to the following.

 

ex5-subcatchmentsnew_zoom50
Click to Enlarge Image

 
 

CatchmentSIM will automatically calculate a range of hydrologic properties for each subcatchment, including area, stream lengths, slopes. To view the subcatchment properties select "Subcatchments >> Subcatchment Manager". If you select a row in the subcatchment manager, the corresponding subcatchment will be highlighted in the main CatchmentSIM window.

 

tut#1_subcatchment manager_zoom50
Click to Enlarge Image

 

 

EXPORTING SUBCATCHMENT BOUNDARIES, STREAM LAYER OR GRIDS TO OTHER SOFTWARE

CatchmentSIM allows you export all GIS and raster layers so they can be post-processed in other applications, or used in figure/report preparation. These export options is accessed through the "Export >> Export GIS Data", or     "Export >> Export Grid Data" respectively.

 

CatchmentSIM also allows the export of GIS data directly to Google Earth, 12d and XPSWMM. This is accessed through "Export >> 3rd Party Integration".

 

In this tutorial, we will export our subcatchments and generated stream layer to Google Earth.

 

To export to Google Earth select "Export >> 3rd part Integration >> Export to Google Earth". Select the "Synthetic Stream Network" and "Subcatchment Boudaries" check boxes and ensure the "Launch Google Earth" check box is selected if Google Earth is not already open. Now click "OK".
 
Ex5-Adv-Project32
 
You will be asked to specify the file name and save location for the resulting Google Earth *.kml file. Specify a file name and click "Save". The *.kml file should be automatically loaded into Google Earth. However, if it does not select "File >> Open" in Google Earth and then locate the *.kml file and click the "Open" button.
 

As shown below, the subcatchments and streams are superimposed on the Google Earth background. You can interrogate a subcatchment in Google Earth by simply clicking on the push-pins located at the centroid of the subcatchments, as shown below.

 

ex5-adv-geinfo_zoom50
Click to Enlarge Image

 

 

EXPORTING DATA TO GIS SOFTWARE

We will now export the subcatchment boundaries and generated stream network to MapWindow GIS. MapWindow GIS is a free GIS software available from http://www.mapwindow.org/downloads/

 

To export to MapWindow (or any other GIS application), select "Export >> Export GIS Data", select the "Subcatchment Boundaries" and "Synthetic Stream Network" check box and click "OK". Keep the default selected fields and click the "OK" button (you are basically selecting which of the CatchmentSIM calculated attributes you want to include as fields in the GIS layer).
 
Ex5-Adv-Project34
 
Select a file name and save location and click the "Save" button (however, ensure that "ESRI Shape File" is selected from the "Save as Type" drop down box. This can be changed to any of the other supported GIS file types if exporting to a GIS application that does not support ESRI shape files).
 
Now export the DEM by selecting "Export >> Export Grid Data".Select "Arc/Info ASCII Grid Format" from the top drop down box and select the "DEM" Grid type. Then click "OK" and give the grid a suitable file name and save location. Give the DEM file name with a *.asc file extension (e.g., DEM.asc). Click "Save" to export the DEM layer.
 
Ex5-Adv-Project35
 

Open the MapWindow GIS software. This is typically available from the WindowsTM Start menu:   Start >> All Programs >> MapWindow GIS.
 
First we will load the DEM into MapWindow GIS. In MapWindow GIS, click the Ex5-GIS5 button on the MapWindow GIS toolbar and navigate to the DEM grid layer.  Select the DEM grid layer and click "Open". The DEM will be displayed in the main MapWindow GIS window.
 
Now we will add the subcatchment boundary and stream vector layers. Click the Ex5-GIS5 button on the MapWindow GIS toolbar and navigate to the subcatchment boundary and stream layers, select both of the files and click "Open".

 

ex5-mapwindow_zoom50
Click to Enlarge Image

 

 

EXPORTING SUBCATCHMENT PARAMETERS TO HYDROLOGIC SOFTWARE

CatchmentSIM includes a Macro language package that will allow automated creation of input files for a range of Hydrologic software packages. For information on supported modelling packages, see the Macro Wizard dialogue and read the macro descriptions.

 

For this tutorial, we will run through the steps to output the required parameters for import into XP-RAFTS.

 

Go to "Export  >> Macro Wizard". Here you will find "CatchmentSIM-Talk Macro Language" (CST) scripts for a range of different software as well as more generic reporting scripts (e.g., there is a script to automate GSDM Probable Maximum Precipitation calculations). Click the "RAFTS-XP" folder in the left pane. A list of RAFTS-XP CST script appears on the right hand pane and scripts are provided for various versions of RAFTS-XP. To export using a particular script, simply double click it and CatchmentSIM will prepare the output. You may be required to input/define some variables depending on the selected script and destination software package. A description of the macro is provided in the bottom pane to help you understand what the script does, help decide if the script is appropriate, and provide an explanation of what the export process is.

 

Ex5-Adv-RAFTS Export

 

 

OPTIONAL EXERCISE

 

CREATE SPATIALLY VARYING RAINFALL GRID

 

hmtoggle_plus1        More Information

A powerful feature of CatchmentSIM is the ability to create and manipulate user generated grids. For example, it is possible to create a rainfall grid that describes the spatial variation of rainfall based on the rainfall at discrete points (such as rainfall gauges).

 

In this tutorial, we will create a rainfall grid showing the spatial variation for the rainfall gauges in the "Gauge_Data.csv" file. The rainfall grid should be interpolated using the "Inverse Distance" interpolation algorithm based on rainfall depths contained in the third column of the "Gauge_Data.csv" file.

Ex5-Adv-Project37

 

To create the rainfall grid, we need to use CatchmentSIM "Interpolate Grid From Points" facility. Select "Analysis >> Grid Layers >> Interpolate Grid From Points". Select the "Gauge_Data.csv" (refer below) in the "Data" folder.
 
Select the "RAINFALL_DEPTH(mm)" column as the "Point Data Source". Select the "Inverse Distance" interpolation algorithm and give the new grid a suitable name (e.g., Rainfall_Grid). Now click "Create". Select MGA Zone 56 projection for the CSV file and click "OK".
Ex5-IntepolateGrid

 

As shown below, the routine will interpolate rainfall values at each DEM grid cell based on the rainfall values at the three rain gauges.
 

ex5-rainfallgrid_zoom50
Click to Enlarge Image

 

Now we'll use CatchmentSIM to calculate the average rainfall depth for each subcatchment by adding a new "user parameter" to the Subcatchment Manager. The user parameters are effectively user-defined attributes that can be calculated for each subcatchment based on any user-defined grid layer. This is carried out by opening the subcatchment manager ("Subcatchments >> Subcatchment Manager") then clicking the 'User Parameters' button in the bottom right hand corner, then click 'add' and specify the newly created rainfall grid and specify the units, etc. As we want to calculate an average rainfall depth, make sure 'average' is selected from the 'Method' drop down box.  If you check the 'add parameter to table' checkbox, the results of the grid analysis will be added to the subcatchment manager table (as shown below).

 

Ex5-Adv-Projec40
 
Ex5-SubcatchmentManager

Comments (...)