CCSM/Stage 1 meeting: Feb 24th 2006

Directors Conference Room, 2:30-4:00pm
Agenda:

Question on specific problem:
Currently the operating mode we have is...

call shr_inputinfo_SetDefaults( CCSMInit )   <--- set some values to fill, others to reasonable defaults
call shr_inputinfo_ReadNL( CCSMInit... ) <---- Everything set to a reasonable default here
if ( shr_inputinfo_IsRestart( CCSMInit ) )then
   call shr_inputinfo_ReadRestart( CCSMInit... ) <-- Read in new defaults from restart file
end if

The problem is that on restarts, I want the default values to be determined by the restart file – and overridden by the namelist – values. But, I need to read in the namelist first to get the restart_filename.
Example namelists that show the problem:

&ccsm_inparm
  start_type = "initial"
  case_name = "csmrun"
  aqua_planet = .true.
/
&ccsm_inparm
  start_type = "branch"
  case_name = "csmrun_branch"
  aqua_planet = .false.    ! This is the standard default, so it can't know that the namelist wants to change this from the restart-file default.
/

Another problem is when a combination of ReadNL and ChangeValues is used to set specific values up. How do I retain the ChangeValues settings when the restart file is read again to setup the new defaults?