Ignore:
Timestamp:
05/23/16 15:47:13 (8 years ago)
Author:
cetlod
Message:

Clean & update NEMO_v6 configuration

Location:
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL
Files:
1 added
1 deleted
4 edited

Legend:

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

    r2848 r2864  
    3232{ 
    3333    IGCM_debug_PushStack "OCE_Update" 
    34  
    35     # Interannual run 
    36     # In this case job need to calculate previous and following year and give, and if every run needs to add "_y" before every year  
    37     if [ X${opa9_UserChoices_Interannual_Run} = Xy ] ; then 
    38  
    39         typeset file  
    40  
    41         (( PeriodCumulPeriod =  ${CumulPeriod} - 1 ))  
    42         (( PeriodInitYear =${InitYear} + ${PeriodCumulPeriod} * ${PeriodLengthInYears} )) 
    43         (( PeriodFinalYear =${InitYear} + ${PeriodLengthInYears}*${CumulPeriod} - 1 )) 
    44  
    45         NbFileInter=${#opa9_Interannual_List_jobsbc[*]} 
    46         (( NbFileInter_tot=${#opa9_Interannual_List_jobsbc[*]} * ${PeriodLengthInYears} )) 
    47         (( i = 0 )) 
    48  
    49         while [ ${year} -le ${PeriodFinalYear} ] ; do #copy in ONCE of ALL necessary files for all PeriodLength 
    50              
    51             while [ $i -lt ${NbFileInter} ] ; do 
    52                  
    53                 eval file=${opa9_Interannual_List_jobsbc[$i]} 
    54                 if [ X${year} = X${PeriodInitYear} ] ; then   
    55                                 if [ ${month} -eq 01 ] ; then 
    56                                         # if year-1 does not exist we create a file _noym1.nc copy of year 
    57                                         eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year_m1}.nc 
    58                                         if  [ ! -f ${jobsbc_file_ym1} ] ; then 
    59                                                 eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year}.nc 
    60                                                 eval runsbc_file_ym1=${file}_noym1.nc 
    61                                         else 
    62                                             eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year_m1}.nc 
    63                                             eval runsbc_file_ym1=${file}_y${year_m1}.nc 
    64                                         fi 
    65  
    66                             IGCM_sys_Get ${jobsbc_file_ym1} ${runsbc_file_ym1} 
    67                                 fi 
    68                 fi 
    69                  
    70                 # download year  
    71                 eval jobsbc_file_y=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year}.nc 
    72                 eval runsbc_file_y=${file}_y${year}.nc 
    73                  
    74                 if [ ! -f ${runsbc_file_y} ] ; then 
    75                     IGCM_sys_Get ${jobsbc_file_y} ${runsbc_file_y} 
    76                 fi 
    77                  
    78                 # download (year+1) if it is last year of run 
    79                 if [ X${year} = X${PeriodFinalYear} ] ; then     
    80          
    81                     eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year_p1}.nc 
    82                     eval runsbc_file_yp1=${file}_y${year_p1}.nc 
    83                      
    84                     if  [ ! -f ${runsbc_file_yp1} ] ; then 
    85                          
    86                         # if year+1 does not exist we create a file _noyp1.nc copy of year 
    87                         eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year_p1}.nc 
    88                         if  [ ! -f ${jobsbc_file_yp1} ] ; then 
    89                             eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year}.nc 
    90                             eval runsbc_file_yp1=${file}_noyp1.nc 
    91                         else 
    92                             eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year_p1}.nc 
    93                             eval runsbc_file_yp1=${file}_y${year_p1}.nc 
    94                         fi 
    95                         IGCM_sys_Get ${jobsbc_file_yp1} ${runsbc_file_yp1} 
    96                     fi 
    97                      
    98                 fi 
    99                 (( i = i + 1 )) 
    100          
    101             done 
    102          
    103             (( year = year + 1 )) 
    104           
    105             (( i = 0 )) 
    106         done 
    107  
    108     # End interannual 
    109     elif [ X${opa9_UserChoices_Interannual_Run} = Xn ] ; then 
    110     # Climatological run 
    111        typeset file  
    112  
    113        eval NbFileInter=${#opa9_Interannual_List_jobsbc[*]} 
    114  
    115         (( i = 0 )) 
    116         while [ $i -lt ${NbFileInter} ] ; do 
    117             eval file=${opa9_Interannual_List_jobsbc[$i]} 
    118             eval jobsbc_file=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}.nc 
    119             eval runsbc_file=${file}.nc 
    120  
    121             IGCM_sys_Get ${jobsbc_file} ${runsbc_file} 
    122             (( i = i + 1 )) 
    123         done 
    124     fi 
    125     # End climatological 
    126      
    127     # TEST year for EMPave_old.dat file 
    128     # Needed if in namelist fwb=2 after firts year, because in EMPave_old.dat file first year is 0 
    129 #    eval year_EMPave_old=`awk '{ print $1 }' ${RUN_DIR}/EMPave_old.dat` 
    130 #    (( PeriodCumulPeriod =  ${CumulPeriod} - 1 ))  
    131 #    (( PeriodInitYear =${InitYear} + ${PeriodCumulPeriod} * ${PeriodLengthInYears} )) 
    132 #    echo "value year: X${year}" 
    133 #    echo "value PeriodInitYear: X${PeriodInitYear}" 
    134 #    if [ "${CumulPeriod}" -ne 1 ] ; then 
    135 #       if [ ${year_m1} = ${year_EMPave_old} ] ; then 
    136 #               echo "OK. Date in EMPave_old.dat ${year_EMPave_old} is equal to date in EMPave.dat minus 1 : ${year_m1}" 
    137 #       else  
    138 #               echo "NOT CORRECT. Date in EMPave_old.dat ${year_EMPave_old} is not equal to date in EMPave.dat minus 1: ${year_m1} exit." 
    139 #               exit 
    140 #       fi 
    141 #   fi 
    142     # END OF TEST 
    14334 
    14435    NbFreq=$( echo ${config_OCE_WriteFrequency} | wc -w ) 
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/PARAM/namelist_ORCA1clim_cfg

    r2816 r2864  
    104104&namsbc_core   !   namsbc_core  CORE bulk formulae 
    105105!----------------------------------------------------------------------- 
    106 !              !   file name                  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights              ! rotation ! 
    107 !              !                              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename             ! pairing  ! 
    108    sn_wndi     = 'u_10.15JUNE2009_fill'       ,         6         , 'U_10_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bicubic.nc'  , 'U1' 
    109    sn_wndj     = 'v_10.15JUNE2009_fill'       ,         6         , 'V_10_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bicubic.nc'  , 'V1' 
    110    sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'SWDN_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    111    sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'LWDN_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    112    sn_tair     = 't_10.15JUNE2009_fill'       ,         6         , 'T_10_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    113    sn_humi     = 'q_10.15JUNE2009_fill'       ,         6         , 'Q_10_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    114    sn_prec     = 'ncar_precip.15JUNE2009_fill',        -1         , 'PRC_MOD1',   .true.     ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    115    sn_snow     = 'ncar_precip.15JUNE2009_fill',        -1         , 'SNOW'    ,   .true.     ,  .true. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
     106!              !   file name  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights              ! rotation ! 
     107!              !              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename             ! pairing  ! 
     108   sn_wndi     = 'u_10'       ,         6         , 'U_10_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_bicubic.nc'  , 'U1' 
     109   sn_wndj     = 'v_10'       ,         6         , 'V_10_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_bicubic.nc'  , 'V1' 
     110   sn_qsr      = 'radsw'      ,        24         , 'SWDN_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     111   sn_qlw      = 'radlw'      ,        24         , 'LWDN_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     112   sn_tair     = 't_10'       ,         6         , 'T_10_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     113   sn_humi     = 'q_10'       ,         6         , 'Q_10_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     114   sn_prec     = 'precip'     ,        -1         , 'PRC_MOD1',   .true.     ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     115   sn_snow     = 'snow'       ,        -1         , 'SNOW'    ,   .true.     ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
    116116/ 
    117117!----------------------------------------------------------------------- 
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/PARAM/namelist_ORCA1ia_cfg

    r2814 r2864  
    104104&namsbc_core   !   namsbc_core  CORE bulk formulae 
    105105!----------------------------------------------------------------------- 
    106 !              !   file name                  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights              ! rotation ! 
    107 !              !                              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename             ! pairing  ! 
    108    sn_wndi     = 'u_10_fill'                  ,         6         , 'U_10_MOD',   .true.     ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bicubic.nc'  , 'U1' 
    109    sn_wndj     = 'v_10_fill'                  ,         6         , 'V_10_MOD',   .true.     ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bicubic.nc'  , 'V1' 
    110    sn_qsr      = 'ncar_rad_fill'              ,        24         , 'SWDN_MOD',   .false.    ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    111    sn_qlw      = 'ncar_rad_fill'              ,        24         , 'LWDN_MOD',   .true.     ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    112    sn_tair     = 't_10_fill'                  ,         6         , 'T_10_MOD',   .false.    ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    113    sn_humi     = 'q_10_fill'                  ,         6         , 'Q_10_MOD',   .false.    ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    114    sn_prec     = 'ncar_precip_fill'           ,        -1         , 'RAIN'    ,   .true.     ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
    115    sn_snow     = 'ncar_precip_fill'           ,        -1         , 'SNOW'    ,   .true.     ,  .false. , 'yearly'  , 'weights_coreII_2_eorca1_bilinear.nc' , '' 
     106!              !   file name  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights              ! rotation ! 
     107!              !              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename             ! pairing  ! 
     108   sn_wndi     = 'u_10'       ,         6         , 'U_10_MOD',   .true.     ,  .false. , 'yearly'  , 'weights_bicubic.nc'  , 'U1' 
     109   sn_wndj     = 'v_10'       ,         6         , 'V_10_MOD',   .true.     ,  .false. , 'yearly'  , 'weights_bicubic.nc'  , 'V1' 
     110   sn_qsr      = 'radsw'      ,        24         , 'SWDN_MOD',   .false.    ,  .false. , 'yearly'  , 'weights_bilinear.nc' , '' 
     111   sn_qlw      = 'radlw'      ,        24         , 'LWDN_MOD',   .true.     ,  .false. , 'yearly'  , 'weights_bilinear.nc' , '' 
     112   sn_tair     = 't_10'       ,         6         , 'T_10_MOD',   .false.    ,  .false. , 'yearly'  , 'weights_bilinear.nc' , '' 
     113   sn_humi     = 'q_10'       ,         6         , 'Q_10_MOD',   .false.    ,  .false. , 'yearly'  , 'weights_bilinear.nc' , '' 
     114   sn_prec     = 'precip'     ,        -1         , 'PRC_MOD1',   .true.     ,  .false. , 'yearly'  , 'weights_bilinear.nc' , '' 
     115   sn_snow     = 'snow'       ,        -1         , 'SNOW'    ,   .true.     ,  .false. , 'yearly'  , 'weights_bilinear.nc' , '' 
    116116/ 
    117117!----------------------------------------------------------------------- 
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/PARAM/namelist_ORCA2clim_cfg

    r2663 r2864  
    8686&namsbc_core   !   namsbc_core  CORE bulk formulae 
    8787!----------------------------------------------------------------------- 
     88!              !   file name  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights              ! rotation ! 
     89!              !              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename             ! pairing  ! 
     90   sn_wndi     = 'u_10'       ,         6         , 'U_10_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_bicubic.nc'  , 'U1' 
     91   sn_wndj     = 'v_10'       ,         6         , 'V_10_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_bicubic.nc'  , 'V1' 
     92   sn_qsr      = 'radsw'      ,        24         , 'SWDN_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     93   sn_qlw      = 'radlw'      ,        24         , 'LWDN_MOD',   .true.     ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     94   sn_tair     = 't_10'       ,         6         , 'T_10_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     95   sn_humi     = 'q_10'       ,         6         , 'Q_10_MOD',   .false.    ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     96   sn_prec     = 'precip'     ,        -1         , 'PRC_MOD1',   .true.     ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
     97   sn_snow     = 'snow'       ,        -1         , 'SNOW'    ,   .true.     ,  .true. , 'yearly'  , 'weights_bilinear.nc' , '' 
    8898/ 
    8999!----------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.