bug: flopy creates a column with "nan" values when assigning auxiliary variable in the EVT package #1784
Replies: 3 comments 5 replies
-
I think you are missing a surface elevation. You can see an example here. |
Beta Was this translation helpful? Give feedback.
-
Greetings @giovannifi: Please refer to the manual, there seems to be an issue in your stress_period_data. You are not missing the "surface" parameter, but might have mixed the order of the parameters in the stress_period_data dictionary which receives: cellid, surface, rate, depth, pxdp, petm, petm0, aux and boundname. You might get it if you rather write:
Kind regards Tested on:
|
Beta Was this translation helpful? Give feedback.
-
HI @giovannifi, I took another look, and it does look like there is a problem with flopy. I've specified a list-based EVT record as shown below. In addition to the cellid, which is provided as a tuple, flopy insists that 5 additional items are entered, in addition to the cellid, even though surf_rate_specified=False.
The input file that is created looks like the following, which is consistent with the specified python input.
However, if we look at what MODFLOW 6 is doing, we see the problem. The following is from the gwf list file:
MODFLOW 6 reads 4 entries, in addition to the cellid. We will take a look at this. @spaulins-usgs, do you think you could have a look? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I am building a flow+transpot model with Modflow 6 and I noticed a problem with the EVT package. I wanted to define 0 concentration to be extracted from the EVT. To do that I used the "auxiliary" variable option to be defined in the EVT package of the GWF model. By doing that I noticed that once the package is written there is, for each node where I define the evt, an additional and unwanted item at the end of each line with the value "nan". Is this the correct behaviour of the software?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the EVT to be created without the "nan" values.
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions