FAQ: How do I add a new namelist variable and pass it to a scheme? 

Submitted by dom.heinzeller on Thu, 09/17/2020 - 10:29

How do I add a new namelist variable and pass it to a scheme? 

If new namelist variables need to be added, the GFS_control_type DDT should be used. See examples in GFS_typedefs.F90 and GFS_typedefs.meta. In this case, it is also important to modify the namelist file input.nml to include the new variable. It also means that a new variable needs to be defined with a default value given in subroutine control_initialize().