Ignore:
Timestamp:
01/23/24 14:07:33 (5 months ago)
Author:
jgipsl
Message:

Correction for the case where no pack is done (SpaceName?=TEST or at spirit and obelix). The error was introduced in [1603].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_ts

    r1603 r1621  
    615615    # 
    616616    for file in $( eval echo \${LISTE_FILE_${comp}[*]} ); do 
    617         config_UserChoices_PeriodLength=$( eval echo \${LISTE_PACKFREQUENCY_${comp}[$i]} ) 
     617 
     618        # If pack is active then PackFrequency overule the config_UserChoices_PeriodLength 
     619        if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then 
     620           config_UserChoices_PeriodLength=$( eval echo \${LISTE_PACKFREQUENCY_${comp}[$i]} ) 
     621        fi 
     622 
    618623        if [ ${FIRST_PASS} = TRUE ] ; then 
    619624            Length=$( IGCM_date_DaysInPreviousPeriod ${DateBegin} ${config_UserChoices_PeriodLength} begin)  
Note: See TracChangeset for help on using the changeset viewer.