Open
Description
The following lines of code:
sim = flopy.mf6.MFSimulation.load(sim_ws='run_temp_ws')
gwf = sim.get_model()
mg = gwf.modelgrid
mg.set_coord_info(xoff=5677631.08875377, yoff=18360574.17093341, angrot=50)
chd = gwf.chd
chd.stress_period_data.export(os.path.join('..', '..', 'arcpro', 'shp', 'pumptest_chd.shp'), sparse=True)
Produce this error:
896 from ..export.shapefile_utils import recarray2shp
897 from ..utils.geometry import Polygon
--> 899 df = mfl.get_dataframe(squeeze=squeeze)
900 if "kper" in kwargs or df is None:
901 ra = mfl[kper]
TypeError: MFPandasTransientList.get_dataframe() got an unexpected keyword argument 'squeeze'
It appears that the stress_period_data.export utility is using a deprecated squeeze parameter. What other method is available for exporting list package data to shapefiles?