Changeset 666


Ignore:
Timestamp:
05/09/12 16:13:51 (12 years ago)
Author:
mafoipsl
Message:

Bug fix into unlimited variable detection to avoid an extra space.

Location:
trunk/libIGCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_multi_se

    r658 r666  
    435435 
    436436        # detect time counter : time or time_counter ie unlimited variable 
    437         var_unlim=$(ncdump -h ${liste_file_se_tmp[1]}|grep UNLIMITED| cut -d ' ' -f 1) 
     437        var_unlim=$(ncdump -h ${liste_file_se_tmp[1]}|grep UNLIMITED|awk '{print $1}') 
    438438 
    439439        for mois in  01 02 03 04 05 06 07 08 09 10 11 12 ; do 
  • trunk/libIGCM/AA_create_se

    r658 r666  
    487487 
    488488          # detect time counter : time or time_counter ie unlimited variable 
    489           var_unlim=$(ncdump -h ${liste_file_se_tmp[1]}|grep UNLIMITED| cut -d ' ' -f 1) 
     489          var_unlim=$(ncdump -h ${liste_file_se_tmp[1]}|grep UNLIMITED|awk '{print $1}') 
    490490 
    491491          for mois in  01 02 03 04 05 06 07 08 09 10 11 12 ; do 
Note: See TracChangeset for help on using the changeset viewer.