Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better preservation of input file precision through add_pars and apply_mults #498

Merged
merged 7 commits into from
Apr 23, 2024

Conversation

briochh
Copy link
Collaborator

@briochh briochh commented Apr 17, 2024

Should result in less precision noise in workflows

@briochh
Copy link
Collaborator Author

briochh commented Apr 17, 2024

actually might help with #490

@briochh briochh mentioned this pull request Apr 17, 2024
@briochh briochh assigned jtwhite79 and unassigned jtwhite79 Apr 17, 2024
@briochh briochh requested a review from jtwhite79 April 17, 2024 22:40
@coveralls
Copy link

Coverage Status

coverage: 79.393% (+0.1%) from 79.261%
when pulling 6b24e51 on briochh:feat_inflefmt
into add6dd4 on pypest:develop.

try:
fmt = df_mf.fmt.iloc[0]
except AttributeError:
fmt = "%15.6E"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we need to keep the 15-6 for old school modflow/mt3d?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think with PstFrom it should be ok. The detect 'should' get the right format. We need to is fall-back for the old pstfromflopy method which I don't think stores a 'fmt' (and I didn't fancy opening that box!)

@briochh briochh merged commit 69392dd into pypest:develop Apr 23, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants