Skip to content

Error in .riv file written by Flopy 3.3.5 #1722

Closed Answered by jlarsen-usgs
Hydrogeologist asked this question in Q&A
Discussion options

You must be logged in to vote

@Hydrogeologist

Just out of curiousity, do you have the free format flag enabled in your bas package/for your model? My first thought is that it looks like the value's precision is completely filling a fixed width column. If the free format option is not enabled the width of floating points is 10 digits. To check and change from fixed format files to free format:

print(model.free_format_input)

# change to free format
model.free_format_input = True  

# change to fixed format
model.free_format_input = False

model.write_input()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Hydrogeologist
Comment options

Answer selected by jlarsen-usgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants