Changeset 81


Ignore:
Timestamp:
03/24/09 12:47:29 (15 years ago)
Author:
sdipsl
Message:
  • AA_create_ts' homogenization regarding array handling in AA_create_se
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_ts

    r78 r81  
    118118# Useful cleaning function 
    119119MENAGE ()  
    120 {  
    121     [ -f $3 ] & ( rm -f $1/$2 ;)  
     120{ 
     121    [ -f $3 ] && ( IGCM_sys_RshArchive rm -f $1/$2 ;) 
    122122} 
    123123 
     
    460460        IGCM_sys_Cd ${RUN_DIR_PATH}/${comp} 
    461461        # 
    462         set -A liste_file 
     462        #set -A liste_file 
     463        unset liste_file 
    463464        # 
    464465        file_path=${R_SAVE}/${comp}/Analyse 
     
    482483            for var in $( eval echo \${LISTE_VARS_${file}[*]} ) ; do 
    483484                # 
    484                 set +A liste_file ${liste_file[*]} ${file_path}/${TS_Dir}/${config_UserChoices_JobName}_${date}_${FlagDir}_${var}.nc 
     485                #set +A liste_file ${liste_file[*]} ${file_path}/${TS_Dir}/${config_UserChoices_JobName}_${date}_${FlagDir}_${var}.nc 
     486                liste_file[${#liste_file[*]}]=${file_path}/${TS_Dir}/${config_UserChoices_JobName}_${date}_${FlagDir}_${var}.nc 
    485487                # 
    486488            done 
     
    629631 
    630632            # Initialize array 
    631             set -A liste_file 
    632             set -A liste_file_tmp 
    633  
     633            #set -A liste_file 
     634            #set -A liste_file_tmp 
     635            unset liste_file 
     636            unset liste_file_tmp 
    634637            eval file_path=\${R_OUT_${comp}}/Output/${FreqDir}/ 
    635638 
     
    645648                DATE_LOOP=$( IGCM_date_AddDaysToGregorianDate ${DATE_LOOP} ${Length2} ) 
    646649 
    647                 set +A liste_file ${liste_file[*]} ${file_path}${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc 
    648                 set +A liste_file_tmp ${liste_file_tmp[*]} ${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc 
     650                #set +A liste_file ${liste_file[*]} ${file_path}${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc 
     651                #set +A liste_file_tmp ${liste_file_tmp[*]} ${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc 
     652                liste_file[${#liste_file[*]}]=${file_path}${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc 
     653                liste_file_tmp[${#liste_file_tmp[*]}]=${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc 
    649654                (( COMPTEUR = COMPTEUR + 1 )) 
    650655                # 
Note: See TracChangeset for help on using the changeset viewer.