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_write.h

    r1398 r1405  
    15091509        ENDIF
    15101510
    1511 !       IF (o_trac%flag(iff)<=lev_files(iff)) THEN
    1512          if (nqtot.GE.3) THEN
    1513 !           DO iq=3,nqtot
    1514            DO iq=3,4
    1515        IF (o_trac(iq-2)%flag(iff)<=lev_files(iff)) THEN
    1516          CALL histwrite_phy(nid_files(iff),
    1517      s                  o_trac(iq-2)%name,itau_w,qx(:,:,iq))
    1518        ENDIF
    1519            ENDDO
    1520          endif
     1511
     1512        IF (nqtot.GE.3 .AND. o_trac(1)%flag(iff)<=lev_files(iff)) THEN
     1513           CALL histwrite_phy(nid_files(iff),
     1514     s          o_trac(1)%name,itau_w,qx(:,:,3))
     1515        ENDIF
     1516
     1517        IF (nqtot.GE.4 .AND. o_trac(2)%flag(iff)<=lev_files(iff)) THEN
     1518           CALL histwrite_phy(nid_files(iff),
     1519     s          o_trac(2)%name,itau_w,qx(:,:,4))
     1520        ENDIF
     1521
     1522
    15211523
    15221524      if (ok_sync) then
Note: See TracChangeset for help on using the changeset viewer.