Changeset 1701 for palm/trunk/SOURCE/radiation_model.f90
- Timestamp:
- Nov 2, 2015 7:43:04 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model.f90
r1692 r1701 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! Bugfixes: wrong index for output of timeseries, setting of nz_snd_end 22 22 ! 23 23 ! Former revisions: … … 628 628 dots_num = dots_num + 5 629 629 630 dots_label(dots_rad +1) = "rad_net"631 dots_label(dots_rad+ 2) = "rad_lw_in"632 dots_label(dots_rad+ 3) = "rad_lw_out"633 dots_label(dots_rad+ 4) = "rad_sw_in"634 dots_label(dots_rad+ 5) = "rad_sw_out"630 dots_label(dots_rad) = "rad_net" 631 dots_label(dots_rad+1) = "rad_lw_in" 632 dots_label(dots_rad+2) = "rad_lw_out" 633 dots_label(dots_rad+3) = "rad_sw_in" 634 dots_label(dots_rad+4) = "rad_sw_out" 635 635 dots_unit(dots_rad:dots_rad+4) = "W/m2" 636 636 … … 1161 1161 ! 1162 1162 ! !-- Allocate temporary array for storing pressure data 1163 ALLOCATE( hyp_snd_tmp( nzb+1:nz_snd) )1163 ALLOCATE( hyp_snd_tmp(1:nz_snd) ) 1164 1164 hyp_snd_tmp = 0.0_wp 1165 1165 … … 1173 1173 ! 1174 1174 !-- Allocate temporary array for storing temperature data 1175 ALLOCATE( t_snd_tmp( nzb+1:nz_snd) )1175 ALLOCATE( t_snd_tmp(1:nz_snd) ) 1176 1176 t_snd_tmp = 0.0_wp 1177 1177 … … 1186 1186 !-- Calculate start of sounding data 1187 1187 nz_snd_start = nz_snd + 1 1188 nz_snd_end = nz_snd _end1188 nz_snd_end = nz_snd + 1 1189 1189 1190 1190 ! … … 1199 1199 1200 1200 IF ( nz_snd_start <= nz_snd ) THEN 1201 nz_snd_end = nz_snd - 11201 nz_snd_end = nz_snd 1202 1202 END IF 1203 1203 … … 1205 1205 ! 1206 1206 !-- Calculate of total grid points for RRTMG calculations 1207 nzt_rad = nzt + nz_snd_end - nz_snd_start + 21207 nzt_rad = nzt + nz_snd_end - nz_snd_start + 1 1208 1208 1209 1209 !
Note: See TracChangeset
for help on using the changeset viewer.