Changeset 1498 for trunk/LMDZ.GENERIC/libf/phystd
- Timestamp:
- Nov 13, 2015, 7:21:01 PM (9 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r1483 r1498 231 231 call sugas_corrk ! Set up gaseous absorption properties. 232 232 call suaer_corrk ! Set up aerosol optical properties. 233 233 234 234 235 235 if((igcm_h2o_vap.eq.0) .and. varactive)then -
trunk/LMDZ.GENERIC/libf/phystd/callkeys_mod.F90
r1482 r1498 39 39 logical ok_slab_sic 40 40 logical ok_slab_heat_transp 41 logical albedo_spectral_mode 41 42 42 43 integer iddist -
trunk/LMDZ.GENERIC/libf/phystd/inifis.F
r1482 r1498 614 614 call getin_p("icetstep",icetstep) 615 615 write(*,*) " icetstep = ",icetstep 616 617 write(*,*) "Spectral Dependant albedo ?" 618 albedo_spectral_mode=.false. ! default value 619 call getin_p("albedo_spectral_mode",albedo_spectral_mode) 620 write(*,*) " albedo_spectral_mode = ",albedo_spectral_mode 616 621 617 622 write(*,*) "Snow albedo ?" 623 write(*,*) "If albedo_spectral_mode=.true., then this " 624 write(*,*) "corresponds to the 0.5 microns snow albedo." 618 625 albedosnow=0.5 ! default value 619 626 call getin_p("albedosnow",albedosnow) -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r1493 r1498 539 539 call surfini(ngrid,nq,qsurf,albedo,albedo_bareground,albedo_snow_SPECTV,albedo_co2_ice_SPECTV) 540 540 541 542 541 ! Initialize orbital calculation. 543 542 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 928 927 ! Net atmospheric radiative heating rate (K.s-1) 929 928 dtrad(1:ngrid,1:nlayer)=zdtsw(1:ngrid,1:nlayer)+zdtlw(1:ngrid,1:nlayer) 929 930 ! Late initialization of the Ice Spectral Albedo. We needed the visible bands to do that ! 931 if (firstcall .and. albedo_spectral_mode) then 932 call spectral_albedo_calc(albedo_snow_SPECTV) 933 endif 930 934 931 935 elseif(newtonian)then … … 951 955 print*,'------------WARNING---WARNING------------' ! by MT2015. 952 956 print*,'You are in corrk=false mode, ' 953 print*,'and the surface albedo is taken equal to its value at 0.5 micrometers ...' 954 if ( (10000./BWNV(1) .le. 0.5) .or. (10000./BWNV(L_NSPECTV) .ge. 0.5) ) then 955 print*,'0.5 microns band doesnt match your visible bands ! Abort !' 956 call abort 957 endif 958 DO nw=1, L_NSPECTV-1 959 if ( (10000./BWNV(nw) .ge. 0.5) .and. (10000./BWNV(nw+1) .lt. 0.5) ) then 960 fluxsurfabs_sw(1:ngrid) = fluxtop_dn(1:ngrid)*(1.-albedo(1:ngrid,nw)) 961 fluxrad_sky(1:ngrid) = fluxsurfabs_sw(1:ngrid) 962 endif 963 ENDDO 957 print*,'and the surface albedo is taken equal to the first visible spectral value' 958 959 fluxsurfabs_sw(1:ngrid) = fluxtop_dn(1:ngrid)*(1.-albedo(1:ngrid,1)) 960 fluxrad_sky(1:ngrid) = fluxsurfabs_sw(1:ngrid) 964 961 fluxtop_lw(1:ngrid) = emis(1:ngrid)*sigma*tsurf(1:ngrid)**4 965 962
Note: See TracChangeset
for help on using the changeset viewer.