Skip to content
Failed

Changes

Summary

  1. Eliminate GOTO statement in stats_clubb_utilities (#1233) (details)
  2. Updated Jenkins api_commitment_test to python3 (#1235) (details)
Commit 5f0907576063d48845b40fafdd94c6041cc18a3a by noreply
Eliminate GOTO statement in stats_clubb_utilities (#1233)

* Eliminate jump in stats_clubb_utilities
CLUBB ticket #975

Hard removed end parameter from read call
GOTO marker `100` removed since `end` parameter is gone and
added output of read error code to help debugging.

Before this change, if the read encountered an EOF error and the jump to marker 100 happened,
CLUBB would continue running (err_code=clubb_no_error) but no output files would be created.
After this change, err_code will be set to clubb_fatal_error and CLUBB prints an error message and returns.
The file was modified src/CLUBB_core/stats_clubb_utilities.F90 (diff)
Commit 4508338836c1e0e0a1221c812d5c579108e7ce8a by noreply
Updated Jenkins api_commitment_test to python3 (#1235)

sys_admin ticket sys_admin#836

* Updated Jenkins api_commitment_test to python3

TEN YEARS OF GLORIOUS FALSE PASSING DESTROYED BY TWO NITPICKERS AND CHATGPT! *Insert dab here*

Translated script to python3,
tightened file handling,
added main function and argparse structure to create_module_table.py

* Added comments to run_full_api_diagnostics.bash

* Fixed usage_analyzer

Commented out the calls to usage_analyzer and create_module_table from the bash script since we don't want to create those outputs for Jenkins.

* Modified api_commitment_test so it can search through individual files

* Commented out CLUBB standalone test since it is not a good emulation of a host model
The file was modified utilities/api_analysis/run_full_api_diagnostics.bash (diff)
The file was removedutilities/api_analysis/log/usageAnalyzerTable.txt
The file was modified utilities/api_analysis/api_commitment_test.py (diff)
The file was modified utilities/api_analysis/usage_analyzer.py (diff)
The file was removedutilities/api_analysis/log/apiCommitmentTable.txt
The file was modified utilities/api_analysis/create_module_table.py (diff)