Changeset 1526 for trunk/LMDZ.GENERIC
- Timestamp:
- Apr 1, 2016, 3:07:57 PM (9 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/bilinearbig.F90
r1315 r1526 56 56 ! ... and for y within the temperature range 57 57 if ((y.lt.y_arr(1)).or.(y.gt.y_arr(nY))) then 58 write(*,*) 'Warning from bilinear H2H2:'58 write(*,*) 'Warning from bilinearbig routine:' 59 59 write(*,*) 'Outside continuum temperature range!' 60 60 if(y.lt.y_arr(1))then -
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r1521 r1526 180 180 ! Included by MT for albedo calculations. 181 181 REAL*8 albedo_temp(L_NSPECTV) ! For equivalent albedo calculation. 182 182 REAL*8 surface_stellar_flux ! Stellar flux reaching the surface. Useful for equivalent albedo calculation. 183 183 184 184 … … 809 809 810 810 811 ! Equivalent Albedo Calculation. MT2015 812 if(fract(ig) .ge. 1.0e-4) then ! equivalent albedo makes sense only during daylight. 813 DO nw=1,L_NSPECTV 814 albedo_temp(nw)=albedo(ig,nw)*nfluxgndv_nu(nw) 815 ENDDO 816 albedo_temp(1:L_NSPECTV)=albedo_temp(1:L_NSPECTV)/sum(nfluxgndv_nu(1:L_NSPECTV)) 817 albedo_equivalent(ig)=sum(albedo_temp(1:L_NSPECTV)) 811 ! Equivalent Albedo Calculation (for OUTPUT). MT2015 812 if(fract(ig) .ge. 1.0e-4) then ! equivalent albedo makes sense only during daylight. 813 surface_stellar_flux=sum(nfluxgndv_nu(1:L_NSPECTV)) 814 if(surface_stellar_flux .gt. 1.0e-3) then ! equivalent albedo makes sense only if the stellar flux received by the surface is positive. 815 DO nw=1,L_NSPECTV 816 albedo_temp(nw)=albedo(ig,nw)*nfluxgndv_nu(nw) 817 ENDDO 818 albedo_temp(1:L_NSPECTV)=albedo_temp(1:L_NSPECTV)/surface_stellar_flux 819 albedo_equivalent(ig)=sum(albedo_temp(1:L_NSPECTV)) 820 else 821 albedo_equivalent(ig)=0.0 ! Spectrally Integrated Albedo not defined for non-irradiated grid points. So we arbitrary set the equivalent albedo to 0. 822 endif 818 823 else 819 824 albedo_equivalent(ig)=0.0 ! Spectrally Integrated Albedo not defined for non-irradiated grid points. So we arbitrary set the equivalent albedo to 0. -
trunk/LMDZ.GENERIC/libf/phystd/condense_co2.F90
r1485 r1526 411 411 412 412 IF(ABS(pdpsrfc(ig)*ptimestep).GT.pplev(ig,1)) THEN 413 PRINT*,'STOP in condens '413 PRINT*,'STOP in condens in condense_co2' 414 414 PRINT*,'condensing more than total mass' 415 415 PRINT*,'Grid point ',ig -
trunk/LMDZ.GENERIC/libf/phystd/mass_redistribution.F90
r1397 r1526 166 166 do ig = 1, ngrid 167 167 IF(ABS(pdpsrfmr(ig)*ptimestep).GT.pplev(ig,1)) THEN 168 PRINT*,'STOP in condens '168 PRINT*,'STOP in condens in mass_redistribution' 169 169 PRINT*,'condensing more than total mass' 170 170 PRINT*,'Grid point ',ig
Note: See TracChangeset
for help on using the changeset viewer.