| 101 | {{{ |
| 102 | python nemo_nml_check.py -c namelist_ref -r pseudo_nml_ref |
| 103 | No match for: sn_wnum in namsbc_wave (at line no. 567 ) |
| 104 | No match for: sn_tauwoc in namsbc_wave (at line no. 568 ) |
| 105 | No match for: sn_tauwx in namsbc_wave (at line no. 569 ) |
| 106 | No match for: sn_tauwy in namsbc_wave (at line no. 570 ) |
| 107 | No match for: sn_tide_cnames(1) in nam_tide (at line no. 664 ) |
| 108 | No match for: ln_zinterp in nambdy_dta (at line no. 701 ) |
| 109 | No match for: ln_full_vel in nambdy_dta (at line no. 703 ) |
| 110 | No match for: bn_a_i in nambdy_dta (at line no. 718 ) |
| 111 | No match for: bn_h_i in nambdy_dta (at line no. 719 ) |
| 112 | No match for: bn_h_s in nambdy_dta (at line no. 720 ) |
| 113 | No match for: bn_t_i in nambdy_dta (at line no. 721 ) |
| 114 | No match for: bn_t_s in nambdy_dta (at line no. 722 ) |
| 115 | No match for: bn_tsu in nambdy_dta (at line no. 723 ) |
| 116 | No match for: bn_s_i in nambdy_dta (at line no. 724 ) |
| 117 | No match for: bn_aip in nambdy_dta (at line no. 726 ) |
| 118 | No match for: bn_hip in nambdy_dta (at line no. 727 ) |
| 119 | No match for: rn_ice_tem in nambdy_dta (at line no. 729 ) |
| 120 | No match for: rn_ice_sal in nambdy_dta (at line no. 730 ) |
| 121 | No match for: rn_ice_age in nambdy_dta (at line no. 731 ) |
| 122 | No match for: rn_ice_apnd in nambdy_dta (at line no. 732 ) |
| 123 | No match for: rn_ice_hpnd in nambdy_dta (at line no. 733 ) |
| 124 | No match for: ln_zinterp in nambdy_dta (at line no. 701 ) |
| 125 | No match for: ln_full_vel in nambdy_dta (at line no. 703 ) |
| 126 | No match for: cn_dir in nambdy_dta (at line no. 706 ) |
| 127 | No match for: bn_ssh in nambdy_dta (at line no. 710 ) |
| 128 | No match for: bn_u2d in nambdy_dta (at line no. 711 ) |
| 129 | No match for: bn_v2d in nambdy_dta (at line no. 712 ) |
| 130 | No match for: bn_u3d in nambdy_dta (at line no. 713 ) |
| 131 | No match for: bn_v3d in nambdy_dta (at line no. 714 ) |
| 132 | No match for: bn_tem in nambdy_dta (at line no. 715 ) |
| 133 | No match for: bn_sal in nambdy_dta (at line no. 716 ) |
| 134 | No match for: bn_a_i in nambdy_dta (at line no. 718 ) |
| 135 | No match for: bn_h_i in nambdy_dta (at line no. 719 ) |
| 136 | No match for: bn_h_s in nambdy_dta (at line no. 720 ) |
| 137 | No match for: bn_t_i in nambdy_dta (at line no. 721 ) |
| 138 | No match for: bn_t_s in nambdy_dta (at line no. 722 ) |
| 139 | No match for: bn_tsu in nambdy_dta (at line no. 723 ) |
| 140 | No match for: bn_s_i in nambdy_dta (at line no. 724 ) |
| 141 | No match for: bn_aip in nambdy_dta (at line no. 726 ) |
| 142 | No match for: bn_hip in nambdy_dta (at line no. 727 ) |
| 143 | No match for: sn_cfctl%l_glochk in namctl (at line no. 1396 ) |
| 144 | No match for: sn_cfctl%l_allon in namctl (at line no. 1397 ) |
| 145 | No match for: sn_cfctl%l_config in namctl (at line no. 1398 ) |
| 146 | No match for: sn_cfctl%l_runstat in namctl (at line no. 1399 ) |
| 147 | No match for: sn_cfctl%l_trcstat in namctl (at line no. 1400 ) |
| 148 | No match for: sn_cfctl%l_oceout in namctl (at line no. 1401 ) |
| 149 | No match for: sn_cfctl%l_layout in namctl (at line no. 1402 ) |
| 150 | No match for: sn_cfctl%l_prtctl in namctl (at line no. 1403 ) |
| 151 | No match for: sn_cfctl%l_prttrc in namctl (at line no. 1404 ) |
| 152 | No match for: sn_cfctl%l_oasout in namctl (at line no. 1405 ) |
| 153 | No match for: sn_cfctl%procmin in namctl (at line no. 1406 ) |
| 154 | No match for: sn_cfctl%procmax in namctl (at line no. 1407 ) |
| 155 | No match for: sn_cfctl%procincr in namctl (at line no. 1408 ) |
| 156 | No match for: sn_cfctl%ptimincr in namctl (at line no. 1409 ) |
| 157 | }}} |
| 159 | It is probably the case that the structure variables flagged (sn_*) are false positives. This is because only the structure name is declared in the namelist but individual members of the structure may be (and are) set the ''namelist_ref''. Nonetheless, there are quite a few normal variables to investigate. Even if these issues are resolved in more up-to-date revisions, this does illustrate the potential usefulness of this tool. |
| 160 | |
| 161 | Secondly, reversing the roles of the input namelists allows a check on whether or not all the available namelist variables have a default setting in ''namelist_ref'': |
| 162 | |
| 163 | {{{ |
| 164 | python nemo_nml_check.py -r namelist_ref -c pseudo_nml_ref |
| 165 | No match for: ln_time_average_weight in namberg (at line no. 26 ) |
| 166 | No match for: ln_sto_ldf in namsto (at line no. 67 ) |
| 167 | No match for: rn_ldf_std in namsto (at line no. 68 ) |
| 168 | No match for: rn_ldf_tcor in namsto (at line no. 69 ) |
| 169 | No match for: ln_sto_hpg in namsto (at line no. 70 ) |
| 170 | No match for: rn_hpg_std in namsto (at line no. 71 ) |
| 171 | No match for: rn_hpg_tcor in namsto (at line no. 72 ) |
| 172 | No match for: ln_sto_pstar in namsto (at line no. 73 ) |
| 173 | No match for: rn_pstar_std in namsto (at line no. 74 ) |
| 174 | No match for: rn_pstar_tcor in namsto (at line no. 75 ) |
| 175 | No match for: nn_pstar_flt in namsto (at line no. 76 ) |
| 176 | No match for: nn_pstar_ord in namsto (at line no. 77 ) |
| 177 | No match for: ln_sto_trd in namsto (at line no. 78 ) |
| 178 | No match for: rn_trd_std in namsto (at line no. 79 ) |
| 179 | No match for: rn_trd_tcor in namsto (at line no. 80 ) |
| 180 | No match for: ln_sto_trc in namsto (at line no. 89 ) |
| 181 | No match for: nn_sto_trc in namsto (at line no. 90 ) |
| 182 | No match for: rn_trc_stdxy in namsto (at line no. 91 ) |
| 183 | No match for: rn_trc_stdz in namsto (at line no. 92 ) |
| 184 | No match for: rn_trc_tcor in namsto (at line no. 93 ) |
| 185 | No match for: nn_trc_ord in namsto (at line no. 94 ) |
| 186 | No match for: nn_trc_flt in namsto (at line no. 95 ) |
| 187 | No match for: rn_trc_lim in namsto (at line no. 96 ) |
| 188 | No match for: sn_cfctl in namctl (at line no. 223 ) |
| 189 | No match for: ln_rnf_icb in namsbc_rnf (at line no. 575 ) |
| 190 | No match for: sn_i_rnf in namsbc_rnf (at line no. 578 ) |
| 191 | No match for: sn_tide_cnames in nam_tide (at line no. 1125 ) |
| 192 | }}} |
| 193 | |
| 194 | The same caveats apply but there are a few issues warranting further investigation. |
| 195 | |
| 196 | [TBD: repeat process for SI3, TOP, PISCES etc.] |