From 2330152080 at qq.com Wed Jun 7 00:20:07 2023 From: 2330152080 at qq.com (=?ISO-8859-1?B?MjMzMDE1MjA4MA==?=) Date: Mon Mar 18 20:05:52 2024 Subject: [Dhsvm-users] How to remove the DEM sink Message-ID: Hello: I find the final surface runoff appears abnormally large in the final mass balance file. You can see the first figure. Although I have read the Q&A about this question, but I really did't know how to resolve it. (fig2) I hope you can give me some advice. Thank you very much for your time. Shutao Wang                                 fig1                                                          fig2 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2C06F607@8DCEF01F.A72F8064.jpg Type: image/jpeg Size: 407019 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 3A5B992C@C8914517.A72F8064.png.jpg Type: image/jpeg Size: 83538 bytes Desc: not available URL: From salminen at watershednet.com Wed Jun 7 06:20:19 2023 From: salminen at watershednet.com (Ed Salminen) Date: Mon Mar 18 20:05:52 2024 Subject: [Dhsvm-users] How to remove the DEM sink In-Reply-To: References: Message-ID: <2bde385e-cd98-01d1-a749-6b2dba78dc2b@watershednet.com> The problem may be that you filled sinks in your DEM in a GIS that used an eight direction (D8) flow direction approach, but DHSVM uses a four direction (D4) approach as described in the snippet you included below. Did you run the FILL_SINKS_DHSVM.c program to prepare your DEM prior to running DHSVM? This will fill the sinks in the DEM using a D4 approach. The source code (if you don't already have it) can be found here: https://github.com/pnnl/DHSVM-PNNL/blob/master/DHSVM/program/FILL_SINKS_DHSVM.c Alternatively there now appears to be a way to configure DHSVM to use a D8 approach. If you go to this page (https://github.com/pnnl/DHSVM-PNNL) and scroll to the bottom under "Experimental Surface/Subsurface Mode" it describes how you can enable the D8 approach when building the model with CMake. I hope that helps. E On 6/7/2023 12:20 AM, 2330152080 wrote: > Hello: > I find the final surface runoff appears abnormally large in the final > mass balance file. You can see the first figure. > Although I have read the Q&A about this question, but I really did't > know how to resolve it. (fig2) > I hope you can give me some advice. Thank you very much for your time. > Shutao Wang > > > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? fig1 > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?fig2 > > > > > _______________________________________________ > Dhsvm-users mailing list > Dhsvm-users@u.washington.edu > http://mailman12.u.washington.edu/mailman/listinfo/dhsvm-users -- Ed Salminen, Hydrologist Watershed Professionals Network LLC PO Box 8 | Mount Hood Parkdale, OR 97041 (541) 490-6644 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 3A5B992C@C8914517.A72F8064.png.jpg Type: image/jpeg Size: 83538 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2C06F607@8DCEF01F.A72F8064.jpg Type: image/jpeg Size: 407019 bytes Desc: not available URL: From 2330152080 at qq.com Mon Jun 12 04:06:19 2023 From: 2330152080 at qq.com (=?gb18030?B?MjMzMDE1MjA4MA==?=) Date: Mon Mar 18 20:05:52 2024 Subject: [Dhsvm-users] Dhsvm-users Digest, Vol 137, Issue 2 Message-ID: Thank you for your reply! I have adopted your advice. But when I add this option "-D DHSVM_D8:BOOL=ON"  to the configuration , the result is same as not adding this option. I didn?t know if I have done something wrong. Here is my diagram of how to do it. I just add this option to the option section of configuration. And I used the DHSVM3.1.2 version, from the official website. Of course, I am also trying your other method, but the result has not come out yet. ------------------ Original ------------------ From: "dhsvm-users" From salminen at watershednet.com Tue Jun 13 11:45:40 2023 From: salminen at watershednet.com (Ed Salminen) Date: Mon Mar 18 20:05:52 2024 Subject: [Dhsvm-users] Dhsvm-users Digest, Vol 137, Issue 2 In-Reply-To: References: Message-ID: Sometimes the FILL_SINKS_DHSVM.c program seems to get stuck in an endless loop and doesn't ever resolve. In those situations I have found it helpful to take the flow direction grid that the program produces (I think it is named dir.bin) and use that within a GIS to fill the DEM using the D4 approach. It seems to fill at least enough of the sinks that when I run the FILL_SINKS_DHSVM.c program again on the resultant DEM it often will run to completion. I hope that helps. On 6/12/2023 4:06 AM, 2330152080 wrote: > > Thank you for your reply! > > I have adopted your advice. But when I add this option"-D > DHSVM_D8:BOOL=ON"? to the configuration , the result is same as not > adding this option. > > I didn?t know if I have done something wrong. Here is my diagram of > how to do it. I just add this option to the option section of > configuration. > > And I used the DHSVM3.1.2 version, from the official website. > > Of course, I am also trying your other method, but the result has not > come out yet. > > ------------------ Original ------------------ > *From:* "dhsvm-users" ; > *Date:*?Wed, Jun 7, 2023 09:20 PM > *To:*?"dhsvm-users"; > *Subject:*?Dhsvm-users Digest, Vol 137, Issue 2 > > Send Dhsvm-users mailing list submissions to > dhsvm-users@u.washington.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman12.u.washington.edu/mailman/listinfo/dhsvm-users > or, via email, send a message with subject or body 'help' to > dhsvm-users-request@mailman12.u.washington.edu > > You can reach the person managing the list at > dhsvm-users-owner@mailman12.u.washington.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dhsvm-users digest..." > > > Today's Topics: > > ?? 1. Re: How to remove the DEM sink (Ed Salminen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 7 Jun 2023 06:20:19 -0700 > From: Ed Salminen > To: dhsvm-users@u.washington.edu > Subject: Re: [Dhsvm-users] How to remove the DEM sink > Message-ID: <2bde385e-cd98-01d1-a749-6b2dba78dc2b@watershednet.com> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > The problem may be that you filled sinks in your DEM in a GIS that used > an eight direction (D8) flow direction approach, but DHSVM uses a four > direction (D4) approach as described in the snippet you included below. > > Did you run the FILL_SINKS_DHSVM.c program to prepare your DEM prior to > running DHSVM? This will fill the sinks in the DEM using a D4 approach. > The source code (if you don't already have it) can be found here: > https://github.com/pnnl/DHSVM-PNNL/blob/master/DHSVM/program/FILL_SINKS_DHSVM.c > > Alternatively there now appears to be a way to configure DHSVM to use a > D8 approach. If you go to this page (https://github.com/pnnl/DHSVM-PNNL) > and scroll to the bottom under "Experimental Surface/Subsurface Mode" it > describes how you can enable the D8 approach when building the model > with CMake. > > I hope that helps. > > E > > > On 6/7/2023 12:20 AM, 2330152080 wrote: > > Hello: > > I find the final surface runoff appears abnormally large in the final > > mass balance file. You can see the first figure. > > Although I have read the Q&A about this question, but I really did't > > know how to resolve it. (fig2) > > I hope you can give me some advice. Thank you very much for your time. > > Shutao Wang > > > > > > > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? fig1 > > > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?fig2 > > > > > > > > > > _______________________________________________ > > Dhsvm-users mailing list > > Dhsvm-users@u.washington.edu > > http://mailman12.u.washington.edu/mailman/listinfo/dhsvm-users > > -- > Ed Salminen, Hydrologist > Watershed Professionals Network LLC > PO Box 8 | Mount Hood Parkdale, OR 97041 > (541) 490-6644 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: 3A5B992C@C8914517.A72F8064.png.jpg > Type: image/jpeg > Size: 83538 bytes > Desc: not available > URL: > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: 2C06F607@8DCEF01F.A72F8064.jpg > Type: image/jpeg > Size: 407019 bytes > Desc: not available > URL: > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Dhsvm-users mailing list > Dhsvm-users@mailman12.u.washington.edu > http://mailman12.u.washington.edu/mailman/listinfo/dhsvm-users > > > ------------------------------ > > End of Dhsvm-users Digest, Vol 137, Issue 2 > ******************************************* > > _______________________________________________ > Dhsvm-users mailing list > Dhsvm-users@u.washington.edu > http://mailman12.u.washington.edu/mailman/listinfo/dhsvm-users -- Ed Salminen, Hydrologist Watershed Professionals Network LLC PO Box 8 | Mount Hood Parkdale, OR 97041 (541) 490-6644 -------------- next part -------------- An HTML attachment was scrubbed... URL: From acharya.bibek76 at gmail.com Mon Jun 19 16:17:14 2023 From: acharya.bibek76 at gmail.com (Bibek Acharya) Date: Mon Mar 18 20:05:52 2024 Subject: [Dhsvm-users] Createstreamnetwork.py Message-ID: Hi, I am working on creating soil depth and stream network files using createstreamnetwork.py script. I see that elev and wshed are dem and mask raster files. I changed the workspace, path and input DEM, Mask file (classified to 1 and 0), source, min and max depth. After running the script I did not get soildepth and stream.network.dat and stream.map.dat. I only got these messages while running the script. Can someone help me with this? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: python.PNG Type: image/png Size: 26447 bytes Desc: not available URL: