Ignore:
Timestamp:
12/03/10 15:10:18 (14 years ago)
Author:
sdipsl
Message:

Step 2/3 toward CompletedFlag? auto-detection, part of ticket #40.
Tests OK. For chunck2D and chunck3D time series.

This should close ticket #42

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_ts

    r389 r392  
    269269# Determine component to take care of depending on kind of task create_ts will perform 
    270270# 
    271 ( [ X${TsTask} = XChunck2D ] || [ X${TsTask} = XChunck3D ] ) && set -A config_ListOfComponents ${CompToRead} || IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 
     271[ ${CompToRead} ] && set -A config_ListOfComponents ${CompToRead} || IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 
    272272# 
    273273# Determine period for time series. Default : value from AA_job or from launch_TS if any 
     
    324324        # 
    325325        typeset i 
    326         if ( [ X${TsTask} = XChunck2D ] || [ X${TsTask} = XChunck3D ] ) ; then 
     326        if [ ${FlagToRead} ] ; then 
    327327            ((NbFiles=${FlagToRead})) 
    328328            ((i=${NbFiles})) 
Note: See TracChangeset for help on using the changeset viewer.