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

Turn on use of ndep from CAM/datm and turn off (and remove) ndep capability inside of CTSM #1900

Open
1 of 4 tasks
ekluzek opened this issue Nov 14, 2022 · 10 comments
Open
1 of 4 tasks
Labels
enhancement new capability or improved behavior of existing capability external issue needs to be addressed elsewhere (submodule); issue here for the sake of project tracking next this should get some attention in the next week or two. Normally each Thursday SE meeting. usability Improve or clarify user-facing options

Comments

@ekluzek
Copy link
Collaborator

ekluzek commented Nov 14, 2022

datm is now always sending ndep to CTSM. We don't think CTSM is listening to it, and right now CAM

The CAM issue about this

ESCOMP/CAM#104

A related CTSM issue:

#1844

The closed CDEPS issue:

ESCOMP/CDEPS#36

Definition of done:

  • Have both CAM and DATM always send ndep to CTSM
  • Make sure ndep inside of CATM/DATM handle all the cases needed for CTSM
  • Make sure results are similar for all configurations of CLM-BGC
  • Remove the ndep reading and handling code inside of CTSM
@ekluzek ekluzek added the enhancement new capability or improved behavior of existing capability label Nov 14, 2022
@ekluzek
Copy link
Collaborator Author

ekluzek commented Mar 24, 2023

As of cam6_3_098 CAM is now passing ndep through the coupler in all cases. So we should start working on bringing this change in.

@billsacks
Copy link
Member

As of cam6_3_098 CAM is now passing ndep through the coupler in all cases. So we should start working on bringing this change in.

If I remember correctly from our discussion a few days ago, @ekluzek proposed a multi-step process that I agree with:

  • First, change the logic so that CTSM is always getting ndep from atm (expect small changes)
  • Then (in a following tag) remove now-dead code to read ndep in CTSM

@klindsay28
Copy link

I'm curious why the ability to read ndep from a file is being removed.
I can imagine a scientific experiment with WACCM (or CAM-chem), that computes ndep prognostically, but wanting to run with different ndep forcing, say to examine the effect of prognostic ndep vs prescribed ndep in that configuration.
Or if you wanted to support such an experiment, would you rely on WACCM reading a different ndep than it is prognostically computing and pass that to CTSM? Can it do that?

@billsacks
Copy link
Member

Interesting point, @klindsay28 . Do you see that as being significantly more valuable or more likely for someone to want to do than prescribing other fields that typically come from the atmosphere? (I realize that what you're describing would be a useful general capability, not specific to ndep.)

My feeling is that, because we're already struggling under the current maintenance burden, we don't want to keep code around just because someone might theoretically want to use it, but if you feel it's likely that someone will want to do an experiment like this, then that would be good to know.

@ekluzek
Copy link
Collaborator Author

ekluzek commented Mar 25, 2023

Note, that someone could experiment in this way with ndep forcing for a CAM or a CPLHIST case. What I think you probably couldn't do is to run fully CAM chemistry this way. But, I think doing a CPLHIST case might be a way to replicate doing even that kind of experiment. But, @billsacks question is a good one, is this something that is likely to be done? Has it been done with the current setup where it is easy to do? This is something we need to hear from scientists working in the Land-Atmosphere interaction space which is specialized in a way that we don't normally think about. It would be helpful to hear from people working in that space.

Practically it'll likely take us a bit before we fully remove ndep from CTSM, so people could likely still use the last version where this is available if needed.

@wwieder
Copy link
Contributor

wwieder commented Mar 30, 2023

In the SE meeting today we agreed this should come in, but it's low priority at the moment (at least for CTSM science).
@ekluzek said this should come in as its own answer changing tag.
@olyson noted this will require testing to make sure the answer changing results are acceptable.

@wwieder wwieder added the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Oct 7, 2024
@wwieder
Copy link
Contributor

wwieder commented Oct 7, 2024

This should receive a milestone, so we don't forget it.

@mvertens
Copy link

mvertens commented Oct 7, 2024

My concern about the current implementation is that having clm continue to read in ndep in non-WACCM configurations might lead to cases where the ocean and land read in different ndep forcings.

@mvertens
Copy link

mvertens commented Oct 8, 2024

Looking at the CTSM code in more detail I now realize that datm is not providing all the scenarios that CTSM needs. That said - CTSM should always receive ndep from cam when running wiht cam to be consistent with whatever the ocean is receiving. But I think this can be done on the CAM side.

@samsrabin samsrabin added external issue needs to be addressed elsewhere (submodule); issue here for the sake of project tracking and removed next this should get some attention in the next week or two. Normally each Thursday SE meeting. labels Oct 10, 2024
@wwieder wwieder added this to the CESM3 Answer changing freeze milestone Oct 10, 2024
@wwieder wwieder added the usability Improve or clarify user-facing options label Oct 10, 2024
@ekluzek ekluzek added the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Feb 4, 2025
@ekluzek
Copy link
Collaborator Author

ekluzek commented Feb 4, 2025

This is a nice usability/documentation/remove-confusion type thing that would be good to get in before the release. But, it's not absolutely critical either. And when we switch over we need to do enough testing to ensure we aren't screwing something up in CTSM compsets for I compsets. So adding next here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new capability or improved behavior of existing capability external issue needs to be addressed elsewhere (submodule); issue here for the sake of project tracking next this should get some attention in the next week or two. Normally each Thursday SE meeting. usability Improve or clarify user-facing options
Development

No branches or pull requests

6 participants