ESCOMP / ESCOMP/CTSM

Use of floating point flag onset_thresh is confusing in CNPhenologyMod

Open
#1,346 0 comments 0 reactions 1 assignee Claimed by @ekluzek View on GitHub
code health
Dominant language
Fortran
Stars
352
Forks
361
Avg merge
6d 6h
Merged PRs (30d)
8

Description

The subroutine CNSeasonDecidPhenology in CNPhenologyMod uses a floating point variable onset_thresh for purposes that would be more clear if it were a logical variable. I noticed this in the review of #990, but wanted to make it a bit-for-bit refactoring at a later point because simulations are already being done with the current logic.

This is in ctsm5.1.dev034.

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.