Changeset 194 for CONFIG/trunk


Ignore:
Timestamp:
10/25/07 16:46:35 (17 years ago)
Author:
acosce
Message:

ACo : change dayref during the simulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/trunk/IPSL_ESM_V1/EXP00/COMP/lmdz.driver

    r187 r194  
    8181    IGCM_sys_Mv gcm.def.tmp gcm.def 
    8282 
     83    greg_dat=$( IGCM_date_ConvertFormatToGregorian $PeriodDateBegin )  
     84    jul_dat=$( IGCM_date_ConvertGregorianDateToJulian $greg_dat ) 
     85    nbjour=$( expr \( $jul_dat \% 1000 \) )  
     86    echo $jul_dat,$greg_dat, "dayref =  ------------------------ ", $nbjour 
     87 
    8388    ## Mise en forme du fichier run.def 
    84     sed -e "s/_dayref_/${InitDay}/" \ 
     89    sed -e "s/_dayref_/${nbjour}/" \ 
    8590        -e "s/_anneeref_/${InitYear}/" \ 
    8691        -e "s/_nday_/${PeriodLengthInDays}/" \ 
Note: See TracChangeset for help on using the changeset viewer.