# 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
# diag_mnc     = .FALSE.,
#--
  fields(1:10,1) = 'ETAN    ','ETANSQ  ','DETADT2 ','PHIBOT  ','PHIBOTSQ',
                   'oceTAUX ','oceTAUY ','TFLUX   ','SFLUX   ','SRELAX  ',
#                  'TRELAX  ','oceFreez',
#  fileName(1) = 'surfDiag',
  frequency(1) =  31104000.,

  fields(1:15,2) = 'UVEL    ','VVEL    ','WVEL    ','PHIHYD  ',
                   'VVELMASS','UVELMASS','WVELSQ  ',
                   'THETA   ','UTHMASS ','VTHMASS ','WTHMASS ',
                   'SALT    ','USLTMASS','VSLTMASS','WSLTMASS',
#  fileName(2) = 'dynDiag',
  frequency(2) = 31104000.,

  fields(1:6,3) =  'DRHODR  ','RHOAnoma','CONVADJ ',
                   'GM_Kwx  ','GM_Kwy  ','GM_Kwz  ',
#                  'GM_PsiX ','GM_PsiY ',
#  levels(1,3) = 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13.,
#  fileName(3) = 'oceDiag',
  frequency(3) = 31104000.,

  fields(1:7,4) =  'ADVx_TH ','ADVy_TH ','ADVr_TH ',
                   'DFxE_TH ','DFyE_TH ','DFrE_TH ',
                   'DFrI_TH ',
#                  'ADVx_SLT',
#  fileName(4) = 'flxDiag',
  frequency(4) = 31104000.,
  fields(1:4,5) =  'SI_Fract','SI_Thick','SI_AdvFr','SI_AdvHi',
#                  'CPL_SLPr','CPL_Qnet','CPL_Qsw ',
#                  'CPL_tauX','CPL_tauY','CPL_sFlx','CPL_iceM',
#                  'CPL_icFr','CPL_iceH','CPL_snwH','CPL_Qic1','CPL_Qic2',
   fileName(5) = 'iceDiag',
  frequency(5) = -3600.,
  timePhase(5) = 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:16,1) = 'ETAN    ','DETADT2 ','THETA   ','SALT    ','CONVADJ ',
                       'DRHODR  ','UE_VEL_C','VN_VEL_C','WVEL    ',
                       'oceTAUX ','oceTAUY ','oceFWflx','oceQnet ',
                       'SRELAX  ','oceSflux','sIceLoad',
#                      'TRELAX  ','oceFreez','oceQsw  ',
  stat_fName(1) = 'dynStDiag',
   stat_freq(1) = 864000.,
   stat_freq(1) = 18000.,
# stat_phase(1) = 0.,
 stat_fields(1:16,2) = 'SI_Fract','SI_Thick','SI_AdvFr','SI_AdvHi',
                       'CPL_SLPr','CPL_Qnet','CPL_Qsw ',
                       'CPL_tauX','CPL_tauY','CPL_sFlx','CPL_iceM',
                       'CPL_icFr','CPL_iceH','CPL_snwH','CPL_Qic1','CPL_Qic2',
#                      'CPL_sPlm','oceSPflx','oceSPDep',
#                      'CPL_sPlm','CPL_RnOf','CPL_aCO2','CPL_wSpd','CPL_icFr',
  stat_fName(2) = 'iceStDiag',
   stat_freq(2) = -3600.,
  stat_phase(2) = 0.,
 &

