Changeset 102
- Timestamp:
- 04/15/09 10:51:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_monitoring
r94 r102 97 97 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 98 98 99 # 99 100 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 100 101 101 102 # 102 IGCM_sys_Get_Dir ${R_SAVE}/MONITORING ${RUN_DIR} 103 103 IGCM_sys_TestDirArchive ${R_SAVE}/MONITORING 104 if [ $? = 0 ] ; then 105 IGCM_debug_Print 1 "Get MONITORING directory from archive" 106 IGCM_sys_Get_Dir ${R_SAVE}/MONITORING ${RUN_DIR} 107 else 108 IGCM_debug_Print 1 "MONITORING first pass. Nothing has been done before" 109 fi 104 110 # -------------------------------------------- 105 111 # Insert your commands between III...III lines … … 113 119 eval monitoring_file=monitoring01_${compname}_\${RESOL_${comp}}.cfg > /dev/null 2>&1 114 120 # 115 [ -f ${FER_ATLAS}/${monitoring_file} ] && liste_file_monitoring=$( monitoring01 -q -l2 --listcommand 'IGCM_sys_RshArchive ls' ${FER_ATLAS}/${monitoring_file} ${R_SAVE}/${comp}/Analyse/TS_MO ) 121 if [ -f ${FER_ATLAS}/${monitoring_file} ] ; then 122 liste_file_monitoring=$( monitoring01 -q -l2 --listcommand 'IGCM_sys_RshArchive ls' ${FER_ATLAS}/${monitoring_file} ${R_SAVE}/${comp}/Analyse/TS_MO ) 123 else 124 IGCM_debug_Print 1 "WARNING. This file does not exist : ${FER_ATLAS}/${monitoring_file}" 125 fi 116 126 # 117 127 if [ ! "X${liste_file_monitoring}" = X ] ; then 118 128 IGCM_sys_Get /l liste_file_monitoring ${RUN_DIR} 119 129 monitoring01 -q -c ${CARD_DIR} -p ${comp} -t "${config_UserChoices_JobName} monitoring" -o ${RUN_DIR}/MONITORING ${FER_ATLAS}/${monitoring_file} ${RUN_DIR} 130 else 131 IGCM_debug_Print 1 "No time series detected by this command :" 132 IGCM_debug_Print 1 "monitoring01 -l2 --listcommand 'IGCM_sys_RshArchive ls' ${FER_ATLAS}/${monitoring_file} ${R_SAVE}/${comp}/Analyse/TS_MO" 133 monitoring01 -l2 --listcommand 'IGCM_sys_RshArchive ls' ${FER_ATLAS}/${monitoring_file} ${R_SAVE}/${comp}/Analyse/TS_MO 120 134 fi 121 135 # … … 129 143 # Dods copy 130 144 IGCM_sys_Put_Dods MONITORING 131 132 exit
Note: See TracChangeset
for help on using the changeset viewer.