hydroframe / PF_Model_Evaluation

Repo for evaluating parflow simulations and spinup
3 stars 0 forks source link

Problem with WTD calculation when bottom layer pressure is negative #11

Closed aktriplett closed 3 years ago

aktriplett commented 3 years ago

I have noticed in certain sections of my domain, cells where the pressure in the bottom layer is negative are resulting in calculated water table depths that are very shallow. This means that in WTD plot outputs, there appear to be sections with WTD of 1-2m adjacent to sections with WTD greater than 300m. I'm not sure if the WTD calculation accounts for this, where if pressure in the bottom layer is negative, WTD should be set to the total depth of the domain. I can provide images if needed.

vineetbansal commented 3 years ago

Thanks @aktriplett ..the WTD calculation at any column is essentially: 1) Take the depth of the first layer from the top that is fully saturated 2) Subtract the pressure at this layer (the "ponding depth")

I took the implementation directly from a function written by @junzhang55. It seems to me that a low WTD would result by subtracting a large -ve value in step (2) above, which would seem to imply that in your case the saturated layer is the bottom-most, with a -ve pressure. I'm not sure about the correct hydrological thing to do in this case, but perhaps if you can send me a .pfb file illustrating this I can run this by @lecondon etc.?

reedmaxwell commented 3 years ago

I think we need to check to make sure this calculation is never done on a cell with negative pressure.

Please excuse the brevity of this message it was sent from my iPhone

On Jan 22, 2021, at 07:14, Vineet Bansal notifications@github.com wrote:



Thanks @aktripletthttps://github.com/aktriplett ..the WTD calculation at any column is essentially:

  1. Take the depth of the first layer from the top that is fully saturated
  2. Subtract the pressure at this layer (the "ponding depth")

I took the implementation directly from a function written by @junzhang55https://github.com/junzhang55. It seems to me that a low WTD would result by subtracting a large -ve value in step (2) above, which would seem to imply that in your case the saturated layer is the bottom-most, with a -ve pressure. I'm not sure about the correct hydrological thing to do in this case, but perhaps if you can send me a .pfb file illustrating this I can run this by @lecondonhttps://github.com/lecondon etc.?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/hydroframe/PF_Model_Evaluation/issues/11#issuecomment-765427218, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEU2ICDVCKN6UF3O2VITR3LS3GBZVANCNFSM4WJXBT6Q.

vineetbansal commented 3 years ago

Thanks @reedmaxwell .. do you mean to say:

vineetbansal commented 3 years ago

This issue is fixed in version 1.0.1 and above. Closing this.