-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add a event-based example #274
Conversation
notebooks/CSO_events.ipynb
Outdated
"outputs": [], | ||
"source": [ | ||
"# Import data\n", | ||
"os.chdir('C:\\\\Users\\\\rpal\\\\Source\\\\modelskill\\\\tmp\\\\RPAL\\\\data\\\\obs_and_model_data_Rocco')\n", |
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.
Pro tip, don't use absolute paths😉
Also removed the CSO_events, which was the wrong notebook.
@ecomodeller I've removed the old test notebook and included the right one with the necessary data (this time with relative path). Also tried to keep the test data as compact as possible by reducing the time resolution when possible. |
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.
Not all imported libraries are necessary in the notebook, e.g. os, numpy and plotly
Plotly is used, and is not installed by default, so it might be useful to mention.
I have made some changes to the csv file.
- Changed the event column from float to integer to more clearly indicate that these are discrete events
- Set very small values e.g. 1e-30 to exactly 0.0.
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.
Nice work!
Removed unused imports.
No description provided.