Changeset 230


Ignore:
Timestamp:
01/08/08 16:31:24 (17 years ago)
Author:
acosce
Message:

ACo : change lmdz.driver in IPSL_ESM_V1 for taking in account the real date in run.def

File:
1 edited

Legend:

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

    r194 r230  
    8484    jul_dat=$( IGCM_date_ConvertGregorianDateToJulian $greg_dat ) 
    8585    nbjour=$( expr \( $jul_dat \% 1000 \) )  
    86     echo $jul_dat,$greg_dat, "dayref =  ------------------------ ", $nbjour 
     86    yractu=$( expr $greg_dat / 10000  ) 
     87    echo  "dayref = " $nbjour  "year actu = " $yractu 
    8788 
    8889    ## Mise en forme du fichier run.def 
    8990    sed -e "s/_dayref_/${nbjour}/" \ 
    90         -e "s/_anneeref_/${InitYear}/" \ 
     91        -e "s/_anneeref_/${yractu}/" \ 
    9192        -e "s/_nday_/${PeriodLengthInDays}/" \ 
    9293        -e "s/_raz_date_/${RAZ_DATE}/" \ 
Note: See TracChangeset for help on using the changeset viewer.