[Dhsvm-users] Rainymask or Rainymasks
Keith Norman Adams
k.adams at auckland.ac.nz
Thu Nov 3 15:51:21 PST 2005
Dear Enhao and other DHSVM Modellers,
1. Use 'rainymasks'(with NODATA converted to 0) only for converting the
mask fine to binary.
Use 'rainymask' (with NODATA values) for creating the stream network.
[I have used the names '...mask0' and '...mask' so I don't get them
2. I can't help with this one.
'createroadnetwork.aml' should delete your existing 'temp.map.file', and
type out a message saying it has done so.
It should then continue, and pass the name 'temp.map.file' to
'streammapfile.aml' [==roadmapfile.aml] as the 'outfile' name.
see the code near the end of the 'createroadnetwork.aml' file:
&if [exists temp.road.map -FILE] &then
&if [delete temp.road.map -FILE] = 0 &then
&type temp.road.map file successfully deleted
&else &type unable to delete temp.road.map file
&else &type old temp.road.map file doesn't exist
&run roadcut outcover EFFWIDTH HYDWIDTH HYDDEPTH CUTSLOPE EFFDEPTH
&type running roadmapfile
&run streammapfile outcover %roadnet% temp.road.map EFFWIDTH CUTDEPTH
Yoou could try renaming your 'temp.map.file' (if you want to keep it)
and then re-run 'createroadnetwork.aml'
3. I don't know the significance of a 'large' or 'negative' value like
-9499.0498, but it looks bad to me (9 km ?).
Enhao Du wrote:
> 1. In the tutorial, we convert NODATA from -9999 to 0 in the mask file (rainymask to rainymasks). Shall we use the modified mask file for the rest of preparation like conversion to binary file and creating stream network? There's a discrepancy in creating stream network files when you choose to create stream coverage by using the source area. The streams coverage area is the rectangle as the dem file with NODATA=-9999, or the real watershed shape as the mask file if NODATA=0.
> 2. For some reason, the createroadnetwork.aml refuses to create "road.map.dat" while I already have the "temp.road.map". There's no error message during execuation of createroadnetwork.
> Any comments? Thanks for reading my message.
> Enhao Du
> Research Assistant
> Environmental Science
> Moscow, ID 83844
> CNR 119
> Phone: (208) 885-1202
> Email: du1021 at uidaho.edu
> Dhsvm-users mailing list
> Dhsvm-users at u.washington.edu
Keith Adams, Ph.D. Candidate
School of Geography and Environmental Science,
The University of Auckland
Private Bag 92 019, Auckland, New Zealand
location: rm. 438 10 Symonds St.
email: k.adams at auckland.ac.nz
phone: +64-9-373 7599 ext. 84607
dept. fax: +64-9-373 7434
More information about the Dhsvm-users