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

htop_patch is being incorrectly used in FATES compsets #2945

Open
adrifoster opened this issue Jan 28, 2025 · 2 comments · May be fixed by #2952
Open

htop_patch is being incorrectly used in FATES compsets #2945

adrifoster opened this issue Jan 28, 2025 · 2 comments · May be fixed by #2952
Labels
bug something is working incorrectly FATES A change needed for FATES that doesn't require a FATES API update. science Enhancement to or bug impacting science

Comments

@adrifoster
Copy link
Collaborator

Brief summary of bug

htop_patch is being incorrectly used in FATES compsets, especially (only?) when FATES SP-mode is on. This is because the htop_patch data structure is indexed by CLM PFTS whereas in FATES runs we should be using a data structure that is indexed by FATES PFTS.

see here for an example.

General bug information

CTSM version you are using: ctsm5.3.020

Does this bug cause significantly incorrect results in the model's science? Yes
Configurations affected: FATES, especially FATES-SP

@adrifoster
Copy link
Collaborator Author

This same logic applies to tlai_patch and tsai_patch

@ekluzek ekluzek added bug something is working incorrectly science Enhancement to or bug impacting science FATES A change needed for FATES that doesn't require a FATES API update. labels Feb 5, 2025
@ekluzek ekluzek added this to the CESM3 Answer changing freeze milestone Feb 5, 2025
@adrifoster
Copy link
Collaborator Author

adrifoster commented Feb 5, 2025

So the effect of this bug is seemingly far-reaching, when we look at tlai_patch and tsai_patch.

I am not sure we want a quick fix for this. I think perhaps we should try to implement the long-term solution first, in that we modify the SatellitePhenology module to use a separate data structure and then have FATES just use that for read-in and still update the htop_patch, tlai_patch, and tsai_patch as we normally do for any other kind of run.

@adrifoster adrifoster linked a pull request Feb 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something is working incorrectly FATES A change needed for FATES that doesn't require a FATES API update. science Enhancement to or bug impacting science
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants