README 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Date: Sun, 15 Jul 2001 18:26:51 -0600
  2. From: "Roger S. Miller" <rgrmill@rt66.com>
  3. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.0.27 i586)
  4. X-Accept-Language: en
  5. To: Markus Neteler <neteler@geog.uni-hannover.de>
  6. Subject: r.drain -- new version
  7. Markus,
  8. I worked on the original r.drain for a while and wasn't really able to
  9. understand what it was doing, much less where the problem was. I
  10. figured that I might be able to spend the rest of the weekend figuring
  11. it out and in the end I would still have a program with unusual behavior
  12. in flat spots. I decided instead to finish the version that I started
  13. based on r.fill.dir.
  14. My version of r.drain (which I called r.d2) is in the attached zip file.
  15. r.d2 reproduces most of the behavior of r.drain. It does not use the
  16. "null_value" option and it won't read input from a sites file. It uses
  17. all of the flags defined for r.drain. My first draft of the model
  18. didn't correctly handle the ew,ns and diagonal resolutions (as
  19. r.fill.dir does not). I believe that I fixed that problem. There are
  20. also some other minor behaviors that differ a little from r.drain.
  21. r.d2 runs pretty quickly on a small, clean dem, but it can take quite a
  22. while to run on a large cell map - particularly one with very many
  23. areas where the flow directions are ambiguous. I didn't write anything
  24. into the program to warn the user about the execution time.
  25. I tested it on the fcell map that you sent me when this issue first came
  26. up and on a lat-long cell map. It worked well in both cases. The
  27. version of r.fill.dir that I started with was the version I had archived
  28. here, which was not updated for all the changes needed to make
  29. r.fill.dir run on all of our platforms. I built in the changes that I
  30. could remember, but there may be a few more that come up when you try to
  31. compile it on the Cray.
  32. I hope this meets your needs.
  33. Roger