Changeset 1839 for TOOLS


Ignore:
Timestamp:
08/02/12 15:17:21 (12 years ago)
Author:
acosce
Message:

BugFix? when we try to find variables to exclude of ncrcat.
For example before "Point Omega" was find as a integer variable

Location:
TOOLS/PACK_IPSL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/create_config_card.sh

    r1834 r1839  
    5252    DEM_log -3 PATH_SIMUL_FULL : ${PATH_SIMUL_FULL} 
    5353    #PATH_SIMUL_SHORT=${PATH_SIMUL_FULL##${ROOT_DIR}} # Enleve le debut du path 
    54     PATH_SIMUL_SHORT=$(echo ${PATH_SIMUL_FULL} | sed 's%/[^/]*/[^/]*/[^/]*/%%' ) 
     54    PATH_SIMUL_SHORT=$(echo ${PATH_SIMUL_FULL} | sed 's%/ccc/dmfbuf/import_data.2/ccrt/dmnfs12/cont003/bacasable/%%' ) 
    5555    DEM_log -3 PATH_SIMUL_SHORT : ${PATH_SIMUL_SHORT} 
    5656     
  • TOOLS/PACK_IPSL/enlarge_my_files.sh

    r1824 r1839  
    7676nbfile=0 
    7777for file in `cat $1` ; do 
    78     ncdump -h ${file} | gawk '{if (match($0, /(byte|char|short|int|float|double) (.*)\(/, arr)) print arr[2] }' >> tmp_$$.txt 
     78 #   ncdump -h ${file} | gawk '{if (match($0, /(byte|char|short|int|float|double) (.*)\(/, arr)) print arr[2] }' >> tmp_$$.txt 
     79    ncdump -h ${file} | grep -Ew "byte|char|short|int|float|double"  | awk -F\( '{split($1,a," ") ; split($2,b,")") ; if (a[2] != b[1]) print a[2]}'  >> tmp_$$.txt 
    7980    let nbfile=nbfile+1 
    8081done 
     
    187188                extratar=1 
    188189                # Copy to output_tar directory  
     190                echo "====> COPY to tar command because find other variables ($varstoexcludefiltered) than t_inst_*" 
     191                echo "COPY to tar command because find other variables ($varstoexcludefiltered) than t_inst_*" >> $statusfile 
    189192                cp $set $PATH_SIMU/output_tar 
    190193        fi 
  • TOOLS/PACK_IPSL/launch_ipsl_enlarge.sh

    r1822 r1839  
    3131export EXE_DIR=${JOB_DIR} 
    3232 
    33 export INPUT_DMF_DATA=${SCRATCHDIR}/PSEUDO_DMNFS 
    34 export OUTPUT_STORE=${SCRATCHDIR}/PSEUDO_DMNFS_STORE 
    35 export OUTPUT_WORK=${SCRATCHDIR}/PSEUDO_DMNFS_WORK 
    36  
     33export INPUT_DMF_DATA=/ccc/dmfbuf/import_data.2/ccrt/dmnfs12/cont003/bacasable 
     34export OUTPUT_STORE=/ccc/dmfbuf/import_data.2/ccrt/dmnfs12/cont003/bacasable/PSEUDO_STORE_ANNE 
     35export OUTPUT_WORK=/ccc/dmfbuf/import_data.2/ccrt/dmnfs12/cont003/bacasable/PSEUDO_WORK_ANNE 
     36  
    3737SCRIPT_NAME=$(basename ${0} ) 
    3838 
Note: See TracChangeset for help on using the changeset viewer.