# Diagnostic Package Choices
#--------------------
#  dumpAtLast (logical): always write output at the end of simulation (default=F)
#  diag_mnc   (logical): write to NetCDF files (default=useMNC)
#--for each output-stream:
#  fileName(n) : prefix of the output file name (max 80c long) for outp.stream n
#  frequency(n):< 0 : write snap-shot output every |frequency| seconds
#               > 0 : write time-average output every frequency seconds
#  timePhase(n)     : write at time = timePhase + multiple of |frequency|
#    averagingFreq  : frequency (in s) for periodic averaging interval
#    averagingPhase : phase     (in s) for periodic averaging interval
#    repeatCycle    : number of averaging intervals in 1 cycle
#  levels(:,n) : list of levels to write to file (Notes: declared as REAL)
#                when this entry is missing, select all common levels of this list
#  fields(:,n) : list of selected diagnostics fields (8.c) in outp.stream n
#                (see "available_diagnostics.log" file for the full list of diags)
#  missing_value(n) : missing value for real-type fields in output file "n"
#  fileFlags(n)     : specific code (8c string) for output file "n"
#--------------------
 &DIAGNOSTICS_LIST
# diagCG_maxIters = 200,
# diagCG_resTarget = 1.E-10,
# diagCG_pcOffDFac = 0.96,
# diagCG_prtResFrq = 20,
  xPsi0 = 300.,
  yPsi0 = -26.,
#--
  fields(1:10,1) = 'ETAN    ','ETANSQ  ','DETADT2 ','PHIBOT  ','PHIBOTSQ',
                   'DICTFLX ','DICOFLX ','DICCFLX ','DICPCO2 ','DICPHAV ',
   levels(1,1) = 1.,
   fileName(1) = 'surfDiag',
  frequency(1) = 2592000.,
# frequency(1) = 432000.,
  fields(1:9,2)  = 'VVELMASS','UVELMASS','THETA   ','SALT    ',
                   'GM_PsiX ','GM_PsiY ','PhiVEL  ','PsiVEL  ',
                   'CONVADJ ',
   fileName(2) = 'dynDiag',
  frequency(2) = 2592000.,
  frequency(2) = 432000.,
  fields(1:9,3)  = 'DICBIOA ','DICCARB ',
                   'TRAC01  ','TRAC02  ','TRAC03  ','TRAC04  ','TRAC05  ',
                   'ADVxTr05','DFrITr05',
#  fileName(3) = 'dicDiag',
  frequency(3) = 2592000.,
  fields(1:8,4)  = 'ADVx_TH ','ADVy_TH ','ADVr_TH ',
                   'DFxE_TH ','DFyE_TH ','DFrE_TH ','DFrI_TH ',
                   'ADVx_SLT',
#  fileName(4) = 'flxDiag',
  frequency(4) = 0.,
 &

#--------------------
# Parameter for Diagnostics of per level statistics:
#--------------------
#  diagSt_mnc (logical): write stat-diags to NetCDF files (default=diag_mnc)
#  diagSt_regMaskFile : file containing the region-mask to read-in
#  nSetRegMskFile   : number of region-mask sets within the region-mask file
#  set_regMask(i)   : region-mask set-index that identifies the region "i"
#  val_regMask(i)   : region "i" identifier value in the region mask
#--for each output-stream:
#  stat_fName(n) : prefix of the output file name (max 80c long) for outp.stream n
#  stat_freq(n):< 0 : write snap-shot output every |stat_freq| seconds
#               > 0 : write time-average output every stat_freq seconds
#  stat_phase(n)    : write at time = stat_phase + multiple of |stat_freq|
#  stat_region(:,n) : list of "regions" (default: 1 region only=global)
#  stat_fields(:,n) : list of selected diagnostics fields (8.c) in outp.stream n
#                (see "available_diagnostics.log" file for the full list of diags)
#--------------------
 &DIAG_STATIS_PARMS
#---
 stat_fields(1:20,1) = 'ETAN    ','DETADT2 ','THETA   ','SALT    ','CONVADJ ',
                       'UVEL    ','VVEL    ','WVEL    ','GM_PsiX ','GM_PsiY ',
                       'TRAC01  ','TRAC02  ','TRAC03  ','TRAC04  ','TRAC05  ',
                       'DIC3DSIT','OMEGAC  ','DIC3DPH ','DIC3DPCO','DIC3DCO3',
  stat_fName(1) = 'dynStDiag',
   stat_freq(1) = 432000.,
  stat_phase(1) = 0.,
 &
