ESCOMP / ESCOMP/CTSM

Initialize BGC profile variables to nan for FATES

Open
#2,063 1 comment 0 reactions 0 assignees View on GitHub
b4b code health good first issue
Dominant language
Fortran
Stars
352
Forks
361
Avg merge
2d 21h
Merged PRs (30d)
7

Description

The BGC variables: croot_prof_patch, froot_prof_patch, leaf_prof_patch, and stem_prof_patch have to be allocated to the full size for FATES, because they are passed to fire interfaces, but to ensure they are unused we should initialize them to nan rather than spval for FATES. Right now they are initialized to spval, and that should just be done for non-FATES and when they are declared as history variables rather than always.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.