I am struggling to access and manipulate data from a gwf model. In this specific case the GHB data is stored as an external file. I load the model in flopy:
gwf = sim.get_model(model)
But I am having difficulting figuring out how to access the data. An example of what I tried is:
gwf.ghb.data_list
Out[23]:
[,
,
,
,
,
,
,
,
,
{internal}
(11464),
]
Does the {internal} suggest the data is not set to external? Because the .ghb file suggests otherwise:
# File generated by Flopy version 3.3.5 on 07/08/2022 at 13:33:20.
BEGIN options
END options
BEGIN dimensions
MAXBOUND 11464
END dimensions
BEGIN period 1
OPEN/CLOSE 'w_1000_10m.ghb_coast.dat'
END period 1
Is there a method to access the data?
Alternatively, is there a method that returns the external filename, which I can load myself (e.g., in pandas)?
Thanks
I am struggling to access and manipulate data from a gwf model. In this specific case the GHB data is stored as an external file. I load the model in flopy:
gwf = sim.get_model(model)
But I am having difficulting figuring out how to access the data. An example of what I tried is:
Does the {internal} suggest the data is not set to external? Because the .ghb file suggests otherwise:
Is there a method to access the data?
Alternatively, is there a method that returns the external filename, which I can load myself (e.g., in pandas)?
Thanks