Skip to content

Conversation

@wpbonelli
Copy link
Member

in lieu of an xarray index for structured grids to provide layer/row/column indexing on arrays even when they are defined in terms of nodes, we reshape flat arrays to structured grid dims in the converter for now. move this out into a function so it's more obvious it's temporary.

introduced by @mjreno in #196. I sullied that PR with all kinds of conflicts so pulling this in separately.

in lieu of an xarray index for structured grids to provide layer/row/column indexing on arrays even when they
 are defined in terms of nodes, reshape flat arrays to structured grid dims in the converter for now.

Co-authored-by: mjreno <[email protected]>
@wpbonelli wpbonelli added requirement Core requirement IO Related to loading/writing input/output files labels Oct 22, 2025
@wpbonelli wpbonelli added this to the MVP milestone Oct 22, 2025
@wpbonelli wpbonelli merged commit a591a27 into modflowpy:develop Oct 22, 2025
11 checks passed
@wpbonelli wpbonelli deleted the dims-hack branch October 22, 2025 00:21
@wpbonelli wpbonelli modified the milestones: MVP, Demo Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IO Related to loading/writing input/output files requirement Core requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant