Changeset 2999 for trunk/LMDZ.MARS/libf/phymars/co2condens_mod.F
- Timestamp:
- Jul 19, 2023, 11:40:38 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/co2condens_mod.F
r2977 r2999 11 11 $ pcapcal,pplay,pplev,ptsrf,pt, 12 12 $ pphi,pdt,pdu,pdv,pdtsrf,pu,pv,pq,pdq, 13 $ piceco2,psolaralb,pemisurf,rdust, 13 $ piceco2,perenial_co2ice, 14 $ psolaralb,pemisurf,rdust, 14 15 $ pdtc,pdtsrfc,pdpsrf,pduc,pdvc,pdqc, 15 16 $ fluxsurf_sw,zls, … … 35 36 #endif 36 37 use comslope_mod, ONLY: subslope_dist,def_slope_mean 38 USE paleoclimate_mod, ONLY: paleoclimate 39 37 40 IMPLICIT NONE 38 41 c======================================================================= … … 87 90 88 91 REAL,INTENT(INOUT) :: piceco2(ngrid,nslope) ! CO2 ice on the surface (kg.m-2) 92 REAL,INTENT(INOUT) :: perenial_co2ice(ngrid,nslope) ! Perenial CO2 ice on the surface (kg.m-2) 89 93 REAL,INTENT(INOUT) :: psolaralb(ngrid,2,nslope) ! albedo of the surface 90 94 REAL,INTENT(INOUT) :: pemisurf(ngrid,nslope) ! emissivity of the surface … … 180 184 REAL :: alb_tmp(ngrid,2) ! local 181 185 REAL :: zcondices_tmp(ngrid) ! local 182 REAL :: piceco2_tmp(ngrid) ! local 186 REAL :: piceco2_tmp(ngrid) ! local 187 REAL :: perenial_co2ice_tmp(ngrid) ! perenial ice on one subslope (kg/m^2) 183 188 REAL :: pemisurf_tmp(ngrid)! local 184 189 LOGICAL :: condsub_tmp(ngrid) !local … … 568 573 piceco2_tmp(:) = piceco2(:,islope) 569 574 alb_tmp(:,:) = psolaralb(:,:,islope) 570 emisref_tmp(:) = 0. 571 CALL albedocaps(zls,ngrid,piceco2_tmp,alb_tmp,emisref_tmp) 575 emisref_tmp(:) = 0. 576 perenial_co2ice_tmp(:) = perenial_co2ice(:,islope) 577 CALL albedocaps(zls,ngrid,piceco2_tmp,perenial_co2ice_tmp, 578 & alb_tmp,emisref_tmp) 579 perenial_co2ice(:,islope) = perenial_co2ice_tmp(:) 572 580 psolaralb(:,1,islope) = alb_tmp(:,1) 573 581 psolaralb(:,2,islope) = alb_tmp(:,2) … … 823 831 ! Extra special case for surface temperature tendency pdtsrfc: 824 832 ! we want to fix the south pole temperature to CO2 condensation temperature 825 if (caps.and.(obliquit.lt.27.) ) then833 if (caps.and.(obliquit.lt.27.).and.(.not.(paleoclimate))) then 826 834 ! check if last grid point is the south pole 827 835 if (abs(latitude(ngrid)-(-pi/2.)).lt.1.e-5) then
Note: See TracChangeset
for help on using the changeset viewer.