Writing NPF file to fit PEST requirements (line < 2000 characters) #1469
vcantarella
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was going to write a question, but after looking at the documentation I have found a solution.
So, PEST requires template files to have lines shorter than 2000 characters. My NPF file had too many parameters in each line.
I was having trouble writing a template PEST file for a model that has too many columns. The standard for flopy is to set the number of columns in the input files as the number of model columns for a structured grid.
After reading the documentation I was able to fix the general settings for the
write_simulation()
method, just after I declared the simulation object:Now, to edit the general setting for the max number of columns for the input files, I have added:
If I set these properties just before writing the files (
sim.write_simulation()
) it doesn't work.Is there a better way of doing that?
Beta Was this translation helpful? Give feedback.
All reactions