Changeset 2258 for LMDZ5/branches/testing/libf/phylmd/surf_ocean_mod.F90
- Timestamp:
- Apr 13, 2015, 10:21:09 AM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2218,2221-2237
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/surf_ocean_mod.F90
r2220 r2258 16 16 ps, u1, v1, rugoro, pctsrf, & 17 17 snow, qsurf, agesno, & 18 z0_new, alb1_new, alb2_new, evap, fluxsens, fluxlat, & 18 !albedo SB >>> 19 ! z0_new, alb1_new, alb2_new, evap, fluxsens, fluxlat, & 20 z0_new, SFRWL, alb_dir_new, alb_dif_new, evap, fluxsens, fluxlat, & 21 !albedo SB <<< 19 22 tsurf_new, dflux_s, dflux_l, lmt_bils, & 20 23 flux_u1, flux_v1) … … 72 75 !**************************************************************************************** 73 76 REAL, DIMENSION(klon), INTENT(OUT) :: z0_new 74 REAL, DIMENSION(klon), INTENT(OUT) :: alb1_new ! new albedo in visible SW interval 75 REAL, DIMENSION(klon), INTENT(OUT) :: alb2_new ! new albedo in near IR interval 77 !albedo SB >>> 78 ! REAL, DIMENSION(klon), INTENT(OUT) :: alb1_new ! new albedo in visible SW interval 79 ! REAL, DIMENSION(klon), INTENT(OUT) :: alb2_new ! new albedo in near IR interval 80 REAL, DIMENSION(6), INTENT(IN) :: SFRWL 81 REAL, DIMENSION(klon,nsw), INTENT(OUT) :: alb_dir_new,alb_dif_new 82 !albedo SB <<< 76 83 REAL, DIMENSION(klon), INTENT(OUT) :: evap, fluxsens, fluxlat 77 84 REAL, DIMENSION(klon), INTENT(OUT) :: tsurf_new … … 82 89 ! Local variables 83 90 !**************************************************************************************** 84 INTEGER :: i 91 INTEGER :: i, k 85 92 REAL :: tmp 86 93 REAL, PARAMETER :: cepdu2=(0.1)**2 … … 155 162 ! 156 163 !**************************************************************************************** 164 !albedo SB >>> 165 166 167 if(iflag_albedo==1)then 168 call ocean_albedo(knon,rmu0,knindex,windsp,SFRWL,alb_dir_new,alb_dif_new) 169 else 157 170 IF (cycle_diurne) THEN 158 171 CALL alboc_cd(rmu0,alb_eau) … … 162 175 163 176 DO i =1, knon 164 alb1_new(i) = alb_eau(knindex(i)) 177 do k=1,nsw 178 alb_dir_new(i,k) = alb_eau(knindex(i)) 179 enddo 165 180 ENDDO 166 alb2_new(1:knon) = alb1_new(1:knon) 181 alb_dif_new=0.05 !alb_dir_new 182 endif 183 184 !albedo SB <<< 167 185 168 186 !****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.