Skip to content

Conversation

@wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Jul 17, 2025

generic parser just recognizing blocks and lines within them. while a type-aware parser is coming soon, we can fall back to this in case type info is ever not available. if calling load on simulation, model or package, it will be. but maybe we also want a generic load that tries to infer the component from the input file name and contents, in which case we can connect this to a type-aware converter that can match fields against known types to recognize the component, then parse fields before structuring?

also eagerly import submodules of flopy.mf6 so components are all registered on first import of the top-level module.

first steps for #119

@wpbonelli wpbonelli marked this pull request as ready for review July 17, 2025 02:33
@wpbonelli wpbonelli merged commit ef021f8 into modflowpy:develop Jul 17, 2025
@wpbonelli wpbonelli deleted the parser branch July 17, 2025 02:33
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.

1 participant