Ignore:
Timestamp:
Jul 1, 2010, 3:16:29 PM (14 years ago)
Author:
jghattas
Message:
  • Added tracer "Age of stratospheric air", activated by putting Aga in tracer.def.
  • The logical rnpb is now controled during execution. rnpb is true only if both tracers RN and PB existe in tracer.def. RN and PB can now be removed from tracer.def
  • Modification in output. It is now possible to have 3 tracers. But still only tracer number 3 and tracer number 4(if existing) will be written.

F Lott, JG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4_AR5/libf/phylmd/phys_output_mod.F90

    r1400 r1405  
    12241224     ENDIF
    12251225
    1226       if (nqtot>=3) THEN
    1227 !Attention    DO iq=3,nqtot
    1228     DO iq=3,4 
    1229        iiq=niadv(iq)
    1230 ! CALL histdef3d (iff, o_trac%flag,'o_'//tnom(iq)%name,ttext(iiq), "-" )
    1231   CALL histdef3d (iff, o_trac(iq-2)%flag,o_trac(iq-2)%name,ttext(iiq), "-" )
    1232     ENDDO
    1233       endif
     1226
     1227!Attention : sorties uniquement pour traceurs 3 et 4
     1228     IF (nqtot>=3) THEN
     1229        IF (tname(3) == "Aga" .OR. tname(3)=="AGA") THEN
     1230           o_trac(1)%name= "Aga"
     1231           ttext(3)= "Age stratospheric air"
     1232        END IF
     1233        CALL histdef3d (iff, o_trac(1)%flag,o_trac(1)%name,ttext(3), "-" )
     1234     END IF
     1235     
     1236     IF (nqtot>=4) CALL histdef3d (iff, o_trac(2)%flag,o_trac(2)%name,ttext(4), "-" )
     1237
    12341238
    12351239        CALL histend(nid_files(iff))
Note: See TracChangeset for help on using the changeset viewer.