Changeset 283 for trunk/LMDZ.MARS/libf/phymars/initracer.F
- Timestamp:
- Sep 7, 2011, 12:57:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/initracer.F
r171 r283 43 43 #include "advtrac.h" 44 44 #include "comgeomfi.h" 45 #include "watercap.h"46 45 #include "chimiedata.h" 47 46 … … 50 49 real qsurf(ngridmx,nqmx) ! tracer on surface (e.g. kg.m-2) 51 50 real co2ice(ngridmx) ! co2 ice mass on surface (e.g. kg.m-2) 52 integer iq,ig,count , yeyey51 integer iq,ig,count 53 52 real r0_lift , reff_lift, nueff_lift 54 53 c Ratio of small over large dust particles (used when both … … 436 435 437 436 438 439 437 enddo ! of do iq=1,nqmx 440 438 ! count=count+nbqchem … … 587 585 alpha_lift(igcm_h2o_vap) =0. 588 586 alpha_devil(igcm_h2o_vap)=0. 589 590 c "Dryness coefficient" controlling the evaporation and591 c sublimation from the ground water ice (close to 1)592 c HERE, the goal is to correct for the fact593 c that the simulated permanent water ice polar caps594 c is larger than the actual cap and the atmospheric595 c opacity not always realistic.596 597 do ig=1,ngridmx598 if (ngridmx.ne.1) watercaptag(ig)=.false.599 dryness(ig) = 1.600 enddo601 602 IF (caps) THEN603 c Perennial H20 north cap defined by watercaptag=true (allows surface to be604 c hollowed by sublimation in vdifc).605 yeyey = 0606 do ig=1,ngridmx607 ! !!! TESTS TESTS outliers608 ! !!! TESTS TESTS outliers609 ! if ( ( lati(ig)*180./pi .ge. 75 ) .and.610 ! . ( lati(ig)*180./pi .le. 77 ) .and.611 ! . ( ( ( long(ig)*180./pi .ge. 000. ) .and.612 ! . ( long(ig)*180./pi .le. 120. ) )613 ! . .or.614 ! . ( ( long(ig)*180./pi .ge. -130. ) .and.615 ! . ( long(ig)*180./pi .le. -115. ) ) ) ) then616 ! if (yeyey .eq. 0) then !!! 1/2 en 64x48 sinon trop large en lat617 ! write(*,*) "outliers ", lati(ig)*180./pi, long(ig)*180./pi618 ! if (ngridmx.ne.1) watercaptag(ig)=.true.619 ! dryness(ig) = 1.620 ! albedodat(ig) = 0.45 !! comme alb_surfice621 ! yeyey = 1622 ! else623 ! yeyey = 0624 ! endif625 ! endif626 ! !!! TESTS TESTS outliers627 ! !!! TESTS TESTS outliers628 !629 ! !!! TESTS TESTS addcap630 ! !!! TESTS TESTS addcap631 ! if ( ( lati(ig)*180./pi .ge. 82 ) .and.632 ! . ( lati(ig)*180./pi .le. 84 ) .and.633 ! . ( ( long(ig)*180./pi .gt. -030. ) .and.634 ! . ( long(ig)*180./pi .lt. 090. ) ) ) then635 ! write(*,*) "capadd ", lati(ig)*180./pi, long(ig)*180./pi636 ! if (ngridmx.ne.1) watercaptag(ig)=.true.637 ! albedodat(ig) = 0.45 !! comme alb_surfice638 ! dryness(ig) = 1.639 ! endif640 ! !!! TESTS TESTS addcap641 ! !!! TESTS TESTS addcap642 643 if (lati(ig)*180./pi.gt.84) then644 if (ngridmx.ne.1) watercaptag(ig)=.true.645 dryness(ig) = 1.646 c Use the following cap definition for high spatial resolution (latitudinal bin <= 5 deg)647 c if (lati(ig)*180./pi.lt.85.and.long(ig).ge.0) then648 c if (ngridmx.ne.1) watercaptag(ig)=.true.649 c dryness(ig) = 1.650 c endif651 c if (lati(ig)*180./pi.ge.85) then652 c if (ngridmx.ne.1) watercaptag(ig)=.true.653 c dryness(ig) = 1.654 c endif655 endif ! (lati>80 deg)656 end do ! (ngridmx)657 ENDIF ! (caps)658 659 587 if(water.and.(nqmx.ge.2)) then 660 588 radius(igcm_h2o_ice)=3.e-6
Note: See TracChangeset
for help on using the changeset viewer.