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

From CCoWS Wiki
Jump to: navigation, search
Line 22: Line 22:
 
# Calculate the streams
 
# Calculate the streams
 
## Set the threshold upslope area above which cells are considered streams by changing the value inside the Tresh box.
 
## Set the threshold upslope area above which cells are considered streams by changing the value inside the Tresh box.
## Click '''Calc stream''' button - this will calculate NetPtr, UpslopeArea, LnA, and Stream.
+
## Click the '''Calc stream''' button - this will calculate NetPtr, UpslopeArea, LnA, and Stream.
 +
 
  
 
== Creating 3D view ==
 
== Creating 3D view ==
 +
# Open the [[Tarsier: Renderer| Renderer]]
 +
## ->File ->New ->Data Views ->Render view
 +
# Make and view the Camelwatershed terrain
 +
## On the '''Raster''' tab (keyboard shortcut key "R") click the '''Make Terrain''' button.
 +
## A UseeControlDialog dialog will come up. Click the open button and navigate to your hydroDEM raster.
 +
## 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.
 +
## Once the Terrain is created a message will come up asking if you want to load a color raster,  click Yes.
 +
## For the color raster we are going to use your hydroDEM, load it and then click OK.
 +
## 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'.
 +
## Activate the Raster tab by clicking the check box at the upper left.
 +
## 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.
 +
## 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 [[Tarsier: Renderer flight controls|key controls]] to move your point of view.
  
 
== Running the model ==
 
== Running the model ==

Revision as of 16:33, 1 March 2010

Prerequisites

Importing Hydro DEM into Tarsier

  1. Find your hydroDEM and change the extension from .txt to .asc.
  2. Open Tarsino
  3. Open your hydroDEM raster by going to File->Open, navigate to your raster and click open.
  4. Save the 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 a name. Click the 'Save All' Button.

Creating a Network data using the WatershedForm

  1. Create a new Watershed form
    1. File->New->Analysis->Watershed form
  2. Go to the input tab and load your hydroDEM
  3. Create a pointer image(Ptr) raster
    1. Go to the streams tab and click the Calc Ptr button
    2. 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 a name. Click the 'Save All' Button.
    4. Close the Ptr raster
  4. Calculate the streams
    1. Set the threshold upslope area above which cells are considered streams by changing the value inside the Tresh box.
    2. Click the Calc stream button - this will calculate NetPtr, UpslopeArea, LnA, and Stream.


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