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

feat(adapters): add user provided netcdf forcing #621

Closed
wants to merge 187 commits into from

Conversation

LuukBlom
Copy link
Contributor

@LuukBlom LuukBlom commented Jan 6, 2025

No description provided.

LuukBlom added 30 commits June 17, 2024 18:26
move sfincs specific code from hazard.py to SfincsAdapter.
implement IForcing + child classes
create interfaces for the adapters
create interface for mediator (the one im not sure of, but we need some kind of management class to handle the adapters)
create HazardOutput enum, needs more work/thought
implement eventfactory and forcingfactory
start on sfincsadapter tests
…csAdapter. Refactor directImpacts to use the Floodmap class.
…abase and give all child classes a reference to the database without having to import it everywhere.
@LuukBlom LuukBlom requested a review from savente93 January 6, 2025 10:37
@LuukBlom LuukBlom changed the title feat(adapter): add user provided netcdf forcing feat(adapters): add user provided netcdf forcing Jan 6, 2025
Copy link
Contributor

@savente93 savente93 left a comment

Choose a reason for hiding this comment

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

Couple small comments, will be happy to approve once those are resolved

flood_adapt/adapter/sfincs_adapter.py Outdated Show resolved Hide resolved
flood_adapt/adapter/sfincs_adapter.py Outdated Show resolved Hide resolved
flood_adapt/adapter/sfincs_adapter.py Outdated Show resolved Hide resolved
flood_adapt/adapter/sfincs_adapter.py Show resolved Hide resolved
flood_adapt/object_model/hazard/forcing/netcdf.py Outdated Show resolved Hide resolved
@LuukBlom LuukBlom linked an issue Jan 7, 2025 that may be closed by this pull request
savente93
savente93 previously approved these changes Jan 7, 2025
Copy link
Contributor

@savente93 savente93 left a comment

Choose a reason for hiding this comment

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

Looking good now :)

Base automatically changed from refactor/hazard-adapter-and-events to main January 8, 2025 13:52
@LuukBlom LuukBlom dismissed savente93’s stale review January 8, 2025 13:52

The base branch was changed.

@LuukBlom
Copy link
Contributor Author

LuukBlom commented Jan 8, 2025

did not feel like dealing with the merge conflicts.

cherry picked the relevant commits to: #626 and closing this

@LuukBlom LuukBlom closed this Jan 8, 2025
@savente93 savente93 deleted the feat/430-user-provided-netcdf-forcing branch January 9, 2025 14:23
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.

Support for user-specified netcdf files for event forcing
3 participants