Skip to content

Conversation

@wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Nov 19, 2025

rough cut of a user-facing property for #201, read only for now. this will plug into #189/#266 for initialization/modification. if the package is attached to a parent model which has grid dimensions, cell ID columns are included, otherwise a single node number column

claude and others added 4 commits November 18, 2025 13:14
- Added to_dataframe() method to Package class for exporting period data
- Added from_dataframe() classmethod to create packages from DataFrames
- Supports automatic field detection for to_dataframe()
- Works with structured (layer/row/col) and unstructured (node) grids
- Handles multiple stress periods and multiple cells per period
- Comprehensive tests for CHD, WEL, DRN packages
- Round-trip conversion tested (dict -> DataFrame -> dict)
@wpbonelli wpbonelli added this to the Demo milestone Nov 19, 2025
@wpbonelli wpbonelli added enhancement New feature or request requirement Core requirement frontend Related to the user-facing API labels Nov 19, 2025
@wpbonelli wpbonelli marked this pull request as ready for review November 19, 2025 15:29
@wpbonelli wpbonelli requested a review from mjreno November 19, 2025 15:29
@wpbonelli
Copy link
Member Author

gonna merge to get this in @mjreno but let me know if you have thoughts on the decisions here

@wpbonelli wpbonelli merged commit 41a8948 into develop Nov 20, 2025
22 checks passed
@wpbonelli wpbonelli deleted the claude/issue-201-dataframe-api-015pBzvS27jqYgQyFcubro8b branch November 20, 2025 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Related to the user-facing API requirement Core requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants