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

Allow instantaneous SW and LW fluxes to be used when cpllnd=.true. #1943

Closed

Conversation

DeniseWorthen
Copy link
Collaborator

@DeniseWorthen DeniseWorthen commented Oct 16, 2023

PR Author Checklist:

  • I have linked PR's from all sub-components involved in section below.
  • I am confirming reviews are completed in ALL sub-component PR's.
  • I have run the full RT suite on either Hera/Cheyenne AND have attached the log to this PR below this line:
  • I have added the list of all failed regression tests to "Anticipated changes" section.
  • I have filled out all sections of the template.

Description

Allows SW and LW instantaneous export fields for when coupled to external land component.

Linked Issues and Pull Requests

Associated UFSWM Issue to close

Subcomponent Pull Requests

Blocking Dependencies

Subcomponents involved:

  • AQM
  • CDEPS
  • CICE
  • CMEPS
  • CMakeModules
  • FV3
  • GOCART
  • HYCOM
  • MOM6
  • NOAHMP
  • WW3
  • stochastic_physics
  • none

Anticipated Changes

Input data

  • No changes are expected to input data.
  • Changes are expected to input data:
    • New input data.
    • Updated input data.

Regression Tests:

  • No changes are expected to any regression test.
  • Changes are expected to the following tests:
Tests effected by changes in this PR:

Libraries

  • Not Needed
  • Needed
    • Create separate issue in JCSDA/spack-stack asking for update to library. Include library name, library version.
    • Add issue link from JCSDA/spack-stack following this item
Code Managers Log
  • This PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR.
  • Move new/updated input data on RDHPCS Hera and propagate input data changes to all supported systems.
    • N/A

Testing Log:

  • RDHPCS
    • Hera
    • Orion
    • Hercules
    • Jet
    • Gaea
    • Cheyenne
  • WCOSS2
    • Dogwood/Cactus
    • Acorn
  • CI
    • Completed
  • opnReqTest
    • N/A
    • Log attached to comment

Copy link
Collaborator

@uturuncoglu uturuncoglu left a comment

Choose a reason for hiding this comment

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

@DeniseWorthen At this point I am not using inst_down_lw_flx and inst_down_sw_flx in NoahMP cap but using Faxa_swdn and Faxa_lwdn which are pointing mean values. Since, all the components under UFS Weather Model are switching to instantaneous fields, maybe NoahMP needs to switch those. Let me know what you think?

@uturuncoglu
Copy link
Collaborator

@DeniseWorthen Do you also plan to do changes in CMEPS/mediator/esmFldsExchange_nems_mod.F90? I think the other configurations under UFS Weather model are still using Faxa_lwdn which is the mean field if you check in fd_nems.yaml.

@DeniseWorthen
Copy link
Collaborator Author

DeniseWorthen commented Oct 16, 2023

@uturuncoglu Yes, there is a follow-on #1942 to this one which will switch the remaining field aliases to be inst. I've been making a series of PRs to get everything aligned, and I want the final PR to be only a change of alias, no code changes. Unfortunately I missed this cpllnd change that is needed in the #1925 that was just committed. That change was for the fields going TO atm.

@uturuncoglu
Copy link
Collaborator

@DeniseWorthen Okay. Thanks for the clarification. I think this PR good to go. In any case, I don't think but if I had issue in the land PR, I could fixed in there.

@DeniseWorthen
Copy link
Collaborator Author

@uturuncoglu I think it would be good to clean up the un-used fields in the cpllnd logical blocks. It isn't clear to me if you might end up using those in the future (the banded SW down for example) and so want to retain them, or if they really aren't required for the LND component after all.

@uturuncoglu
Copy link
Collaborator

@DeniseWorthen I could not see the place that land uses the banded SW down. Could you point me the code? Maybe this is already fixed in my PR but not sure. It would be nice to double check.

@DeniseWorthen
Copy link
Collaborator Author

DeniseWorthen commented Oct 16, 2023

@uturuncoglu I was looking at

https://github.com/NOAA-EMC/fv3atm/blob/a13a239a746cb95c74bbe5841f300cb75f8b80d9/ccpp/data/GFS_typedefs.F90#L2875-L2882

In your original commit to add the land component, these got moved from just a cpflx block into the cplflx or cpllnd block. These are actually the net SWs---I called them the down SWs by mistake.

@uturuncoglu
Copy link
Collaborator

@DeniseWorthen Okay. Those are not used by land and it is not required by NoahMP. In the sbs (and also fully coupled - in the outstanding PR) configuration FV3 is not coupled with ocean and only coupled by land (so, in this case cplflx = false but cpllnd = true) and maybe those parts are only required to satisfy some internal logic in the FV3 side since it was assuming that cplflx is always true if it is coupled. Does it makes sense?

@DeniseWorthen
Copy link
Collaborator Author

I'm a little confused, myself. Originally (prior to your first land PR), those fields were only in the cplflx block. But, they're actually not needed when coupling to ocean either (swnet is only needed by HAFS). I can try moving them back to the cplflx block and see if I can get a failure.

@DeniseWorthen
Copy link
Collaborator Author

This PR should not have been closed. This happens when you mistakenly 'sync' to develop on github and it discards the commits that are actually present in the PR.

@DeniseWorthen
Copy link
Collaborator Author

Re-opening

@DeniseWorthen
Copy link
Collaborator Author

I guess I can't re-open. I will need to re-create.

FernandoAndrade-NOAA pushed a commit that referenced this pull request Oct 20, 2023
…e-opening #1943) (#1947)

* Allow instantaneous SW and LW fluxes to be used when cpllnd=.true. (re-opening #1943) (#1947)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Baseline Change No Baseline Change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow instantaneous down LW and SW to be used by when cpllnd=true
2 participants