[Dhsvm-users] Dhsvm-users Digest, Vol 137, Issue 2

Ed Salminen salminen at watershednet.com
Tue Jun 13 11:45:40 PDT 2023


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" <dhsvm-users-request at mailman12.u.washington.edu>;

> *Date:* Wed, Jun 7, 2023 09:20 PM

> *To:* "dhsvm-users"<dhsvm-users at u.washington.edu>;

> *Subject:* Dhsvm-users Digest, Vol 137, Issue 2

>

> Send Dhsvm-users mailing list submissions to

> dhsvm-users at 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 at mailman12.u.washington.edu

>

> You can reach the person managing the list at

> dhsvm-users-owner at 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 <salminen at watershednet.com>

> To: dhsvm-users at u.washington.edu

> Subject: Re: [Dhsvm-users] How to remove the DEM sink

> Message-ID: <2bde385e-cd98-01d1-a749-6b2dba78dc2b at 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 at 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:

> <http://mailman12.u.washington.edu/pipermail/dhsvm-users/attachments/20230607/d9f203dd/attachment.html>

> -------------- next part --------------

> A non-text attachment was scrubbed...

> Name: 3A5B992C at C8914517.A72F8064.png.jpg

> Type: image/jpeg

> Size: 83538 bytes

> Desc: not available

> URL:

> <http://mailman12.u.washington.edu/pipermail/dhsvm-users/attachments/20230607/d9f203dd/attachment.jpg>

> -------------- next part --------------

> A non-text attachment was scrubbed...

> Name: 2C06F607 at 8DCEF01F.A72F8064.jpg

> Type: image/jpeg

> Size: 407019 bytes

> Desc: not available

> URL:

> <http://mailman12.u.washington.edu/pipermail/dhsvm-users/attachments/20230607/d9f203dd/attachment-0001.jpg>

>

> ------------------------------

>

> Subject: Digest Footer

>

> _______________________________________________

> Dhsvm-users mailing list

> Dhsvm-users at 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 at 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: <http://mailman12.u.washington.edu/pipermail/dhsvm-users/attachments/20230613/84c64804/attachment.html>


More information about the Dhsvm-users mailing list