Hi, I'm using Flopy to run a Modflow 6simulation and keep getting the following error:
ERROR REPORT:
1. Error in block PERIODDATA. Could not read variable of type DOUBLE
PRECISION from the following line: 'END PERIODDATA'.
UNIT ERROR REPORT:
1. ERROR OCCURRED WHILE READING FILE
Here is my tdis code. Can anyone see what I'm doing wrong?
time_units='DAYS'
nper = 3
tdis_rc=[(365.0,1,1.00)]
perioddata=np.dtype('<f8,i4,<f8')
perioddata = tdis_rc
tdis = flopy.mf6.ModflowTdis(sim,time_units=time_units, nper=nper,pname='tdis', perioddata = perioddata)
I actually need 3 stress periods, so I've also tried with different variations of parens and brackets the following:
time_units='DAYS'
nper = 3 # Dimensions: Number of stress periods in the model
tdis_rc=[([(365.0,3650.0,3650.0)],1,1.00)]
perioddata=np.dtype('<f8,i4,<f8')
perioddata = tdis_rc # Perioddata (perlen (length of sress period, double), nstp (number of time steps in a stress period, integer), tsmult (multiplier for length of successive time steps, double)
tdis = flopy.mf6.ModflowTdis(sim,time_units=time_units, nper=nper,pname='tdis', perioddata = perioddata) #options inputs
tdis
But that gave me the following error:
ERROR REPORT:
1. File unit 1002: Error converting "[(365.0" to a real number in following
line:
2. [(365.0, 3650.0, 3650.0)] 1 1.00000000
UNIT ERROR REPORT:
1. ERROR OCCURRED WHILE READING FILE
Thanks in advance for reading.
Peggy