Ignore:
Timestamp:
10/17/15 15:28:39 (9 years ago)
Author:
cetlod
Message:

update namelist and card for NEMO_v6 configurations

Location:
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL
Files:
7 added
6 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/opa9.driver

    r2639 r2647  
    55    IGCM_debug_PushStack "OCE_Initialize" 
    66 
    7     JOB_NAME=${config_UserChoices_JobName} 
    8  
    9 #?? RESOL_OCE=$( echo $RESOL | awk "-Fx" '{print $2}' | awk "-F-" '{print $1}') 
    10 #?? [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_OCE_3D ${SUBMIT_DIR}/../.resol) || RESOL_OCE_3D=96x95x39 
    11  
    12     OPA_NDT_DAY=${opa9_UserChoices_OPA_NDT_DAY:=24} 
     7    RESOL_OCE=$( echo ${config_UserChoices_ExperimentName} | cut -c1-5 ) 
    138 
    149# Local function to find namelists parameters 
     
    1712} 
    1813 
    19     OPA_RDT=$( supergrep rn_rdt  ${SUBMIT_DIR}/PARAM/namelist_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' ) 
     14    OPA_RDT=$( supergrep rn_rdt  ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' ) 
    2015 
    2116    # Period Length In Days between DateBegin and first day of calendar 0001 01 01 
    2217    # /!\ Needed by OPA namelist to compute file names /!\ 
    2318    (( DaysSinceJC = $( IGCM_date_DaysSinceJC ${DateBegin} ) + 1 )) 
     19 
     20    (( OPA_NDT_DAY  =  86400 / OPA_RDT )) 
    2421 
    2522    # Definition from opa9.card of List_jobsbc and List_runsbc used to do to interannual and climatological runs  
     
    129126    # TEST year for EMPave_old.dat file 
    130127    # Needed if in namelist fwb=2 after firts year, because in EMPave_old.dat file first year is 0 
    131     eval year_EMPave_old=`awk '{ print $1 }' ${RUN_DIR}/EMPave_old.dat` 
    132     (( PeriodCumulPeriod =  ${CumulPeriod} - 1 ))  
    133     (( PeriodInitYear =${InitYear} + ${PeriodCumulPeriod} * ${PeriodLengthInYears} )) 
    134     echo "value year: X${year}" 
    135     echo "value PeriodInitYear: X${PeriodInitYear}" 
     128#    eval year_EMPave_old=`awk '{ print $1 }' ${RUN_DIR}/EMPave_old.dat` 
     129#    (( PeriodCumulPeriod =  ${CumulPeriod} - 1 ))  
     130#    (( PeriodInitYear =${InitYear} + ${PeriodCumulPeriod} * ${PeriodLengthInYears} )) 
     131#    echo "value year: X${year}" 
     132#    echo "value PeriodInitYear: X${PeriodInitYear}" 
    136133#    if [ "${CumulPeriod}" -ne 1 ] ; then 
    137134#       if [ ${year_m1} = ${year_EMPave_old} ] ; then 
     
    242239   IGCM_comp_modifyNamelist blocker    namelist_cfg nn_leapy  ${OPA_NLEAPY}   
    243240 
    244  
    245  
    246  
    247     # update xmlio_server.def 
    248  
    249 #SF: commented for now, thinking at it for new version wityh xio server, sed in iodef.xml 
    250   #  if [ X${opa9_UserChoices_io_server} = Xy ] ; then 
    251   #      sed -e "s/${PAT_SERVER}/  using_server = .TRUE./" \ 
    252   #      xmlio_server.def > xmlio_server.def.tmp 
    253   #      IGCM_sys_Mv xmlio_server.def.tmp xmlio_server.def 
    254   #  fi 
    255          
     241   # update domain_def.xml file 
     242   case ${RESOL_OCE} in 
     243       ( *ORCA2* )  
     244          sed -e 's/<domain id="1point" zoom_ibegin="150" zoom_jbegin="150"/<domain id="1point" zoom_ibegin="10" zoom_jbegin="10"/' domain_def.xml > domain_def.xml.tmp  
     245          IGCM_sys_Mv domain_def.xml.tmp domain_def.xml  ; 
     246   esac 
     247 
    256248    IGCM_debug_PopStack "OCE_Update" 
    257249} 
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/PARAM/namelist_ORCA2_cfg

    r2639 r2647  
    66&namrun        !   parameters of the run 
    77!----------------------------------------------------------------------- 
     8   cn_exp      =  _AUTO_ 
     9   nn_date0    =  _AUTO_   !  date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 
     10   nn_leapy    =  _AUTO_   !  Leap year calendar (1) or not (0) 
     11   ln_rstart   =  _AUTO_ 
     12   nn_rstctl   =  _AUTO_ 
     13   nn_it000    =  _AUTO_ 
     14   nn_itend    =  _AUTO_ 
     15   nn_stock    =  _AUTO_ 
     16   nn_write    =    720 
     17   ln_mskland  = .true. 
     18   ln_clobber  = .true. 
    819/ 
    920!----------------------------------------------------------------------- 
     
    4657   ppkth2      =  999999.              ! 
    4758   ppacr2      =  999999.              ! 
     59   rn_rdt      = 5760.     !  time step for the dynamics (and tracer if nn_acc=0) 
     60   rn_atfp     =    0.1    !  asselin time filter parameter 
     61   nn_acc      =    0      !  acceleration of convergence : =1      used, rdt < rdttra(k) 
     62                                 !                          =0, not used, rdt = rdttra 
     63   rn_rdtmin   = 28800.          !  minimum time step on tracers (used if nn_acc=1) 
     64   rn_rdtmax   = 28800.          !  maximum time step on tracers (used if nn_acc=1) 
     65   rn_rdth     =  800.           !  depth variation of tracer time step  (used if nn_acc=1) 
     66   nn_msh      =  0  
    4867/ 
    4968!----------------------------------------------------------------------- 
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/PARAM/namelist_top_ORCA2_cfg

    r2639 r2647  
    55&namtrc_run     !   run information 
    66!----------------------------------------------------------------------- 
     7   ln_rsttr      = _AUTO_ 
     8   nn_rsttr      = _AUTO_ 
     9   ln_top_euler   = .true. 
    710/ 
    811!----------------------------------------------------------------------- 
     
    4043&namtrc_dta      !    Initialisation from data input file 
    4144!----------------------------------------------------------------------- 
    42 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    43 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    44    sn_trcdta(1)  = 'data_DIC_nomask'        ,        -12        ,  'DIC'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
    45    sn_trcdta(2)  = 'data_Alkalini_nomask'   ,        -12        ,  'Alkalini',    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
    46    sn_trcdta(3)  = 'data_O2_nomask'         ,        -1         ,  'O2'      ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
    47    sn_trcdta(5)  = 'data_PO4_nomask'        ,        -1         ,  'PO4'     ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
    48    sn_trcdta(7)  = 'data_Si_nomask'         ,        -1         ,  'Si'      ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
    49    sn_trcdta(10) = 'data_DOC_nomask'        ,        -12        ,  'DOC'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
    50    sn_trcdta(14) = 'data_Fer_nomask'        ,        -12        ,  'Fer'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
    51    sn_trcdta(23) = 'data_NO3_nomask'        ,        -1         ,  'NO3'     ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
     45!                !  file name                           ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     46!                !                                      !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
     47   sn_trcdta(1)  = 'DIC_GLODAP_annual_ORCA_R2.nc'       ,        -12        ,  'DIC'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
     48   sn_trcdta(2)  = 'Alkalini_GLODAP_annual_ORCA_R2.nc'  ,        -12        ,  'Alkalini',    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
     49   sn_trcdta(3)  = 'O2_WOA2009_monthly_ORCA_R2.nc'      ,        -1         ,  'O2'      ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
     50   sn_trcdta(5)  = 'PO4_WOA2009_monthly_ORCA_R2.nc'     ,        -1         ,  'PO4'     ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
     51   sn_trcdta(7)  = 'Si_WOA2009_monthly_ORCA_R2.nc'      ,        -1         ,  'Si'      ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
     52   sn_trcdta(10) = 'DOC_PISCES_monthly_ORCA_R2.nc'      ,        -12        ,  'DOC'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
     53   sn_trcdta(14) = 'Fer_PISCES_monthly_ORCA_R2.nc'      ,        -12        ,  'Fer'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
     54   sn_trcdta(23) = 'NO3_WOA2009_monthly_ORCA_R2.nc'     ,        -1         ,  'NO3'     ,    .true.    , .true. , 'yearly'  , ''       , ''   , '' 
    5255   rn_trfac(1)   =   1.0e-06  !  multiplicative factor 
    5356   rn_trfac(2)   =   1.0e-06  !  -      -      -     - 
Note: See TracChangeset for help on using the changeset viewer.