- Timestamp:
- Dec 7, 2021, 9:14:49 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/radlwsw_m.F90
r4031 r4045 335 335 REAL(KIND=8) ZSWDIFFUSEBAND(klon,NSW), & ! SW DN flux in diffuse albedo band 336 336 ZSWDIRECTBAND(klon,NSW) ! SW DN flux in direct albedo band 337 REAL(KIND=8) seuilmach 337 338 #endif 338 339 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 506 507 ZAEROSOL_OLD = 0.0 507 508 ZAEROSOL = 0.0 509 seuilmach=tiny(seuilmach) 508 510 #endif 509 511 … … 1453 1455 !--fraction of diffuse radiation in surface SW downward radiation 1454 1456 DO i = 1, kdlon 1455 IF (fract(i).GT.0.0) THEN1456 1457 zdir=SUM(PSFSWDIR(i,:)) 1457 1458 zdif=SUM(PSFSWDIF(i,:)) 1459 IF (fract(i).GT.0.0.and.(zdir+zdif).gt.seuilmach) THEN 1458 1460 zsolswfdiff(i) = zdif/(zdir+zdif) 1459 1461 ELSE !--night
Note: See TracChangeset
for help on using the changeset viewer.