Ignore:
Timestamp:
03/01/10 18:28:55 (14 years ago)
Author:
sdipsl
Message:

-Add some default behavior to reach the backward compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r236 r237  
    145145                            if [ ! $( eval echo \${${compname}_${flag_post}_TimeSeriesVars${Dimension}} ) = ${NULL_STR} ] ; then 
    146146                                chunck_size=$( eval echo \${${compname}_${flag_post}_ChunckJob${Dimension}} ) 
    147                                 if [ ! ${chunck_size} = NONE ] ; then 
     147                                if [ ! ${chunck_size} = NONE ] &&  [ ! ${chunck_size} = OFF ] ; then 
    148148                                    IGCM_debug_Print 3 "${Dimension} time series activated with chunck for ${flag_post} according to ${card}" 
    149149                                    eval TimeSeriesChunck${Dimension}=true 
     
    165165                    # Seasonal case 
    166166                    IGCM_card_DefineArrayFromOption ${card} ${flag_post} Seasonal 
     167                    # 
     168                    # If option is not found (old cards) put SEASONAL ON by default 
     169                    # 
     170                    if [ "$( eval echo \${${compname}_${flag_post}_Seasonal} )" = "Option not found ${flag_post}" ] ; then 
     171                        eval ${compname}_${flag_post}_Seasonal=ON 
     172                    fi 
     173                    # 
    167174                    if [ $( eval echo \${${compname}_${flag_post}_Seasonal} ) = ON ] ; then 
    168175                        Seasonal=true 
     
    603610 
    604611        # If missing executable then stop! 
    605         if [ ! X${ExeNameIn} = X ] && [ ! -f ${R_EXE}/${ExeNameIn} ] ; then 
    606             IGCM_debug_Exit "IGCM_comp_Update missing executable ${ExeNameIn}" 
    607         fi  
     612        #if [ ! X${ExeNameIn} = X ] && [ ! -f ${R_EXE}/${ExeNameIn} ] ; then 
     613        #    IGCM_debug_Exit "IGCM_comp_Update missing executable ${ExeNameIn}" 
     614        #fi  
    608615 
    609616        if [ ${Period} -eq 1 ] && [ -f ${R_EXE}/${ExeNameIn} ] ; then 
Note: See TracChangeset for help on using the changeset viewer.