-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
216: Misc Bug fixes r=kmdeck a=kmdeck ## Purpose This PR fixes a number of issues: - Adds extension of PointSpace method that was deprecated in ClimaCore 10.35 - converts precip for the ozark test site into m/s correctly (from m/half hour) - uses the LSM single column domain rather than a separate point and column domain for soil and canopy in the ozark test. - converts plant potential psi from meters to Pa, and changes the name of the parameter from psi_c to P_c to indicate it is a pressure - when windspeed is below the gustiness[m/s] in SurfaceFluxes, it uses the gustiness as the windspeed. Correct our comptutation of r_ae to use this (prevents a divide by zero when the windspeed -> 0). Allow gustiness to be set by us. - adds additional debugging plots to the ozark test file (moisture stress factor, cumul precip and T) co-authored with `@AlexisRenchon` (there will be a follow up PR to do the correct interpolation from centers to faces for unequal sized plant compartments.) Review checklist I have: - followed the codebase contribution guide: https://clima.github.io/ClimateMachine.jl/latest/Contributing/ - followed the style guide: https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/ - followed the documentation policy: https://github.com/CliMA/policies/wiki/Documentation-Policy - checked that this PR does not duplicate an open PR. In the Content, I have included - relevant unit tests, and integration tests, - appropriate docstrings on all functions, structs, and modules, and included relevant documentation. - [X] I have read and checked the items on the review checklist. Co-authored-by: kmdeck <kdeck@caltech.edu>
- Loading branch information
Showing
16 changed files
with
264 additions
and
105 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
t0 = FT(0) | ||
N_days = 30 | ||
N_days = 365 | ||
tf = t0 + FT(3600 * 24 * N_days) | ||
dt = FT(30); | ||
halfhourly = Array(t0:(1800):(t0 + N_days * 3600 * 24)) | ||
timestepper = RK4() | ||
hourly = Array(t0:(3600):(t0 + N_days * 3600 * 24)) | ||
timestepper = Euler() |
Oops, something went wrong.