Changeset 273


Ignore:
Timestamp:
05/19/10 10:34:41 (14 years ago)
Author:
mmaipsl
Message:

Adapt clean_month job for new SpaceName? and ExperimentName? suboptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_clean_month

    r225 r273  
    6767#==================================================== 
    6868#R_SAVE : Job output directory 
    69 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     69if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 
     70    FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 
     71    R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
     72else 
     73    R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     74fi 
    7075IGCM_sys_TestDirArchive ${R_SAVE} 
    7176[ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" 
Note: See TracChangeset for help on using the changeset viewer.