Changeset 2902 for trunk/LMDZ.MARS/libf
- Timestamp:
- Feb 22, 2023, 6:56:01 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/co2condens_mod.F
r2823 r2902 170 170 REAL masseq(nlayer),wq(nlayer+1) 171 171 INTEGER ifils,iq2 172 172 c LL: flux dependant albedo 173 real :: totflux(ngrid) 173 174 c---------------------------------------------------------------------- 174 175 … … 176 177 c -------------- 177 178 c 179 totflux(:) = fluxsurf_sw(:,1)+fluxsurf_sw(:,2) 178 180 ! AS: firstcall OK absolute 179 181 IF (firstcall) THEN … … 500 502 ! ---------------------------------------- 501 503 CALL albedocaps(zls,ngrid,piceco2,psolaralb,emisref) 504 DO ig = 1,ngrid 505 if(piceco2(ig).gt.0.) then 506 psolaralb(ig,1) = 0.267+0.00059*totflux(ig) 507 psolaralb(ig,2) = psolaralb(ig,1) 508 if(ig.eq.ngrid) then 509 psolaralb(ig,1) = 0.532+8.72e-4*totflux(ig) 510 psolaralb(ig,2) = psolaralb(ig,1) 511 endif 512 endif 513 ENDDO 514 515 502 516 503 517 ! set pemisurf() to emissiv when there is bare surface (needed for co2snow) … … 739 753 ! write(*,*) "co2condens: South pole: latitude(ngrid)=", 740 754 ! & latitude(ngrid) 741 ztcondsol(ngrid)=742 & 1./(bcond-acond*log(.01*vmr_co2(ngrid,1)*743 & (pplev(ngrid,1)+pdpsrf(ngrid)*ptimestep)))744 pdtsrfc(ngrid)=(ztcondsol(ngrid)-ztsrf(ngrid))/ptimestep755 ! ztcondsol(ngrid)= 756 ! & 1./(bcond-acond*log(.01*vmr_co2(ngrid,1)* 757 ! & (pplev(ngrid,1)+pdpsrf(ngrid)*ptimestep))) 758 ! pdtsrfc(ngrid)=(ztcondsol(ngrid)-ztsrf(ngrid))/ptimestep 745 759 endif 746 760 endif
Note: See TracChangeset
for help on using the changeset viewer.