From d93f75e7beb5595c1c26c80b9a4cebf15ea54d33 Mon Sep 17 00:00:00 2001 From: gaelforget Date: Thu, 26 Jul 2018 10:09:15 -0400 Subject: [PATCH] add data.diagnostics_iops; rm prepare_run --- input/data.diagnostics_iops | 97 +++++++++++++++++++++++++++++++++++++ input/prepare_run | 31 ------------ 2 files changed, 97 insertions(+), 31 deletions(-) create mode 100644 input/data.diagnostics_iops delete mode 100755 input/prepare_run diff --git a/input/data.diagnostics_iops b/input/data.diagnostics_iops new file mode 100644 index 0000000..d09115e --- /dev/null +++ b/input/data.diagnostics_iops @@ -0,0 +1,97 @@ +# Diagnostic Package Choices +#----------------- +# for each output-stream: +# filename(n) : prefix of the output file name (only 8.c long) for outp.stream n +# frequency(n):< 0 : write snap-shot output every multiple of |frequency| (iter) +# > 0 : write time-average output every multiple of frequency (iter) +# 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 diagnostics fields (8.c) (see "available_diagnostics" file +# for the list of all available diag. in this particular config) +#-------------------------------------------------------------------- +# + &diagnostics_list +# + dumpatlast = .TRUE., + diagMdsDir = 'diags', +# + frequency(1)= 2635200., + filename(1)= 'iop_3d_set1', + fields(1:39, 1)='a001 ','a002 ','a003 ','a004 ','a005 ', + 'a006 ','a007 ','a008 ','a009 ','a010 ', + 'a011 ','a012 ','a013 ', + 'bt001 ','bt002 ','bt003 ','bt004 ','bt005 ', + 'bt006 ','bt007 ','bt008 ','bt009 ','bt010 ', + 'bt011 ','bt012 ','bt013 ', + 'bb001 ','bb002 ','bb003 ','bb004 ','bb005 ', + 'bb006 ','bb007 ','bb008 ','bb009 ','bb010 ', + 'bb011 ','bb012 ','bb013 ', +# + frequency(2)= 2635200., + filename(2)= 'iop_3d_set2', + fields(1:39, 2)='aCDOM001','aCDOM002','aCDOM003','aCDOM004','aCDOM005', + 'aCDOM006','aCDOM007','aCDOM008','aCDOM009','aCDOM010', + 'aCDOM011','aCDOM012','aCDOM013', + 'aplk001','aplk002','aplk003','aplk004','aplk005', + 'aplk006','aplk007','aplk008','aplk009','aplk010', + 'aplk011','aplk012','aplk013', + 'bbplk001','bbplk002','bbplk003','bbplk004','bbplk005', + 'bbplk006','bbplk007','bbplk008','bbplk009','bbplk010', + 'bbplk011','bbplk012','bbplk013', +# + frequency(3)= 2635200., + filename(3)= 'nut_3d_set1', + fields(1:22, 3)='gGUD01 ','gGUD02 ','gGUD03 ','gGUD04 ','gGUD05 ','gGUD06 ','gGUD07 ', + 'gTr01 ','gTr02 ','gTr03 ','gTr04 ','gTr05 ','gTr06 ','gTr07 ', + 'C_DIN ','C_PO4 ','C_Si ','C_Fe ','S_DIN ','S_PO4 ','S_Si ','S_Fe ', +# + frequency(4)= 2635200., + filename(4)= 'various_3d_set1', + fields(1:5, 4)='GGL90TKE','GGL90Lmx','GGL90Kr ','pH ','pCO2 ', +# + frequency(5) = 2635200.0, + fields(1:25,5) = 'oceQsw ','SFLUX ','oceSPflx', + filename(5) = 'state_2d_set3', +# + frequency(6) = 2635200.0, + fields(1:5,6) = 'EXFwspee','fluxCO2 ','gDICsurf','gALKsurf','gO2surf ', + filename(6) = 'various_2d_set1', +# + & +# +# +# Parameter for Diagnostics of per level statistics: +#----------------- +# for each output-stream: +# stat_fname(n) : prefix of the output file name (only 8.c 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 diagnostics fields (8.c) (see "available_diagnostics.log" +# file for the list of all available diag. in this particular config) +#----------------- + &DIAG_STATIS_PARMS +# diagSt_regMaskFile='basin_masks_eccollc_90x50.bin', +# nSetRegMskFile=1, +# set_regMask(1)= 1, 1, 1, 1, 1, 1, 1, 1, 1, +# 1, 1, 1, 1, 1, 1, 1, 1 +# val_regMask(1)= 1., 2., 3., 4., 5., 6., 7., 8., 9., +# 10.,11.,12.,13.,14.,15.,16.,17. +##--- +# stat_fields(1,1)= 'ETAN ','ETANSQ ','DETADT2 ', +# 'UVEL ','VVEL ','WVEL ', +# 'THETA ','SALT ', +# stat_fname(1)= 'dynStDiag', +# stat_freq(1)= 3153600., +# stat_region(1,1)= 1, 2, 3, 4, 5, 6, 7, 8, 9, +# 10,11,12,13,14,15,16,17 +##--- +# stat_fields(1,2)= 'oceTAUX ','oceTAUY ', +# 'surForcT','surForcS','TFLUX ','SFLUX ', +# 'oceQnet ','oceSflux','oceFWflx', +# stat_fname(2)= 'surfStDiag', +# stat_freq(2)= 3153600., +# stat_region(1,2)= 1, 2, 3, 4, 5, 6, 7, 8, 9, +# 10,11,12,13,14,15,16,17 + & diff --git a/input/prepare_run b/input/prepare_run deleted file mode 100755 index 9e67c8c..0000000 --- a/input/prepare_run +++ /dev/null @@ -1,31 +0,0 @@ -#! /usr/bin/env bash - -dirList="../../global_oce_llc90/input.ecco_v4/input.short/ ../../global_oce_llc90/input_fields/ ../../global_oce_llc90/input.ecco_v4/ ../../global_oce_input_fields/ecmwf/ ../../global_oce_input_fields/ecco_v4/" - -\rm data data.ctrl data.exf data.optim data.pkg data.profiles data.seaice - -for fromDir in $dirList -do - -#- and do a symbolic link in the current directory -# (if the file does not already exist) -if test -d $fromDir ; then - fileList=`( cd $fromDir ; ls -1 )` - lnkList='files:' - for xx in $fileList - do - if test -r ${fromDir}/$xx ; then - if test ! -r $xx ; then - lnkList=${lnkList}" "$xx - ln -sf ${fromDir}/$xx . - fi - fi - done - echo ' link' $lnkList "from dir:" $fromDir -else - echo " Error:" $fromDir "not a directory" -fi -done - -../input/prepare_run -