Changeset 751 for CONFIG


Ignore:
Timestamp:
10/01/09 17:38:39 (15 years ago)
Author:
mafoipsl
Message:

Update lmdz.driver to allow PeriodLentgth?=*Y (ie n years simulation) with monthly outputs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZOR/branches/LMDZ4OR_v3/LMDZOR/COMP/lmdz.driver

    r746 r751  
    8080    IGCM_debug_PushStack "ATM_Update" 
    8181 
    82     ecrit_mth=${PeriodLengthInDays}. 
     82    case ${config_UserChoices_PeriodLength} in 
     83        *Y|*y)  
     84               ecrit_mth=30.  
     85               if [ ${config_UserChoices_CalendarType}!="360d" ] ; then 
     86                  echo Change calendartype in config.card. PeriodLength=1Y allowed only for CalendarType=360d  
     87                  exit 
     88               fi 
     89               ;; 
     90        *) 
     91               ecrit_mth=${PeriodLengthInDays}. 
     92               ;; 
     93    esac 
    8394 
    8495    ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 
Note: See TracChangeset for help on using the changeset viewer.