ESMCI / ESMCI/cime

Namelist comparison for mizuRoute control files in tests shows Inequivalent lines that are only different in whitespace

Open
#4,966 2 comments 0 reactions 1 assignee Claimed by @ekluzek View on GitHub
Low Priority Responsibility: CESM Responsibility: CTSM topic: tests ty: Bug type: bug report
Dominant language
Python
Stars
174
Forks
225
Avg merge
1d 16h
Merged PRs (30d)
14

Description

The mizuRoute control files: CaseDocs/mizuRoute.control are text files in a non-standard format. The namelist comparison for testing shows them being different even for things that just different by whitespace.

For example the baseline comparison of ctsm5.4.033 against ctsm5.4.032 for the test "SMS_D_Ld5.5x5_amazon_rHDMA.I2000Clm60SpMizGs.derecho_intel.mizuroute-default" shows these kind of differences in TestStatus.log:

```
2026-04-16 09:03:58: NLCOMP
Comparison failed between '/glade/u/home/glemieux/scratch/ctsm-tests/tests_0416-090144de/SMS_D_Ld5.5x5_amazon_rHDMA.I2000Clm60SpMizGs.derecho_intel.mizuroute-default.GC
.0416-090144de_int/CaseDocs/mizuRoute.control' with '/glade/campaign/cgd/tss/ctsm_baselines/ctsm5.4.032/SMS_D_Ld5.5x5_amazon_rHDMA.I2000Clm60SpMizGs.derecho_intel.mizur
oute-default/CaseDocs/mizuRoute.control'
Inequivalent lines SMS_D_Ld5.5x5_amazon_rHDMA.I2000Clm60SpMizGs.derecho_intel.mizuroute-default.GC.0409-131750de_int
! name of simulation != SMS_D_Ld5.5x5_amazon_rHDMA.I2000Clm60SpMizGs.derecho_intel.mizuroute-defaul
t.GC.0416-090144de_int ! name of simulation
NORMALIZED: SMS_D_Ld5.5x5_amazon_rHDMA.I2000Clm60SpMizGs.derecho_intel.mizuroute-default.GC.0409-131750de_int
! name of simulation != SMS_D_Ld5.5x5_amazon_rHDMA.I2000Clm60SpMizGs.derecho_intel.mizuroute-default.GC.
0416-090144de_int ! name of simulation
Inequivalent lines 5
! option for routing schemes (only one-option allowed) 1->IRF, 2->KWT, 3-> KW, 4->MC, 5->DW != 5
!
option for routing schemes (only one-option allowed) 1->IRF, 2->KWT, 3-> KW, 4->MC, 5->DW
NORMALIZED: 5
! option for routing schemes (only one-option allowed) 1->IRF, 2->KWT, 3-> KW, 4->MC, 5->DW != 5
! optio
n for routing schemes (only one-option allowed) 1->IRF, 2->KWT, 3-> KW, 4->MC, 5->DW
```

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.