Changeset 1621


Ignore:
Timestamp:
01/23/24 14:07:33 (3 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].

Location:
trunk/libIGCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_se

    r1603 r1621  
    371371  i=0 
    372372  for file in $( eval echo \${LISTE_FILE_${comp}[*]} ); do 
    373   config_UserChoices_PeriodLength=$( eval echo \${LISTE_PACKFREQUENCY_${comp}[$i]} )  
     373       
     374    # If pack is active then PackFrequency overule the config_UserChoices_PeriodLength 
     375    if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then 
     376        config_UserChoices_PeriodLength=$( eval echo \${LISTE_PACKFREQUENCY_${comp}[$i]} )  
     377    fi 
     378     
    374379    # 
    375380    # Determine in which output can we find file 
  • 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.