Ignore:
Timestamp:
10/01/09 17:34:55 (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/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/lmdz.driver

    r744 r750  
    8080    IGCM_debug_PushStack "ATM_Update" 
    8181 
    82     LMDZ_ecrit_mth=${PeriodLengthInDays}. 
    83     LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 
    84     LMDZ_periodav=${PeriodLengthInDays}. 
     82    case ${config_UserChoices_PeriodLength} in 
     83        *Y|*y)  
     84               LMDZ_ecrit_mth=30.  
     85               LMDZ_ecrit_ISCCP=30. 
     86               LMDZ_periodav=30. 
     87               if [ ${config_UserChoices_CalendarType}!="360d" ] ; then 
     88                  echo Change calendartype in config.card. PeriodLength=1Y allowed only for CalendarType=360d  
     89                  exit 
     90               fi 
     91               ;; 
     92        *) 
     93               LMDZ_ecrit_mth=${PeriodLengthInDays}. 
     94               LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 
     95               LMDZ_periodav=${PeriodLengthInDays}. 
     96               ;; 
     97    esac 
    8598 
    8699    ##-- 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.