Changeset 727 for trunk/libIGCM/AA_pack_output
- Timestamp:
- 10/18/12 11:05:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_pack_output
r718 r727 220 220 fi 221 221 222 #================================== ==================222 #================================== 223 223 # First of all 224 224 # 225 # Read config.card 226 227 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices 228 typeset option 229 for option in ${config_UserChoices[*]} ; do 230 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 231 done 225 # Read libIGCM compatibility version in config.card 226 # Read UserChoices section 227 # Read Ensemble section 228 # Read Post section 229 # Define all netcdf output directories 230 #================================== 231 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 232 233 #================================== 234 # Read ListOfComponents section 235 # to drive the loop over find 236 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 232 237 # 233 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Ensemble234 typeset option235 for option in ${config_Ensemble[*]} ; do236 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Ensemble ${option}237 done238 #239 echo240 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices"241 IGCM_debug_PrintVariables 3 config_UserChoices_JobName242 IGCM_debug_PrintVariables 3 config_UserChoices_LongName243 IGCM_debug_PrintVariables 3 config_UserChoices_TagName244 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName245 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName246 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType247 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin248 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd249 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength250 IGCM_debug_PrintVariables 3 config_Ensemble_EnsembleName251 IGCM_debug_PrintVariables 3 config_Ensemble_EnsembleDate252 echo253 254 # Get ListOfComponents to drive the loop over find255 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents256 257 #====================================================258 #R_SAVE : Job output storage directory259 #R_BUFR : Job output buffered directory260 261 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then262 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' )263 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then264 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}265 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}266 else267 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}268 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}269 fi270 else271 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then272 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}273 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}274 else275 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName}276 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_JobName}277 fi278 fi279 238 IGCM_sys_TestDirArchive ${R_SAVE} 280 239 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive"
Note: See TracChangeset
for help on using the changeset viewer.