Ignore:
Timestamp:
02/07/12 14:43:43 (12 years ago)
Author:
sdipsl
Message:
  • clean_month.job adapted to R_BUFR
  • R_IN points to CCCWORKDIR /ccc/work/cont003/dsm/p86ipsl/IGCM
  • bugfixes, simplification, refactoring, cosmetics
File:
1 edited

Legend:

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

    r544 r545  
    4545  # Overrule special cases 
    4646  if ( [ ! X${config_Post_TimeSeriesFrequency} = X${NULL_STR} ] && \ 
    47     [ ! X${config_Post_TimeSeriesFrequency} = XNONE ]        && \ 
     47    [ ! X${config_Post_TimeSeriesFrequency} = XNONE ]           && \ 
    4848    [ ${SimulationLengthInDays} -ge ${ExperienceLengthInDays} ] ) ; then 
    4949    TimeSeriesFrequency=true 
     
    5151  fi 
    5252  # 
    53   if ( [ ! X${config_Post_RebuildFrequency} = X${NULL_STR} ] && \ 
    54     [ ! X${config_Post_RebuildFrequency} = XNONE ]        && \ 
    55     [ ${SimulationLengthInDays} -ge ${ExperienceLengthInDays} ] ) ; then 
     53  if ( [ X${AsynchronousRebuild} = Xtrue ] && [ ${SimulationLengthInDays} -ge ${ExperienceLengthInDays} ] ) ; then 
    5654    RebuildFrequency=true 
    5755    POST=true 
     
    9593  typeset listVarEnv 
    9694 
    97   POST_DIR=${R_OUT_POST}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
    98  
     95  #POST_DIR=${R_OUT_POST}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     96  POST_DIR=${R_BUF_KSH} 
    9997  if [ ${POST} = true ]; then 
    10098    echo 
     
    409407 
    410408  #============== REBUILD POST-TREATMENT =============# 
    411   if ( [ ! X${config_Post_RebuildFrequency} = X${NULL_STR} ] && [ ! X${config_Post_RebuildFrequency} = XNONE ] ) ; then 
     409  if [ X${AsynchronousRebuild} = Xtrue ] ; then 
    412410    # ----------------------------------------------------------------------------------- 
    413411    # Function IGCM_FlushRebuild define in rebuild.ksh has not been closed yet. Do it now 
     
    578576      fi ;; 
    579577    esac ;; 
    580   NONE|none)  
     578  NONE|none) 
    581579    ;; 
    582580  *) 
Note: See TracChangeset for help on using the changeset viewer.