Changeset 1949


Ignore:
Timestamp:
2010-06-23T16:04:37+02:00 (10 years ago)
Author:
flavoni
Message:

changed filename for year-1 and year+1 for interannual run, see ticket: #683

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CONFIG/ORCA2_LIM/IGCM00/COMP/opa9.driver

    r1853 r1949  
    8686      if [ X${year} = X${PeriodInitYear} ] ; then   
    8787                           if [ ${month} -eq 01 ] ; then 
    88                   # if year-1 does not exist we copy year in (year-1) 
     88                  # if year-1 does not exist we create a file _noym1.nc copy of year 
    8989                  eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year - 1 )).nc 
    9090                  if  [ ! -f ${jobsbc_file_ym1} ] ; then 
    9191                     eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year}.nc 
    92                      eval runsbc_file_ym1=${file}_noy.nc 
     92                     eval runsbc_file_ym1=${file}_noym1.nc 
    9393                  else 
    9494                      eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year - 1 )).nc 
     
    116116          if  [ ! -f ${runsbc_file_yp1} ] ; then 
    117117          
    118               # if year+1 does not exist we copy year in (year+1) 
     118              # if year+1 does not exist we create a file _noyp1.nc copy of year 
     119            eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year + 1 )).nc 
    119120         if  [ ! -f ${jobsbc_file_yp1} ] ; then 
    120121             eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year}.nc 
    121                 eval runsbc_file_yp1=${file}_noy.nc 
     122                eval runsbc_file_yp1=${file}_noyp1.nc 
    122123         else 
    123124             eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year + 1 )).nc 
Note: See TracChangeset for help on using the changeset viewer.