Skip to content

add FATES capability to the SP spinup stability script in tools/unsupported - #4375

Closed
adrifoster wants to merge 17 commits into
ESCOMP:b4b-devfrom
adrifoster:sp_fates_spinup_stability
Closed

adrifoster wants to merge 17 commits into
ESCOMP:b4b-devfrom
adrifoster:sp_fates_spinup_stability

Conversation

@adrifoster

Copy link
Copy Markdown
Contributor

adds optional 'fates' to the SpinupStability_SP_v10.ncl script in tools/unsupported

Description of changes

  • added if/else clause with fates to the gpp calculation and units conversion
  • also had to change the float to typeof(arr) in the array definitions, e.g.:
fsh_glob_del = new(nyrs-1,typeof(fsh_glob))

This is because (currently) our default FATES SP cases are double precision and so trying to cast them to float caused an error. This should work even if/when we change this.

Specific notes

Note that the if/else checks for if fates .eq. 'True' which matches the rest of that script but is unlike our other .ncl scripts which check if if fates. I'm not sure if this really matters to anyone.

Contributors other than yourself, if any:
@slevis-lmwg

Testing planned or performed, if any:
[x] - script works on current FATES case dir it's pointing to

Requirements before merge:

@adrifoster adrifoster self-assigned this Nov 25, 2026
@adrifoster adrifoster added b4b bit-for-bit and removed b4b bit-for-bit labels Nov 25, 2026
@adrifoster
adrifoster changed the base branch from master to b4b-dev November 25, 2026 22:40
@adrifoster adrifoster added b4b bit-for-bit test: none No tests required (e.g. tools/contrib) next this should get some attention in the next week or two. Normally each Thursday SE meeting. labels Nov 25, 2026
@adrifoster adrifoster closed this Nov 25, 2026
@adrifoster
adrifoster deleted the sp_fates_spinup_stability branch November 25, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

b4b bit-for-bit next this should get some attention in the next week or two. Normally each Thursday SE meeting. test: none No tests required (e.g. tools/contrib)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants