-
Notifications
You must be signed in to change notification settings - Fork 2
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: 660 create an example to run damages and losses without input files #661
feat: 660 create an example to run damages and losses without input files #661
Conversation
…s-without-input-files
…ut-files' of https://github.com/Deltares/ra2ce into feat/654-experiment-with-damages-and-losses-without-input-files
…ut-files' into feat/660-create-an-example-to-run-damages-and-losses-without-input-files
…and-losses-without-input-files
This is a really nice start!
list(_resilience_curves.resilience_curves.keys())[0] returns the key:
_manual_damage_functions.damage_functions["all_road_types"].damage_fraction.data This should probably only contains the data as a numpy array instead of a weird dataframe with 2 rows for the title. |
@MatthiasHauthDeltares the keys of Regarding your comment on the damage function, it returns an interpolator. We could discuss how to improve/clarify this. |
…and-losses-without-input-files
…and-losses-without-input-files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some remarks that need attention, specially behavioral changes to the analysis_runner_factory.py
.
examples/tech_meetings/20241213_run_damages_losses_without_files.ipynb
Outdated
Show resolved
Hide resolved
…and-losses-without-input-files
…thout-input-files' of https://github.com/Deltares/ra2ce into feat/660-create-an-example-to-run-damages-and-losses-without-input-files
Issue addressed
Solves #660
Code of conduct
What has been done?
Losses
analysis_collection
toRa2ceHandler.configure
so the analyses can be manipulated between the init and the execute.Checklist
black
andisort
definitions.master
.Additional Notes (optional)
Add any additional notes or information that may be helpful.