Changeset 904
- Timestamp:
- 08/08/13 14:53:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_create_se
r903 r904 2 2 #-Q- curie ## CURIE TGCC/CEA ## 3 3 #-Q- curie ###################### 4 #-Q- curie #MSUB -r SE # Nom du job 4 #-Q- curie #MSUB -r SE # Nom du job 5 5 #-Q- curie #MSUB -eo 6 6 #-Q- curie #MSUB -n 1 # Reservation du processus … … 20 20 #-Q- ada # Nom du travail LoadLeveler 21 21 #-Q- ada # @ job_name = SE 22 #-Q- ada # Fichier de sortie standard du travail 22 #-Q- ada # Fichier de sortie standard du travail 23 23 #-Q- ada # @ output = $(job_name).$(jobid) 24 24 #-Q- ada # Fichier de sortie d'erreur du travail … … 43 43 #-Q- titane ## TITANE CEA ## 44 44 #-Q- titane ###################### 45 #-Q- titane #MSUB -r SE # Nom du job 45 #-Q- titane #MSUB -r SE # Nom du job 46 46 #-Q- titane #MSUB -eo 47 47 #-Q- titane #MSUB -n 1 # Reservation du processus … … 95 95 96 96 #D- Flag to determine if rebuild process has been performed asynchronously 97 #D- Possible value true or false. 97 #D- Possible value true or false. 98 98 #D- If true raw files has allready been patched by rebuild job 99 99 #D- If false create_ts will patch the raw files … … 328 328 case ${config_UserChoices_PeriodLength} in 329 329 # For Yearly simulation : 330 1Y|1y) 330 *Y|*y) 331 PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | sed -e 's/[yY]//' ) 331 332 (( an = an_deb )) 332 333 # Initialize array … … 336 337 unset liste_file_se_tmp 337 338 while [ ${an} -le ${an_fin} ] ; do 338 moisL=$( IGCM_date_DaysInMonth ${an} ${mois} )339 339 # 340 340 an4=$(printf "%04i\n" ${an} ) 341 341 # 342 diy=$( IGCM_date_DaysInYear $an4 ) 343 afin=$( IGCM_date_AddDaysToGregorianDate ${an4}0101 $(( diy - 1 )) ) 342 Length=$( IGCM_date_DaysInCurrentPeriod ${an4}0101 ${config_UserChoices_PeriodLength} ) 343 afin=$( IGCM_date_AddDaysToGregorianDate ${an4}0101 ${Length}-1 ) 344 # 344 345 date=${an4}0101_${afin} 345 346 #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc … … 347 348 liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 348 349 liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_${date}_${file}.nc 349 (( an = an + 1))350 (( an = an + ${PeriodLengthInYears} )) 350 351 done 351 352 # … … 525 526 var_unlim=$(ncdump -h ${RESULT_SE}|grep UNLIMITED| cut -d ' ' -f 1) 526 527 527 # Put correct climatological axis following calendar 528 # Put correct climatological axis following calendar 528 529 case ${config_UserChoices_CalendarType} in 529 530 360d|360_day) … … 568 569 export POST_DIR; export SUBMIT_DIR; export libIGCM; export R_INIT; export R_BC; export StandAlone 569 570 export RESOL_ATM; export RESOL_OCE ; export RESOL_ICE ; export RESOL_MBG ; export RESOL_SRF ; export RESOL_SBG 570 export R_SAVE; export config_UserChoices_JobName; export config_UserChoices_TagName; export YEARS; export DIR_OUT 571 export R_SAVE; export config_UserChoices_JobName; export config_UserChoices_TagName; export YEARS; export DIR_OUT 571 572 listVarEnv="POST_DIR,SUBMIT_DIR,libIGCM,R_INIT,R_BC,StandAlone,RESOL_ATM,RESOL_OCE,RESOL_ICE,RESOL_MBG,RESOL_SRF,RESOL_SBG,R_SAVE,config_UserChoices_JobName,config_UserChoices_TagName,YEARS,DIR_OUT" 572 573 export listVarEnv;
Note: See TracChangeset
for help on using the changeset viewer.