Changeset 1028 for trunk/libIGCM/AA_TimeSeries_Checker
- Timestamp:
- 07/25/14 17:41:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_TimeSeries_Checker
r1019 r1028 19 19 # Launch what's missing 20 20 # For use during a run (not on the end : PeriodState=Completed), it will complete 21 # all TS to last PeriodDateEnd value, give by run.card->Configuration-> OldPrefix string.21 # all TS to last PeriodDateEnd value, give by run.card->Configuration->(PeriodDateBegin - 1). 22 22 23 23 #D- Path to libIGCM … … 103 103 104 104 if [ -f ${CARD_DIR}/run.card ] ; then 105 IGCM_card_DefineVariableFromOption ${CARD_DIR}/run.card Configuration OldPrefix106 105 IGCM_card_DefineVariableFromOption ${CARD_DIR}/run.card Configuration PeriodState 106 IGCM_card_DefineVariableFromOption ${CARD_DIR}/run.card Configuration PeriodDateBegin 107 107 IGCM_card_DefineVariableFromOption ${CARD_DIR}/run.card PostProcessing TimeSeriesCompleted 108 108 IGCM_debug_Print 1 "DefineVariableFromOption : run_Configuration" 109 IGCM_debug_PrintVariables 3 run_Configuration_OldPrefix110 109 IGCM_debug_PrintVariables 3 run_Configuration_PeriodState 111 110 IGCM_debug_Print 1 "DefineVariableFromOption : run_PostProcessing" 112 111 IGCM_debug_PrintVariables 3 run_PostProcessing_TimeSeriesCompleted 113 112 if [ X${run_Configuration_PeriodState} != X"Completed" ] ; then 114 DateEnd=$( IGCM_date_ ConvertFormatToGregorian $( echo ${run_Configuration_OldPrefix} | awk -F'_' '{print $2}' ))113 DateEnd=$( IGCM_date_AddDaysToGregorianDate $( IGCM_date_ConvertFormatToGregorian ${PeriodDateBegin} ) -1 ) 115 114 else 116 115 DateEnd=$( IGCM_date_ConvertFormatToGregorian ${config_UserChoices_DateEnd} )
Note: See TracChangeset
for help on using the changeset viewer.