Changeset 727 for trunk/libIGCM/AA_clean_month
- Timestamp:
- 10/18/12 11:05:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_clean_month
r712 r727 52 52 . ${libIGCM}/libIGCM_config/libIGCM_config.ksh 53 53 54 55 #================================== 56 IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card UserChoices 57 58 for option in ${config_UserChoices[*]} ; do 59 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card UserChoices ${option} 60 done 61 62 IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card Post 63 64 for option in ${config_Post[*]} ; do 65 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Post ${option} 66 done 67 68 IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card Ensemble 69 70 for option in ${config_Ensemble[*]} ; do 71 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Ensemble ${option} 72 done 73 74 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 75 IGCM_debug_PrintVariables 3 config_UserChoices_JobName 76 if [ 3 -le ${Verbosity} ] ; then 77 echo "--------------Debug3-->" "config_UserChoices_LongName=" 78 echo "--------------Debug3-->" \"${config_UserChoices_LongName}\" 79 fi 80 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 81 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 82 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 83 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 84 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 85 IGCM_debug_PrintVariables 3 config_Ensemble_EnsembleName 86 IGCM_debug_PrintVariables 3 config_Ensemble_EnsembleDate 54 #================================== 55 # First of all 56 # 57 # Read libIGCM compatibility version in config.card 58 # Read UserChoices section 59 # Read Ensemble section 60 # Read Post section 61 # Define all netcdf output directories 62 #================================== 63 IGCM_config_CommonConfiguration ${SUBMIT_DIR}/config.card 87 64 88 65 #================================== … … 100 77 fi 101 78 102 #====================================================103 #R_SAVE : Job output directory104 #R_BUFR : Job output buffered directory105 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then106 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' )107 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then108 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}109 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}110 else111 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}112 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}113 fi114 else115 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then116 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}117 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}118 else119 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName}120 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_JobName}121 fi122 fi123 79 IGCM_sys_TestDirArchive ${R_SAVE} 124 80 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive"
Note: See TracChangeset
for help on using the changeset viewer.