Skip to content

Check of AI added code (in master)#26

Open
RubendeBruin wants to merge 29 commits into25-switch-to-json-as-default-file-formatfrom
master
Open

Check of AI added code (in master)#26
RubendeBruin wants to merge 29 commits into25-switch-to-json-as-default-file-formatfrom
master

Conversation

@RubendeBruin
Copy link
Copy Markdown
Owner

No description provided.

RubendeBruin and others added 13 commits August 4, 2025 19:22
- Add to_dict() and from_dict() methods to RAO class for JSON serialization
- Add to_dict() and from_dict() methods to Hyddb1 class for JSON serialization
- Methods leverage xarray's built-in dict functionality for efficiency
- Enable embedding hydrodynamic data with other project data in single JSON files
- Add comprehensive tests for dict serialization and JSON roundtrip
- Add example demonstrating JSON serialization and combined data storage
- Update class docstrings to document new serialization methods

Resolves #25: Switch to json as default file format (Step 1 implementation)
pyprojectify: applied pyproject file and reformat with pre-commit wit…
Removed NetCDF4 in favor of hypy5 to prevent crashes.
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.

3 participants