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

From CCoWS Wiki
Jump to: navigation, search
(Creating network data using the WatershedForm and a hydro DEM raster)
Line 19: Line 19:
 
## 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.
 
## 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.
 
## Click the '''Calc stream''' button - this will calculate NetPtr, UpslopeArea, LnA, and Stream.
 
## Click the '''Calc stream''' button - this will calculate NetPtr, UpslopeArea, LnA, and Stream.
## After your Stream raster gets created go to the Stream '''UseeControl''' and click the view button.
+
## After your Stream raster gets created, go to the Stream '''UseeControl''' and click the view button.
 
## Now save your Stream raster  
 
## Now save your Stream raster  
 
### File->Save As.
 
### File->Save As.
Line 25: Line 25:
 
## Close the Stream raster
 
## Close the Stream raster
 
# Go to the '''Basins''' tab and click on the '''Add all outlets to starting points''' button.
 
# Go to the '''Basins''' tab and click on the '''Add all outlets to starting points''' button.
 
+
# Once you have a starting point you can click the '''Calc all basins from starting points''' button. This will create your network data.
 
+
# To view your network data.
 +
## Go to the '''Network''' tab.
 +
## Go to the Net Data'''UseeControl''' and click the view button.
  
 
== Creating 3D view ==
 
== Creating 3D view ==

Revision as of 15:53, 2 March 2010

Prerequisites

Data

  1. Carmel watershed hydro DEM.

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 by going to 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 DataUseeControl and click the view button.

Creating 3D view

  1. Open the Renderer
    1. ->File ->New ->Data Views ->Render view
  2. Make and view the Camelwatershed terrain
    1. On the Raster tab (keyboard shortcut key "R") click the Make Terrain button.
    2. A UseeControlDialog dialog will come up. Click the open button and navigate to your hydroDEM 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.
    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, Tarsino 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).

Now fly around your virtual reality. 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 model