Distributed Hydrology Soil Vegetation Model


Processing of Input Data in a few steps

Under Construction

1. Get Started

  • Download the model
  • Required Map files ( the first 4 are required):


  • 2. Process the DEM, MASK, SOIL and VEGETATION map files

  • Derive the mask file from the DEM
  • NODATA should be converted to 0 instead of -9999 int the maskfile
  • Clipping the soil depth, soil type and vegetation map on the mask file is not necessary, but all grids should have the same domain and resolution
  • Convert coverage to grid (if necessary)
  • Convert grid to ascii
  • Remove the header
  • Convert ascii to binary
  • Note that mask=char, dem=float, soil=char, veg=char for the conversion into binary.
    Few programs to process the map files, remove the header automatically and convert maps from ascii to binary are available in the Tools Section.


    3. Create Stream and Soil input files

    Create the stream.network.dat and stream.map.dat

  • fill the sinks in the DEM
  • the script CREATESTREAMNETWORK , provided in the Tools page creates a soil depth grid ( if not provided) and stream network files ( and mask file if not provided either). Always read the usage recommendation before using the script. NOTE that the cell area is hardcoded in AddAat2.java and should be edited before running the aml script. Not editing it will result in a potential erroneous channel Cut Width in stream.map.dat .
  • We want to save the ouput at the final stream segment within the stream network. This is designated within the file stream.network.dat with a value of -1 , in the first row and 6th columni ( destination channel ID) of the file. Routing results for this stream segment will be placed in the stream output file if the keyword SAVE appears in the last column of the file. Add "SAVE " following the last column of stream.network.dat, stream segment 1. ( If not saving the output at the mouth, it should be assigned a destination channel ID 0 ).
  • The created soil depth map grid file should be converted to ascii. Then remove the header and convert it to binary.
  • Create the stream class file by editing the sample stream.class.dat file.

    Create Initial channel state file by running the program MakeChannelState.scr.

    Look at the documentation for further details on the format of the input files.


    4. Create Model States

    create the Interception, Snow and Soil state file for the date specified in an Info file.
    Compile and run the MakeModelStateBin.c


    5. Create Road input file

    The program CREATEROADNETWORK creates the file road.network.dat. It requires the DEM, the soil depth grid and the existing road network coverage. Similarly to stream.network.dat, insert a "SAVE" at the end of the line for each segment to be looked at in the output files: road.network.dat.

    Create the road.class.dat by editing the sample file:
    DHSVM 3.0 version sample file ( not Rainy Creek)

    DHSVM 2.0.1 version sample file
    Look at the documentation for further details on the format of the input files.


    6. Mass Wasting Model input files

    A higher resolution DEM that you would normally used is required, along with a higher resolution mask file, are required. A 10 meter DEM and mask files were used to test the model by Doten et al. (2006) over Rainy Creek in the Cascades.


    7. Configuration file for DHSVM

    Edit the sample configuration file and edit paths, model options and dates.


    8. Configuration file for WMW

    Edit the sample configuration file and edit paths, model options and dates.

    Look at the documentation for further details on the format of the input files.


    Last Changed: N. Voisin October 31, 2006