Skip to content

Put use_init_interp in $nl_flags as either .true. or .false. so can be correctly handled in namelist_defaults_ctsm.xml #3832

@ekluzek

Description

@ekluzek

Logical attributes in namelist_defaults files need to have been converted to the $nl_flags dictionary so that they will be either .true. or .false. so that the comparison works correctly. Logical values are allowed to be different case, and shortened with or without the "." in front and after. As such they should be stored in $nl_flags in the two options, based on the logical value.

use_init_interp isn't handled this way, and as such if the user enters "T" or "TRUE" the namelist_defaults matches might not work correctly.

Metadata

Metadata

Assignees

Labels

bfbbit-for-bitenhancementnew capability or improved behavior of existing capabilityusabilityImprove or clarify user-facing options

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions