Difference between revisions of "Tarsier Tutorial: Watershed simulation using the Marmoset Model"

From CCoWS Wiki
Jump to: navigation, search
(Prerequisites)
(Creating network data using the WatershedForm and a hydro DEM raster)
Line 6: Line 6:
 
== Creating network data using the WatershedForm and a hydro DEM raster ==
 
== Creating network data using the WatershedForm and a hydro DEM raster ==
 
# Open Tarsino. If no Tarsier modules(dlls) are loaded a message box will come up, follow the instructions to load modules.
 
# Open Tarsino. If no Tarsier modules(dlls) are loaded a message box will come up, follow the instructions to load modules.
# Open your hydro DEM raster by going to File->Open, navigate to your raster and click open.
+
# Open your hydro DEM raster  
 +
## File->Open, navigate to your raster and click open.
 
# Create a new Watershed form
 
# Create a new Watershed form
 
## File->New->Analysis->Watershed form
 
## File->New->Analysis->Watershed form

Revision as of 17:42, 2 March 2010

Prerequisites

  • Data
    • Carmel watershed hydro DEM
    • Precipitation series

Creating network data using the WatershedForm and a hydro DEM raster

  1. Open Tarsino. If no Tarsier modules(dlls) are loaded a message box will come up, follow the instructions to load modules.
  2. Open your hydro DEM raster
    1. File->Open, navigate to your raster and click open.
  3. Create a new Watershed form
    1. File->New->Analysis->Watershed form
  4. Go to the input tab and load your hydro DEM
  5. Create a pointer image(Ptr) raster.
    1. Go to the streams tab and click the Calc Ptr button.
    2. After your Ptr raster gets created go to the Ptr UseeControl and click the view button.
    3. Now save your Ptr raster
      1. File->Save As.
      2. The Tarsier Save Dialog should come up. The top yellow box is the raster viewer file *.trv. The second box is your raster file *.tra. Go to the second box and click the browse button. Browse to an appropriate folder and give the file an appropriate name. Click the 'Save All' Button.
    4. Close the Ptr raster
  6. Calculate the streams
    1. Set the threshold upslope area above which cells are considered streams by changing the value inside the Tresh box. The default is 100000000 which should work for your raster.
    2. Click the Calc stream button - this will calculate NetPtr, UpslopeArea, LnA, and Stream.
    3. After your Stream raster gets created, go to the Stream UseeControl and click the view button.
    4. Now save your Stream raster
      1. File->Save As.
      2. The Tarsier Save Dialog should come up. The top yellow box is the raster viewer file *.trv. The second box is your raster file *.tra. Go to the second box and click the browse button. Browse to an appropriate folder and give the file an appropriate name. Click the 'Save All' Button.
    5. Close the Stream raster
  7. Go to the Basins tab and click on the Add all outlets to starting points button.
  8. Once you have a starting point you can click the Calc all basins from starting points button. This will create your network data.
  9. To view your network data.
    1. Go to the Network tab.
    2. Go to the Net Data UseeControl and click the view button.
  10. Save your netdata
    1. File->Save As.
    2. The Tarsier Save Dialog should come up. The top yellow box is the network viewer file *.tnv. The second box is your netdata file *.tne. Go to the second box and click the browse button. Browse to an appropriate folder and give the file an appropriate name. Click the 'Save All' Button.
  11. You can close the watershed form.

Viewing your netdata with the 3D viewer

  1. Open the Renderer
    1. ->File ->New ->Data Views ->Render view
  2. Make and view the Carmel watershed terrain
    1. On the Raster tab (keyboard shortcut key "R") click the Make Terrain button.
    2. A UseeControlDialog dialog will come up. Your hydro DEM should still be open, click on the drop-down box and select the DEM. Alternatively if your raster is not open, click the open button and navigate to your hydro DEM raster.
    3. After the raster is loaded click the OK button to start making the Terrain. When asked select the default name and folder for your Terrain files. Click Ok to start making the Terrain (this might take a couple minutes).
    4. Once the Terrain is created a message will come up asking if you want to load a color raster, click Yes.
    5. For the color raster we are going to use your hydroDEM, load it and then click OK.
    6. A dialog box will come up asking if you want to set the Color Scheme to RGB, since our raster is not true color click 'No'.
    7. Activate the Raster tab by clicking the check box at the upper left.
    8. If no other Terrains are loaded, Tarsier will automatically place you next to the Terrain you just created. Alternatively, you can go to the Cam 1 tab and click one of the camera icons on the left.
    9. You might notice some pink sections on your terrain. This means that there is no color data available for this section. If you want the make no data sections transparent uncheck the 'Draw nodata' checkbox in the Raster tab(upper right).
  3. Add your network data
    1. Go to the Net tab.
    2. Go to the Net Data UseeControlDialog dropdown-box and select your network data.
    3. Activate the Network tab by clicking the check box at the upper left.
    4. Change the net scaling to Water, left side of the Net tab.
    5. Change the NetworkData color scheme.
      1. Click on the C button. The color scheme window should come up.
      2. Select the RGB(true color) option(left middle).
  4. You can get closer to the terrain by using the flying keys. This is done by pressing the 'K' key on your keyboard. You can then use the key controls to move your point of view.

Running the Marmoset model

  1. Open the Marmoset model
    1. File->New->Model views ->Marmoset model view
  2. Go to the Usees tab
    1. Go to the Net Data UseeControlDialog dropdown-box and select your network data.
    2. Go to the Precip series UseeControlDialog and click open. Navigate to your Salinas timeSeries.
    3. Go to the Model time UseeControlDialog and click view.
    4. Go to the Control tab and click on the Match ModelTime to Precip Series button.