Changeset 2204 for branches/DEV_r1879_FCM/NEMOGCM/CONFIG/ORCA2_LIM
- Timestamp:
- 2010-10-11T17:59:35+02:00 (14 years ago)
- Location:
- branches/DEV_r1879_FCM/NEMOGCM/CONFIG/ORCA2_LIM
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1879_FCM/NEMOGCM/CONFIG/ORCA2_LIM/IGCM00/COMP/opa9.card
r1764 r2204 31 31 # default climatology, bulk_clio: 32 32 List_jobsbc=(flx, taux_1m, tauy_1m) 33 # example for interannual, bulk core: 33 # example for interannual, bulk core, forcing CORE2: 34 #List_jobsbc=(u_10_orca2, v_10_orca2, ncar_rad_orca2, t_10_orca2, q_10_orca2, ncar_precip_orca2) 35 # example for interannual, bulk core, forcing DRAKKAR: 34 36 #List_jobsbc=(radlw_DFS4-ORCA2, radsw_DFS4-ORCA2, q2_DFS4-ORCA2, t2_DFS4-ORCA2, u10_DFS4-ORCA2, v10_DFS4-ORCA2, snow_DFS4-ORCA2, precip_DFS4-ORCA2) 35 37 -
branches/DEV_r1879_FCM/NEMOGCM/CONFIG/ORCA2_LIM/IGCM00/COMP/opa9.driver
r1764 r2204 94 94 fi 95 95 96 if [ X${Period} = X1 ] ; then 97 if [ ${month} -eq 01 ] ; then 98 IGCM_sys_Get ${jobsbc_file_ym1} ${runsbc_file_ym1} 96 while [ ${year} -le ${PeriodFinalYear} ] ; do #copy in ONCE of ALL necessary files for all PeriodLength 97 98 while [ $i -lt ${NbFileInter} ] ; do 99 100 eval file=${opa9_Interannual_List_jobsbc[$i]} 101 if [ X${year} = X${PeriodInitYear} ] ; then 102 if [ ${month} -eq 01 ] ; then 103 # if year-1 does not exist we create a file _noym1.nc copy of year 104 eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year - 1 )).nc 105 if [ ! -f ${jobsbc_file_ym1} ] ; then 106 eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year}.nc 107 eval runsbc_file_ym1=${file}_noym1.nc 108 else 109 eval jobsbc_file_ym1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year - 1 )).nc 110 eval runsbc_file_ym1=${file}_y$(( year - 1 )).nc 111 fi 112 113 IGCM_sys_Get ${jobsbc_file_ym1} ${runsbc_file_ym1} 114 fi 99 115 fi 100 116 if [ ! -f ${runsbc_file_y} ] ; then 101 117 IGCM_sys_Get ${jobsbc_file_y} ${runsbc_file_y} 102 118 fi 103 if [ ! -f ${runsbc_file_yp1} ] ; then 104 IGCM_sys_Get ${jobsbc_file_yp1} ${runsbc_file_yp1} 119 120 # download (year+1) if it is last year of run 121 if [ X${year} = X${PeriodFinalYear} ] ; then 122 123 eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year + 1 )).nc 124 eval runsbc_file_yp1=${file}_y$(( year + 1 )).nc 125 126 if [ ! -f ${runsbc_file_yp1} ] ; then 127 128 # if year+1 does not exist we create a file _noyp1.nc copy of year 129 eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year + 1 )).nc 130 if [ ! -f ${jobsbc_file_yp1} ] ; then 131 eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_${year}.nc 132 eval runsbc_file_yp1=${file}_noyp1.nc 133 else 134 eval jobsbc_file_yp1=${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_OPA_version}/${file}_$(( year + 1 )).nc 135 eval runsbc_file_yp1=${file}_y$(( year + 1 )).nc 136 fi 137 IGCM_sys_Get ${jobsbc_file_yp1} ${runsbc_file_yp1} 138 fi 139 105 140 fi 106 141 else
Note: See TracChangeset
for help on using the changeset viewer.