Opened 4 years ago

Closed 3 years ago

Last modified 2 years ago

#1758 closed Bug (invalid)

namelist mangling: cfg does not always override ref

Reported by: hulten Owned by: nemo
Priority: normal Milestone: 2015 release-3.6
Component: tools Version: release-3.6
Severity: Keywords: mangling namelists
Cc:

Description

namelist_cfg should override any values in namelist_ref, but doesn't here:

$ grep -i ln_zps namelist_{ref,cfg}
namelist_ref:   ln_zps      = .true.    !  z-coordinate - partial steps   (T/F)
namelist_cfg:   ln_zps      = .false.    !  z-coordinate - partial steps   (T/F)
$ grep --text -i ln_zps output.namelist.dyn 
 LN_ZPS  = T,

I think that the LN_ZPS should have been set to false.
I have produced this with svn 5283.

Commit History (0)

(No commits)

Attachments (3)

namelist_ref (90.6 KB) - added by hulten 4 years ago.
namelist_cfg (9.7 KB) - added by hulten 4 years ago.
output.namelist.dyn (25.5 KB) - added by hulten 4 years ago.

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by hulten

Changed 4 years ago by hulten

Changed 4 years ago by hulten

comment:1 Changed 3 years ago by acc

  • Resolution set to invalid
  • Status changed from new to closed

The error here is in the user's namelist_cfg. The name list contains 2 namzgr blocks; an empty one near the top and a populated one near the bottom. The user expects the second to have been used but the empty block precedes it. Since this contains no entries the reference settings persist.

comment:2 Changed 3 years ago by nemo

  • Keywords namelists added; namelist removed

comment:3 Changed 2 years ago by nemo

  • Keywords release-3.6* added

comment:4 Changed 2 years ago by nemo

  • Keywords release-3.6* removed
Note: See TracTickets for help on using tickets.