Skip to content

Conversation

@jjokella
Copy link
Collaborator

Previously, t_printensemble defaulted to -1, which triggered debug output at every DA time step. The debug condition checked for any negative value (< 0), making debug output enabled by default.

This commit changes the default of t_printensemble to -2 (no debug output) and updates the condition to explicitly check for -1.

Debug output must now be explicitly enabled by setting t_printensemble=-1 in enkfpf.par.

Commit message checked after generation with Claude Code

Previously, `t_printensemble` defaulted to `-1`, which triggered debug
output at every DA time step. The debug condition checked for any
negative value (`< 0`), making debug output enabled by default.

This commit changes the default of `t_printensemble` to `-2` (no debug
output) and updates the condition to explicitly check for -1.

Debug output must now be explicitly enabled by setting
`t_printensemble=-1` in `enkfpf.par`.

Commit message checked after generation with [Claude
Code](https://claude.com/claude-code)
jjokella added a commit to HPSCTerrSys/TSMP2 that referenced this pull request Dec 12, 2025
@jjokella jjokella merged commit 346e8cf into tsmp-pdaf-patched Dec 16, 2025
1 check passed
jjokella added a commit to HPSCTerrSys/TSMP2 that referenced this pull request Dec 17, 2025
* Change default t_printensemble to disable debug output (HPSCTerrSys/pdaf#42)
* use standard isnan function from IEEE_ARITHMETIC (HPSCTerrSys/pdaf#40)
* Include rounding in total_steps and tstartcycle computation (HPSCTerrSys/pdaf#39)
* Documentation version handling (HPSCTerrSys/pdaf#36)
* CONTRIBUTORS.txt introduced (HPSCTerrSys/pdaf#33)
jjokella added a commit to HPSCTerrSys/TSMP2 that referenced this pull request Dec 18, 2025
* Change default t_printensemble to disable debug output (HPSCTerrSys/pdaf#42)
* use standard isnan function from IEEE_ARITHMETIC (HPSCTerrSys/pdaf#40)
* Include rounding in total_steps and tstartcycle computation (HPSCTerrSys/pdaf#39)
* Documentation version handling (HPSCTerrSys/pdaf#36)
* CONTRIBUTORS.txt introduced (HPSCTerrSys/pdaf#33)
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.

2 participants