Changeset 727 for trunk/libIGCM/AA_SE_Checker
- Timestamp:
- 10/18/12 11:05:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_SE_Checker
r712 r727 66 66 # First of all 67 67 # 68 typeset option 69 70 #================================== 71 # Read UserChoices section: 72 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices 73 echo 74 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 75 for option in ${config_UserChoices[*]} ; do 76 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 77 eval auxprint=\${config_UserChoices_${option}} 78 IGCM_debug_Print 3 "${option} : ${auxprint}" 79 done 80 # 81 echo 82 83 #================================== 84 # Read Ensemble section: 85 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Ensemble 86 echo 87 88 for option in ${config_Ensemble[*]} ; do 89 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Ensemble ${option} 90 eval auxprint=\${config_Ensemble_${option}} 91 IGCM_debug_Print 3 "${option} : ${auxprint}" 92 done 93 # 94 echo 95 96 #================================== 97 # Read Post section: 98 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Post 99 echo 100 IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 101 102 for option in ${config_Post[*]} ; do 103 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post ${option} 104 eval auxprint=\${config_Post_${option}} 105 IGCM_debug_Print 3 "${option} : ${auxprint}" 106 done 107 # 108 echo 109 68 # Read libIGCM compatibility version in config.card 69 # Read UserChoices section 70 # Read Ensemble section 71 # Read Post section 72 # Define all netcdf output directories 73 #================================== 74 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 75 76 #================================== 77 # Read ListOfComponents section: 78 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 79 80 #================================== 81 # Read SeasonalFrequency: 82 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post SeasonalFrequency 83 84 # 110 85 DateEnd=$( IGCM_date_ConvertFormatToGregorian ${config_UserChoices_DateEnd} ) 111 86 DateBegin=$( IGCM_date_ConvertFormatToGregorian ${config_UserChoices_DateBegin} ) … … 117 92 IGCM_debug_Print 1 "DateEnd for SE_Checker : "${DateEnd} 118 93 echo 119 120 #====================================================121 #R_SAVE : Job output directory122 #R_BUFR : Job output buffered directory123 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then124 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' )125 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then126 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}127 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}128 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${FreeName}129 else130 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}131 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}132 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName}133 fi134 else135 if ( [ ! X${config_Ensemble_EnsembleName} = X ] && [ ! X${config_Ensemble_EnsembleDate} = X ] ) ; then136 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}137 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}138 R_DODS=${config_UserChoices_TagName}/${config_Ensemble_EnsembleName}/${config_Ensemble_EnsembleDate}/${config_UserChoices_JobName}139 else140 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName}141 R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_JobName}142 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName}143 fi144 fi145 146 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents147 148 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post SeasonalFrequency149 94 # 150 95 [ X${config_Post_SeasonalFrequency} = X"NONE" ] && exit
Note: See TracChangeset
for help on using the changeset viewer.