Changeset 699 for LMDZ4/trunk


Ignore:
Timestamp:
May 9, 2006, 11:46:14 AM (18 years ago)
Author:
Laurent Fairhead
Message:

En fait le bug sur l'ozone n'en etait pas un! on revient a la situation precedente MPL/JLD
LF

Location:
LMDZ4/trunk/libf/phylmd
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/clesphys.h

    r684 r699  
    66       LOGICAL cycle_diurne,soil_model,new_oliq,ok_orodr,ok_orolf
    77       LOGICAL ok_limitvrai
    8        LOGICAL bug_ozone
    98       INTEGER nbapp_rad, iflag_con
    109       REAL co2_ppm, solaire
     
    4140     S     , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins
    4241     S     , ecrit_ins, ecrit_hf, ecrit_hf2mth, ecrit_day
    43      S     , ecrit_mth, ecrit_tra, ecrit_reg, bug_ozone
     42     S     , ecrit_mth, ecrit_tra, ecrit_reg
    4443     S     , freqin_isccp, freqout_isccp, ip_ebil_phy
    4544     S     , ok_slab_sicOBS
  • LMDZ4/trunk/libf/phylmd/conf_phys.F90

    r684 r699  
    666666  call getin('ecrit_reg',ecrit_reg)
    667667!
    668 !
    669 !
    670 !Config Key  = bug_ozone
    671 !Config Desc = Pour retrouver le bug de l'ozone (IPCC), mettre a true
    672 !Config Def  = false
    673 !Config Help =
    674 !
    675   bug_ozone = .false.
    676   call getin('bug_ozone',bug_ozone)
    677668!
    678669!
     
    744735  write(numout,*)' ecrit_ hf, day, mth, reg',&
    745736 & ecrit_hf, ecrit_day, ecrit_mth, ecrit_reg
    746   write(numout,*)' bug_ozone = ', bug_ozone
    747737  return
    748738
  • LMDZ4/trunk/libf/phylmd/ozonecm.F

    r652 r699  
    8181        DO i = 1, klon
    8282          o3(i,k) = field(i,k) - field(i,k+1)
    83           IF (.not. bug_ozone) then
    84 c         convert o3 into kg/kg         
    85             o3(i,k)=MAX(o3(i,k),1.0e-12)*RG/46.6968
    86      .               /(paprs(i,k)-paprs(i,k+1))
    87           ENDIF
    8883        ENDDO
    8984      ENDDO
  • LMDZ4/trunk/libf/phylmd/radlwsw.F

    r652 r699  
    238238c wo:    cm.atm (epaisseur en cm dans la situation standard)
    239239c POZON: kg/kg
    240          IF (bug_ozone) then
    241            POZON(i,k) = MAX(wo(iof+i,k),1.0e-12)*RG/46.6968
     240         POZON(i,k) = MAX(wo(iof+i,k),1.0e-12)*RG/46.6968
    242241     .               /(paprs(iof+i,k)-paprs(iof+i,k+1))
    243242     .               *(paprs(iof+i,1)/101325.0)
    244          ELSE
    245 c le calcul qui suit est maintenant fait dans ozonecm (MPL)
    246            POZON(i,k) = wo(i,k)
    247          ENDIF
    248243         PCLDLD(i,k) = cldfra(iof+i,k)*cldemi(iof+i,k)
    249244         PCLDLU(i,k) = cldfra(iof+i,k)*cldemi(iof+i,k)
     
    555550      DO JL = 1, KDLON
    556551         ZCLDSW0(JL,JK) = 0.0
    557          IF (bug_ozone) then
    558            ZOZ(JL,JK) = POZON(JL,JK)*46.6968/RG
     552         ZOZ(JL,JK) = POZON(JL,JK)*46.6968/RG
    559553     .               *PDP(JL,JK)*(101325.0/PPSOL(JL))
    560          ELSE
    561 c        Correction MPL 100505
    562            ZOZ(JL,JK) = POZON(JL,JK)*RMD/RMO3*46.6968/RG*PDP(JL,JK)
    563          ENDIF           
    564554      ENDDO
    565555      ENDDO
Note: See TracChangeset for help on using the changeset viewer.