Re-ordering definition of a few parameters in ed_params.f90 #421
Merged
mpaiao merged 3 commits intoEDmodel:masterfrom Nov 17, 2025
Merged
Re-ordering definition of a few parameters in ed_params.f90 #421mpaiao merged 3 commits intoEDmodel:masterfrom
mpaiao merged 3 commits intoEDmodel:masterfrom
Conversation
…sed before being used. This bug emerged once some turbulence variables were removed from ED2IN.
Contributor
Author
|
So all the continuous integration steps are working with this hot fix, but Docker does not seem to be building correctly. @robkooper do you have any idea of what could be the problem? Thanks! Edit: I tried to add some permission settings to Docker.yml based on this but it did not make any difference. I think the Docker error is not related to the ED2 code itself, so we can go ahead and merge this pull request, but it would be nice to have Docker working again. |
Contributor
Author
|
I will go ahead and merge this one without review, because it is a hot fix and I don't want to leave a non-working version as the mainline. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
After merging #411, a few canopy turbulence parameters went uninitialised before being used. This quick pull request moves the initialisation of these derived variables after loading XML parameters, so they are correctly defined.
Collaborators
Types of changes
Changes in Settings, Input Files or Output Files
Expectation of Answer Changes:
This fix will prevent crashes when running ED2 with ISFCLYRM=4, but this is a good thing because otherwise some parameters would not be properly initialised.
Checklist:
Testing :