Changeset 699 for LMDZ4/trunk/libf/phylmd
- Timestamp:
- May 9, 2006, 11:46:14 AM (19 years ago)
- Location:
- LMDZ4/trunk/libf/phylmd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/clesphys.h
r684 r699 6 6 LOGICAL cycle_diurne,soil_model,new_oliq,ok_orodr,ok_orolf 7 7 LOGICAL ok_limitvrai 8 LOGICAL bug_ozone9 8 INTEGER nbapp_rad, iflag_con 10 9 REAL co2_ppm, solaire … … 41 40 S , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins 42 41 S , ecrit_ins, ecrit_hf, ecrit_hf2mth, ecrit_day 43 S , ecrit_mth, ecrit_tra, ecrit_reg , bug_ozone42 S , ecrit_mth, ecrit_tra, ecrit_reg 44 43 S , freqin_isccp, freqout_isccp, ip_ebil_phy 45 44 S , ok_slab_sicOBS -
LMDZ4/trunk/libf/phylmd/conf_phys.F90
r684 r699 666 666 call getin('ecrit_reg',ecrit_reg) 667 667 ! 668 !669 !670 !Config Key = bug_ozone671 !Config Desc = Pour retrouver le bug de l'ozone (IPCC), mettre a true672 !Config Def = false673 !Config Help =674 !675 bug_ozone = .false.676 call getin('bug_ozone',bug_ozone)677 668 ! 678 669 ! … … 744 735 write(numout,*)' ecrit_ hf, day, mth, reg',& 745 736 & ecrit_hf, ecrit_day, ecrit_mth, ecrit_reg 746 write(numout,*)' bug_ozone = ', bug_ozone747 737 return 748 738 -
LMDZ4/trunk/libf/phylmd/ozonecm.F
r652 r699 81 81 DO i = 1, klon 82 82 o3(i,k) = field(i,k) - field(i,k+1) 83 IF (.not. bug_ozone) then84 c convert o3 into kg/kg85 o3(i,k)=MAX(o3(i,k),1.0e-12)*RG/46.696886 . /(paprs(i,k)-paprs(i,k+1))87 ENDIF88 83 ENDDO 89 84 ENDDO -
LMDZ4/trunk/libf/phylmd/radlwsw.F
r652 r699 238 238 c wo: cm.atm (epaisseur en cm dans la situation standard) 239 239 c 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 242 241 . /(paprs(iof+i,k)-paprs(iof+i,k+1)) 243 242 . *(paprs(iof+i,1)/101325.0) 244 ELSE245 c le calcul qui suit est maintenant fait dans ozonecm (MPL)246 POZON(i,k) = wo(i,k)247 ENDIF248 243 PCLDLD(i,k) = cldfra(iof+i,k)*cldemi(iof+i,k) 249 244 PCLDLU(i,k) = cldfra(iof+i,k)*cldemi(iof+i,k) … … 555 550 DO JL = 1, KDLON 556 551 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 559 553 . *PDP(JL,JK)*(101325.0/PPSOL(JL)) 560 ELSE561 c Correction MPL 100505562 ZOZ(JL,JK) = POZON(JL,JK)*RMD/RMO3*46.6968/RG*PDP(JL,JK)563 ENDIF564 554 ENDDO 565 555 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.