Changeset 727 for trunk/libIGCM/AA_TimeSeries_Checker
- Timestamp:
- 10/18/12 11:05:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_TimeSeries_Checker
r712 r727 91 91 # First of all 92 92 # 93 typeset option 94 93 # Read libIGCM compatibility version in config.card 94 # Read UserChoices section 95 # Read Ensemble section 96 # Read Post section 97 # Define all netcdf output directories 95 98 #================================== 96 # Read UserChoices section: 97 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices 98 echo 99 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 100 for option in ${config_UserChoices[*]} ; do 101 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 102 eval auxprint=\${config_UserChoices_${option}} 103 IGCM_debug_Print 3 "${option} : ${auxprint}" 104 done 105 # 106 echo 99 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 107 100 108 101 #================================== 109 # Read Ensemble section: 110 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Ensemble 111 echo 112 113 for option in ${config_Ensemble[*]} ; do 114 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Ensemble ${option} 115 eval auxprint=\${config_Ensemble_${option}} 116 IGCM_debug_Print 3 "${option} : ${auxprint}" 117 done 118 # 119 echo 120 121 #================================== 122 # Read Post section: 123 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Post 124 echo 125 IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 126 127 for option in ${config_Post[*]} ; do 128 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post ${option} 129 eval auxprint=\${config_Post_${option}} 130 IGCM_debug_Print 3 "${option} : ${auxprint}" 131 done 132 # 133 echo 102 # Read ListOfComponents section: 103 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 134 104 135 105 if [ -f ${CARD_DIR}/run.card ] ; then … … 163 133 IGCM_debug_Print 1 "CompletedFlag = "${CompletedFlag} 164 134 echo 165 166 #====================================================167 #R_SAVE : Job output directory168 #R_BUFR : Job output buffered directory169 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then170 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' )171 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then172 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}173 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}174 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}175 else176 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}177 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}178 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}179 fi180 else181 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then182 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}183 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}184 R_DODS=${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}185 else186 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName}187 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_JobName}188 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName}189 fi190 fi191 192 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents193 135 194 136 for comp in ${config_ListOfComponents[*]} ; do
Note: See TracChangeset
for help on using the changeset viewer.