-
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
493 hydrology add canopy evaporation #528
base: develop
Are you sure you want to change the base?
Conversation
….com/ImperialCollegeLondon/virtual_rainforest into 493-hydrology-add-canopy-evaporation
for more information, see https://pre-commit.ci
….com/ImperialCollegeLondon/virtual_rainforest into 493-hydrology-add-canopy-evaporation
An update on this, I have tried to run the |
We have identified the issue, see #536. |
I'll de-request those outstanding reviews for now. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #528 +/- ##
===========================================
+ Coverage 94.96% 95.02% +0.05%
===========================================
Files 73 73
Lines 4071 4098 +27
===========================================
+ Hits 3866 3894 +28
+ Misses 205 204 -1 ☔ View full report in Codecov by Sentry. |
Quick update (mostly for me to pick up after summer break): The problem with the endless loop in The problem was in the wind update, there seemed to be an issue with filling the right layers with zeros for the Fixes to do (potentially in separate PR): To do's for evaporation: |
This turns out to be more complex than anticipated. In order to calculate canopy evaporation, we need a range of variables that are provided by the
abiotic
model. These are currently not in theabiotic_simple
model; the attempt to add them caused a crash inve_run
. This is a Draft PR to see error message.I have tried to reproduce this step by step and it all works fine until the this commit, unit tests are fine but the integration tests runs into nowhere when it tried to update the
self.data['wind_speed']
in line 205 inabiotic_simple_model.py
. (After that something went funny with pushing and pulling and I had weird duplications of lines, I hope this is all sorted)@dalonsoa and @davidorme could you take a look into this, maybe you spot something? I suspect it has to do with the order of models, it work ok when the wind comes from the
hydrology
model, but it should work with the changes in variables?Fixes # (issue)
Type of change
Key checklist
pre-commit
checks:$ pre-commit run -a
$ poetry run pytest
Further checks