! ######################################################################
! ###
! ### TM5 Expert settings.
! ###
! ######################################################################

! ------------------------------------------------
! logging
! ------------------------------------------------
! Default setting for print debug messages (True|False) ? Passing '--verbose'
! or '-v' options to setup_tm5 script will set this value to 'True'
verbose      :  False

! set log file for setup script:
logfile      :  ${script}.0000.log

! ------------------------------------------------
! run directory (where submit script, executable, and settings are installed)
! ------------------------------------------------
rundir    :  ${my.run.dir}

! ------------------------------------------------
! build source
! ------------------------------------------------
! prefix for source and script files
#if "${co2only}" == '1' 
build.prefix      :  ${my.project.dir}/build-co2
#else
build.prefix      :  ${my.project.dir}/build
#endif
! a link with the original name will be created to this extended name
build.prefix.extend     :  False

! actual source codes will end up in ...
build.sourcedir   :  ${build.prefix}

! Create a source

! copy a source code to the build prefix directory (True|False) ?
build.copy              : True
! configure source (True|False) ?
build.configure         : True

! ------------------------------------------------
! install executable and scripts
! ------------------------------------------------
install.copy            : ${build.prefix}/../bin/submit_tm5
install.rc              : tm5-run.rc

! ------------------------------------------------
! job script
! ------------------------------------------------
job.name                :  ${my.basename}
job.steps               :  init run done
job.step.run.exe        :  ${my.basename}.x

! ------------------------------------------------
! submit script
! ------------------------------------------------
submit.script           :  submit_tm5
submit.command          :  ./${submit.script} ${job.step.run.exe} ${install.rc}
submit.relpaths         :  False
submit.to               :  foreground
submit.options          : 
submit.debugger         :  False

! ------------------------------------------------
! horizontal grids
! ------------------------------------------------
regions  :  ${my.region1} 

! special: single cell global region:
region.globe :  globe

! special: global surface fields (unless region 1 is on the same grid)
#if ("${my.region1}" == "glb100x100") or ("${my.region1}" == "glb050x050") :
region.glbsfc                            :  
#else:
region.glbsfc                            :  glb100x100
#endif

! parent regions for zoom; Must use 'globe' for the global region:
region.${my.region1}.parent             :  ${region.globe}

! 'parent' region for global surface field; used to match surface
! pressures if necessary: 
#if ("${my.region1}" != "glb100x100") and ("${my.region1}" != "glb050x050") :
region.${region.glbsfc}.parent          :  ${my.region1}
#endif

!=====================================================================!
! OpenMP keys, which are not an option yet                            !
!=====================================================================! 
par.openmp    : F
par.nthread   : 1

!=====================================================================!
! Miscelleaneous (do not modify, unless you know what you're doing!)  !
!=====================================================================!
output.types            : timing settings

jobstep                 : 0
jobstep.timerange.start : ${timerange.start}
jobstep.timerange.end   : ${timerange.end}
prev.output.dir         : 

! code source for levels definition
#if "${my.levs}" == "all"
my.source.levs :  levels/${my.eclevs}
#else
my.source.levs :  levels/${my.eclevs} levels/${my.eclevs}/${my.levs}
#endif
