Skip to content

Conversation

@MatthewPyle-NOAA
Copy link
Collaborator

@MatthewPyle-NOAA MatthewPyle-NOAA commented Jan 8, 2026

Description of Changes:

Computes the TBQ table only once at the first call, and reuses the values in subsequent calls to RUCLSM rather than recomputing the same item repeatedly.

Tests Conducted:

Was tested in a canned RRFS case on WCOSS, and was a zero-diff change that sped things up by several percent in terms of run time.

Dependencies:

Add any links to parent PRs (e.g. SCM and/or UFS PRs) or submodules (e.g. rte-rrtmgp). For example:

  • NCAR/ccpp-framework#<pr_number>
  • NOAA-EMC/ufsatm#<pr_number>
  • ufs-community/ufs-weather-model/#<pr_number>

Documentation:

Issue (optional):

Contributors (optional):

@dkokron provided this code speedup.

items once and reuse, rather than recomputing in each call to RUCLSM.
@MatthewPyle-NOAA
Copy link
Collaborator Author

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.

1 participant