Skip to content
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

run with more diagnostics #1024

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kmdeck
Copy link
Member

@kmdeck kmdeck commented Feb 11, 2025

Purpose

  • Add soil internal energy to default diagnostics (to rescontruct soil state for initial condition, we need this and moisture and ice)
  • Add transpiration and moisture stress as defaults (help debugging)
  • Added subsurface runoff (needed for river modeling project)

To-do

Content


  • I have read and checked the items on the review checklist.

@kmdeck kmdeck force-pushed the kd/long_run_more_diagnostics branch 2 times, most recently from 1625895 to 95b62ed Compare February 13, 2025 20:47
@@ -329,20 +329,23 @@ function default_diagnostics(
"gpp",
"ct",
"lai",
"sco2",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is mostly NaN right now anyways... we can add it back later when we have time to debug it

@kmdeck kmdeck requested a review from juliasloan25 February 13, 2025 20:49
Copy link
Member

@juliasloan25 juliasloan25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

land_model::Union{SoilCanopyModel{FT}, LandModel{FT}},
) where {FT}
if isnothing(out)
return p.canopy.energy.turbulent_fluxes.transpiration .* 1000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a comment explaining why .* 1000?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added!

@@ -492,7 +492,7 @@ for (group_id, group) in
CairoMakie.save(joinpath(root_path, "$(group_name).png"), fig)
end

short_names = ["gpp", "swc", "et", "ct", "swe", "si"]
short_names = ["gpp", "swc", "et", "ct", "swe", "si", "trans", "msf"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could also add these to short_names_bio/short_names_other above too if we want the heatmaps to be in the bio/other png outputs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right now i never look at those plots...but all of these are plotted in "figures.pdf"

@kmdeck kmdeck force-pushed the kd/long_run_more_diagnostics branch from 6817731 to 0642adc Compare February 14, 2025 17:47
@kmdeck kmdeck enabled auto-merge (squash) February 14, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants