Changeset 905 for trunk/libIGCM/AA_create_se
- Timestamp:
- 08/08/13 15:02:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_create_se
r904 r905 332 332 (( an = an_deb )) 333 333 # Initialize array 334 #set -A liste_file_se335 #set -A liste_file_se_tmp336 334 unset liste_file_se 337 335 unset liste_file_se_tmp … … 340 338 an4=$(printf "%04i\n" ${an} ) 341 339 # 342 Length=$( IGCM_date_DaysInCurrentPeriod ${an4}0101 ${config_UserChoices_PeriodLength} )343 afin=$( IGCM_date_AddDaysToGregorianDate ${an4}0101 $ {Length}-1)340 diy=$( IGCM_date_DaysInCurrentPeriod ${an4}0101 ${config_UserChoices_PeriodLength} ) 341 afin=$( IGCM_date_AddDaysToGregorianDate ${an4}0101 $(( diy - 1 )) ) 344 342 # 345 343 date=${an4}0101_${afin} 346 #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 347 #set +A liste_file_se_tmp ${liste_file_se_tmp[*]} ${config_UserChoices_JobName}_${date}_${file}.nc 344 # 348 345 liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 349 346 liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_${date}_${file}.nc … … 396 393 (( an = an_deb )) 397 394 # Initialize array 398 #set -A liste_file_se399 #set -A liste_file_se_tmp400 395 unset liste_file_se 401 396 unset liste_file_se_tmp … … 406 401 # 407 402 date=${an4}${mois}01_${an4}${mois}${moisL} 408 #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 409 #set +A liste_file_se_tmp ${liste_file_se_tmp[*]} ${config_UserChoices_JobName}_${date}_${file}.nc 403 # 410 404 liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 411 405 liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_${date}_${file}.nc … … 451 445 (( an = an_deb )) 452 446 # Initialize array 453 #set -A liste_file_se454 #set -A liste_file_se_tmp455 447 unset liste_file_se 456 448 unset liste_file_se_tmp … … 471 463 day_end=$( IGCM_date_AddDaysToGregorianDate ${day_beg} ${length_d} ) 472 464 date=${an4}${mois}${day_beg}_${an4}${mois}${day_end} 473 #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 474 #set +A liste_file_se_tmp ${liste_file_se_tmp[*]} ${config_UserChoices_JobName}_${date}_${file}.nc 465 # 475 466 liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 476 467 liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_${date}_${file}.nc
Note: See TracChangeset
for help on using the changeset viewer.