Skip to content

modpath7 issues with flopy.utils.modpathfile #993

@dryter-usgs

Description

@dryter-usgs

I'm using flopy 3.3.1
The model is MF6, and ModPath 7. The model is too big to upload but I uploaded the ModPath files.
mpath.zip

Problems with:
get_destination_pathline_data
and get_destination_endpoint_data
and get_destination_timeseries_data

There are two things happening.
I cannot select destination cells using [(k, i, j)], I have to use node number. if I try it with this code
p = flopy.utils.PathlineFile(fpth)
pw7 = p.get_destination_pathline_data(dest_cells=[(0, 31, 43)])
I get the error: "ValueError: could not assign tuple of length 3 to structure with 1 fields."

When I use node number, only the paths entering the cell from the left side are selected (see attachment). And sometimes the paths selected aren't even entering the cell. I don't remember having this problem in 3.3.0

I attached the script and two figures I saved, one with only pathlines that end up in the well 32H1S, and another will all lines. I hope it isn't my code. I've gone over it and over it and can't figure out why it doesn't work.

pathmap_forward_pathlines_5_0 3_all
pathmap_forward_pathlines_5_0 3_slice

mpath_forward.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions