Changeset 4824 for palm/trunk/SOURCE/radiation_model_mod.f90
- Timestamp:
- Dec 12, 2020 8:45:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r4801 r4824 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Bugfix: change the unit of radiation fluxes, few formating changes 30 ! 31 ! 4801 2020-11-27 16:06:40Z raasch 29 32 ! bugfix for r4800 30 33 ! … … 1539 1542 ELSE 1540 1543 SELECT CASE ( var ) 1541 CASE ( 'rad_lw_cs_hr', 'rad_lw_hr', 'rad_lw_in', 'rad_lw_out', 'rad_sw_cs_hr', & 1542 'rad_sw_hr', 'rad_sw_in', 'rad_sw_out' ) 1544 CASE ( 'rad_lw_cs_hr', 'rad_lw_hr', 'rad_sw_cs_hr', 'rad_sw_hr' ) 1543 1545 IF ( .NOT. radiation .OR. radiation_scheme /= 'rrtmg' ) THEN 1544 1546 message_string = '"output of "' // var // '" requires radiation = .TRUE. and ' // & … … 1547 1549 ENDIF 1548 1550 unit = 'K/h' 1551 1552 CASE ( 'rad_lw_in', 'rad_lw_out', 'rad_sw_in', 'rad_sw_out' ) 1553 IF ( .NOT. radiation .OR. radiation_scheme /= 'rrtmg' ) THEN 1554 message_string = '"output of "' // var // '" requires radiation = .TRUE. and ' // & 1555 'radiation_scheme = "rrtmg"' 1556 CALL message( 'check_parameters', 'PA0406', 1, 2, 0, 6, 0 ) 1557 ENDIF 1558 unit = 'W/m2' 1549 1559 1550 1560 CASE ( 'rad_net*', 'rad_lw_in*', 'rad_lw_out*', 'rad_sw_in*', 'rad_sw_out*' ) … … 6296 6306 !-- Reset for the input from next reflective pass 6297 6307 surfins = 0.0_wp 6298 surfinl = 0.0 0_wp6308 surfinl = 0.0_wp 6299 6309 ! 6300 6310 !-- Reflected radiation … … 6637 6647 uvec !< z, y, x unit vector of incoming flux 6638 6648 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6649 6650 6650 xshift = uvec(3) / uvec(1) * boxsize(1) 6651 6651 xmin = MIN( 0._wp, - xshift )
Note: See TracChangeset
for help on using the changeset viewer.