Changeset 918 for CONFIG/IPSLCM


Ignore:
Timestamp:
02/24/10 16:10:48 (15 years ago)
Author:
mafoipsl
Message:

ACo : Correction of the algorithm to set different lev_histmth according the parameters LMDZ_Freq_aero and LMDZ_Length_aero. See lmdz.card.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_v2/EXP00/COMP/lmdz.driver

    r912 r918  
    102102    fi 
    103103 
    104     ##  
    105     if [ ${CumulPeriod}%${LMDZ_Freq_aero} -lt ${LMDZ_Length_aero} ] ; then  
    106         lev_histmth=4 
     104    ## To have more variables in output files for aerosols. Parameters are set in lmdz.card 
     105    if [ ${CumulPeriod}%${LMDZ_Freq_aero} -le ${LMDZ_Length_aero} ]; then 
     106       if [ ${CumulPeriod}%${LMDZ_Freq_aero} -ne 0 ]; then  
     107          lev_histmth=4 
     108       else 
     109          lev_histmth=2     
     110       fi 
    107111    else 
    108         lev_histmth=2 
    109     fi   
     112       lev_histmth=2 
     113    fi     
    110114 
    111115    ## algo : For CumulPeriod=1 ;  
Note: See TracChangeset for help on using the changeset viewer.