- Timestamp:
- Mar 4, 2015 5:44:27 PM (10 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/average_3d_data.f90
r1552 r1555 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added output of r_a and r_s 23 23 ! 24 24 ! Former revisions: … … 81 81 ONLY: c_liq_av, c_soil_av, c_veg_av, ghf_eb_av, lai_av, m_liq_eb_av, & 82 82 m_soil_av, nzb_soil, nzt_soil, qsws_eb_av, qsws_liq_eb_av, & 83 qsws_soil_eb_av, qsws_veg_eb_av, shf_eb_av, t_soil_av 83 qsws_soil_eb_av, qsws_veg_eb_av, r_a, r_a_av, r_s, r_s_av, & 84 shf_eb_av, t_soil_av 84 85 85 86 USE radiation_model_mod, & … … 359 360 ENDDO 360 361 362 CASE ( 'r_a*' ) 363 DO i = nxlg, nxrg 364 DO j = nysg, nyng 365 r_a_av(j,i) = r_a_av(j,i) / REAL( average_count_3d, KIND=wp ) 366 ENDDO 367 ENDDO 368 369 CASE ( 'r_s*' ) 370 DO i = nxlg, nxrg 371 DO j = nysg, nyng 372 r_s_av(j,i) = r_s_av(j,i) / REAL( average_count_3d, KIND=wp ) 373 ENDDO 374 ENDDO 375 361 376 CASE ( 'rho' ) 362 377 DO i = nxlg, nxrg -
palm/trunk/SOURCE/check_parameters.f90
r1554 r1555 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added output of r_a and r_s. Renumbering of LSM PA-messages. 23 23 ! 24 24 ! Former revisions: … … 990 990 991 991 IF ( min_canopy_resistance == 9999999.9_wp) THEN 992 message_string = 'veg_type = 0 (user _defined)'// &992 message_string = 'veg_type = 0 (user defined)'// & 993 993 'requires setting of min_canopy_resistance'// & 994 994 '/= 9999999.9' 995 CALL message( 'check_parameters', 'PA04 15', 1, 2, 0, 6, 0 )995 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 996 996 ENDIF 997 997 … … 1000 1000 'requires setting of leaf_area_index'// & 1001 1001 '/= 9999999.9' 1002 CALL message( 'check_parameters', 'PA04 16', 1, 2, 0, 6, 0 )1002 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1003 1003 ENDIF 1004 1004 … … 1007 1007 'requires setting of vegetation_coverage'// & 1008 1008 '/= 9999999.9' 1009 CALL message( 'check_parameters', 'PA04 17', 1, 2, 0, 6, 0 )1009 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1010 1010 ENDIF 1011 1011 … … 1014 1014 'requires setting of'// & 1015 1015 'canopy_resistance_coefficient /= 9999999.9' 1016 CALL message( 'check_parameters', 'PA04 18', 1, 2, 0, 6, 0 )1016 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1017 1017 ENDIF 1018 1018 … … 1021 1021 'requires setting of lambda_surface_stable'// & 1022 1022 '/= 9999999.9' 1023 CALL message( 'check_parameters', 'PA04 19', 1, 2, 0, 6, 0 )1023 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1024 1024 ENDIF 1025 1025 … … 1028 1028 'requires setting of lambda_surface_unstable'// & 1029 1029 '/= 9999999.9' 1030 CALL message( 'check_parameters', 'PA04 20', 1, 2, 0, 6, 0 )1030 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1031 1031 ENDIF 1032 1032 … … 1035 1035 'requires setting of f_shortwave_incoming'// & 1036 1036 '/= 9999999.9' 1037 CALL message( 'check_parameters', 'PA04 21', 1, 2, 0, 6, 0 )1037 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1038 1038 ENDIF 1039 1039 … … 1042 1042 'requires setting of z0_eb'// & 1043 1043 '/= 9999999.9' 1044 CALL message( 'check_parameters', 'PA04 22', 1, 2, 0, 6, 0 )1044 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1045 1045 ENDIF 1046 1046 … … 1049 1049 'requires setting of z0h_eb'// & 1050 1050 '/= 9999999.9' 1051 CALL message( 'check_parameters', 'PA04 23', 1, 2, 0, 6, 0 )1051 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1052 1052 ENDIF 1053 1053 … … 1061 1061 'requires setting of alpha_vangenuchten'// & 1062 1062 '/= 9999999.9' 1063 CALL message( 'check_parameters', 'PA04 22', 1, 2, 0, 6, 0 )1063 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1064 1064 ENDIF 1065 1065 … … 1068 1068 'requires setting of l_vangenuchten'// & 1069 1069 '/= 9999999.9' 1070 CALL message( 'check_parameters', 'PA04 23', 1, 2, 0, 6, 0 )1070 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1071 1071 ENDIF 1072 1072 … … 1075 1075 'requires setting of n_vangenuchten'// & 1076 1076 '/= 9999999.9' 1077 CALL message( 'check_parameters', 'PA04 24', 1, 2, 0, 6, 0 )1077 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1078 1078 ENDIF 1079 1079 … … 1082 1082 'requires setting of hydraulic_conductivity'// & 1083 1083 '/= 9999999.9' 1084 CALL message( 'check_parameters', 'PA04 25', 1, 2, 0, 6, 0 )1084 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1085 1085 ENDIF 1086 1086 … … 1089 1089 'requires setting of saturation_moisture'// & 1090 1090 '/= 9999999.9' 1091 CALL message( 'check_parameters', 'PA04 26', 1, 2, 0, 6, 0 )1091 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1092 1092 ENDIF 1093 1093 … … 1096 1096 'requires setting of field_capacity'// & 1097 1097 '/= 9999999.9' 1098 CALL message( 'check_parameters', 'PA04 27', 1, 2, 0, 6, 0 )1098 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1099 1099 ENDIF 1100 1100 … … 1103 1103 'requires setting of wilting_point'// & 1104 1104 '/= 9999999.9' 1105 CALL message( 'check_parameters', 'PA04 28', 1, 2, 0, 6, 0 )1105 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1106 1106 ENDIF 1107 1107 … … 1110 1110 'requires setting of residual_moisture'// & 1111 1111 '/= 9999999.9' 1112 CALL message( 'check_parameters', 'PA04 29', 1, 2, 0, 6, 0 )1112 CALL message( 'check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1113 1113 ENDIF 1114 1114 … … 1118 1118 message_string = 'lsm requires '// & 1119 1119 'radiation = .T.' 1120 CALL message( 'check_parameters', 'PA040 2', 1, 2, 0, 6, 0 )1120 CALL message( 'check_parameters', 'PA0400', 1, 2, 0, 6, 0 ) 1121 1121 ENDIF 1122 1122 … … 1133 1133 message_string = 'unknown radiation_scheme = '// & 1134 1134 TRIM( radiation_scheme ) 1135 CALL message( 'check_parameters', 'PA04 30', 1, 2, 0, 6, 0 )1135 CALL message( 'check_parameters', 'PA0405', 1, 2, 0, 6, 0 ) 1136 1136 ENDIF 1137 1137 ENDIF … … 3005 3005 TRIM( data_output_pr(i) ) // ' is not imp' // & 3006 3006 'lemented for land_surface = .FALSE.' 3007 CALL message( 'check_parameters', 'PA040 3', 1, 2, 0, 6, 0 )3007 CALL message( 'check_parameters', 'PA0402', 1, 2, 0, 6, 0 ) 3008 3008 ELSE 3009 3009 dopr_index(i) = 89 … … 3022 3022 TRIM( data_output_pr(i) ) // ' is not imp' // & 3023 3023 'lemented for land_surface = .FALSE.' 3024 CALL message( 'check_parameters', 'PA040 3', 1, 2, 0, 6, 0 )3024 CALL message( 'check_parameters', 'PA0402', 1, 2, 0, 6, 0 ) 3025 3025 ELSE 3026 3026 dopr_index(i) = 91 … … 3268 3268 CASE ( 'c_liq*', 'c_soil*', 'c_veg*', 'ghf_eb*', 'lai*', 'lwp*', & 3269 3269 'm_liq_eb*', 'pra*', 'prr*', 'qsws*', 'qsws_eb*', & 3270 'qsws_liq_eb*', 'qsws_soil_eb*', 'qsws_veg_eb*', 3271 'rad_ net*', 'rad_sw_in*', 'shf*', 'shf_eb*', 't*', 'u*',&3272 ' z0*', 'z0h*' )3270 'qsws_liq_eb*', 'qsws_soil_eb*', 'qsws_veg_eb*', 'rad_net*', & 3271 'rad_sw_in*', 'r_a*', 'r_s*', 'shf*', 'shf_eb*', 't*', & 3272 'u*', 'z0*', 'z0h*' ) 3273 3273 IF ( k == 0 .OR. data_output(i)(ilen-2:ilen) /= '_xy' ) THEN 3274 3274 message_string = 'illegal value for data_output: "' // & … … 3280 3280 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3281 3281 'res land_surface = .TRUE.' 3282 CALL message( 'check_parameters', 'PA04 11', 1, 2, 0, 6, 0 )3282 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3283 3283 ENDIF 3284 3284 IF ( TRIM( var ) == 'c_soil*' .AND. .NOT. land_surface ) THEN 3285 3285 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3286 3286 'res land_surface = .TRUE.' 3287 CALL message( 'check_parameters', 'PA04 12', 1, 2, 0, 6, 0 )3287 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3288 3288 ENDIF 3289 3289 IF ( TRIM( var ) == 'c_veg*' .AND. .NOT. land_surface ) THEN 3290 3290 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3291 3291 'res land_surface = .TRUE.' 3292 CALL message( 'check_parameters', 'PA04 13', 1, 2, 0, 6, 0 )3292 CALL message( 'check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 3293 3293 ENDIF 3294 3294 IF ( TRIM( var ) == 'ghf_eb*' .AND. .NOT. land_surface ) THEN 3295 3295 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3296 3296 'res land_surface = .TRUE.' 3297 CALL message( 'check_parameters', 'PA040 5', 1, 2, 0, 6, 0 )3297 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3298 3298 ENDIF 3299 3299 IF ( TRIM( var ) == 'lai*' .AND. .NOT. land_surface ) THEN 3300 3300 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3301 3301 'res land_surface = .TRUE.' 3302 CALL message( 'check_parameters', 'PA04 14', 1, 2, 0, 6, 0 )3302 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3303 3303 ENDIF 3304 3304 IF ( TRIM( var ) == 'lwp*' .AND. .NOT. cloud_physics ) THEN … … 3310 3310 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3311 3311 'res land_surface = .TRUE.' 3312 CALL message( 'check_parameters', 'PA040 6', 1, 2, 0, 6, 0 )3312 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3313 3313 ENDIF 3314 3314 IF ( TRIM( var ) == 'pra*' .AND. .NOT. precipitation ) THEN … … 3335 3335 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3336 3336 'res land_surface = .TRUE.' 3337 CALL message( 'check_parameters', 'PA040 7', 1, 2, 0, 6, 0 )3337 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3338 3338 ENDIF 3339 3339 IF ( TRIM( var ) == 'qsws_liq_eb*' .AND. .NOT. land_surface ) & … … 3341 3341 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3342 3342 'res land_surface = .TRUE.' 3343 CALL message( 'check_parameters', 'PA040 8', 1, 2, 0, 6, 0 )3343 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3344 3344 ENDIF 3345 3345 IF ( TRIM( var ) == 'qsws_soil_eb*' .AND. .NOT. land_surface ) & … … 3347 3347 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3348 3348 'res land_surface = .TRUE.' 3349 CALL message( 'check_parameters', 'PA040 9', 1, 2, 0, 6, 0 )3349 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3350 3350 ENDIF 3351 3351 IF ( TRIM( var ) == 'qsws_veg_eb*' .AND. .NOT. land_surface ) & … … 3353 3353 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3354 3354 'res land_surface = .TRUE.' 3355 CALL message( 'check_parameters', 'PA0410', 1, 2, 0, 6, 0 ) 3355 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3356 ENDIF 3357 IF ( TRIM( var ) == 'r_a*' .AND. .NOT. land_surface ) & 3358 THEN 3359 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3360 'res land_surface = .TRUE.' 3361 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3362 ENDIF 3363 IF ( TRIM( var ) == 'r_s*' .AND. .NOT. land_surface ) & 3364 THEN 3365 message_string = 'output of "' // TRIM( var ) // '" requi' // & 3366 'res land_surface = .TRUE.' 3367 CALL message( 'check_parameters', 'PA0404', 1, 2, 0, 6, 0 ) 3356 3368 ENDIF 3357 3369 … … 3370 3382 IF ( TRIM( var ) == 'qsws_veg_eb*' ) unit = 'W/m2' 3371 3383 IF ( TRIM( var ) == 'rad_net*') unit = 'W/m2' 3372 IF ( TRIM( var ) == 'rad_sw_in*') unit = 'W/m2' 3384 IF ( TRIM( var ) == 'rad_sw_in*') unit = 'W/m2' 3385 IF ( TRIM( var ) == 'r_a*') unit = 's/m' 3386 IF ( TRIM( var ) == 'r_s*') unit = 's/m' 3373 3387 IF ( TRIM( var ) == 'shf*' ) unit = 'K*m/s' 3374 3388 IF ( TRIM( var ) == 'shf_eb*') unit = 'W/m2' -
palm/trunk/SOURCE/data_output_2d.f90
r1552 r1555 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added output of r_a and r_s 23 23 ! 24 24 ! Former revisions: … … 139 139 m_soil_av, nzb_soil, nzt_soil, qsws_eb, qsws_eb_av, & 140 140 qsws_liq_eb, qsws_liq_eb_av, qsws_soil_eb, qsws_soil_eb_av, & 141 qsws_veg_eb, qsws_veg_eb_av, shf_eb, shf_eb_av, t_soil,&142 t_soil_av, zs141 qsws_veg_eb, qsws_veg_eb_av, r_a, r_a_av, r_s, r_s_av, shf_eb, & 142 shf_eb_av, t_soil, t_soil_av, zs 143 143 144 144 USE netcdf_control … … 934 934 to_be_resorted => rho_av 935 935 ENDIF 936 937 CASE ( 'r_a*_xy' ) ! 2d-array 938 IF ( av == 0 ) THEN 939 DO i = nxlg, nxrg 940 DO j = nysg, nyng 941 local_pf(i,j,nzb+1) = r_a(j,i) 942 ENDDO 943 ENDDO 944 ELSE 945 DO i = nxlg, nxrg 946 DO j = nysg, nyng 947 local_pf(i,j,nzb+1) = r_a_av(j,i) 948 ENDDO 949 ENDDO 950 ENDIF 951 resorted = .TRUE. 952 two_d = .TRUE. 953 level_z(nzb+1) = zu(nzb+1) 954 955 CASE ( 'r_s*_xy' ) ! 2d-array 956 IF ( av == 0 ) THEN 957 DO i = nxlg, nxrg 958 DO j = nysg, nyng 959 local_pf(i,j,nzb+1) = r_s(j,i) 960 ENDDO 961 ENDDO 962 ELSE 963 DO i = nxlg, nxrg 964 DO j = nysg, nyng 965 local_pf(i,j,nzb+1) = r_s_av(j,i) 966 ENDDO 967 ENDDO 968 ENDIF 969 resorted = .TRUE. 970 two_d = .TRUE. 971 level_z(nzb+1) = zu(nzb+1) 936 972 937 973 CASE ( 's_xy', 's_xz', 's_yz' ) -
palm/trunk/SOURCE/flow_statistics.f90
r1552 r1555 21 21 ! Current revisions: 22 22 ! ----------------- 23 ! 23 ! Added output of r_a and r_s. 24 24 ! 25 25 ! Former revisions: … … 160 160 USE land_surface_model_mod, & 161 161 ONLY: dots_soil, ghf_eb, land_surface, m_soil, nzb_soil, nzt_soil, & 162 qsws_eb, qsws_liq_eb, qsws_soil_eb, qsws_veg_eb, shf_eb,&163 t_soil162 qsws_eb, qsws_liq_eb, qsws_soil_eb, qsws_veg_eb, r_a, r_s, & 163 shf_eb, t_soil 164 164 165 165 USE pegrid … … 717 717 718 718 IF ( land_surface ) THEN 719 sums_l(nzb,93,tn) = sums_l(nzb,93,tn) + ghf_eb(j,i) 720 sums_l(nzb,94,tn) = sums_l(nzb,94,tn) + shf_eb(j,i) 721 sums_l(nzb,95,tn) = sums_l(nzb,95,tn) + qsws_eb(j,i) 722 sums_l(nzb,96,tn) = sums_l(nzb,96,tn) + qsws_liq_eb(j,i) 723 sums_l(nzb,97,tn) = sums_l(nzb,97,tn) + qsws_soil_eb(j,i) 724 sums_l(nzb,98,tn) = sums_l(nzb,98,tn) + qsws_veg_eb(j,i) 719 sums_l(nzb,93,tn) = sums_l(nzb,93,tn) + ghf_eb(j,i) 720 sums_l(nzb,94,tn) = sums_l(nzb,94,tn) + shf_eb(j,i) 721 sums_l(nzb,95,tn) = sums_l(nzb,95,tn) + qsws_eb(j,i) 722 sums_l(nzb,96,tn) = sums_l(nzb,96,tn) + qsws_liq_eb(j,i) 723 sums_l(nzb,97,tn) = sums_l(nzb,97,tn) + qsws_soil_eb(j,i) 724 sums_l(nzb,98,tn) = sums_l(nzb,98,tn) + qsws_veg_eb(j,i) 725 sums_l(nzb,99,tn) = sums_l(nzb,99,tn) + r_a(j,i) 726 sums_l(nzb,100,tn) = sums_l(nzb,100,tn)+ r_s(j,i) 725 727 ENDIF 726 728 727 729 IF ( radiation ) THEN 728 sums_l(nzb, 99,tn) = sums_l(nzb,99,tn) + rad_net(j,i)729 sums_l(nzb,10 0,tn) = sums_l(nzb,100,tn) + rad_sw_in(j,i)730 sums_l(nzb,101,tn) = sums_l(nzb,101,tn) + rad_net(j,i) 731 sums_l(nzb,102,tn) = sums_l(nzb,102,tn) + rad_sw_in(j,i) 730 732 ENDIF 731 733 … … 1293 1295 hom(:,1,91,sr) = sums(:,91) ! m_soil 1294 1296 ! 92 is initial m_soil profile 1295 hom(:,1,93,sr) = sums(:,93) ! ghf_eb 1296 hom(:,1,94,sr) = sums(:,94) ! shf_eb 1297 hom(:,1,95,sr) = sums(:,95) ! qsws_eb 1298 hom(:,1,96,sr) = sums(:,96) ! qsws_liq_eb 1299 hom(:,1,97,sr) = sums(:,97) ! qsws_soil_eb 1300 hom(:,1,98,sr) = sums(:,98) ! qsws_veg_eb 1297 hom(:,1,93,sr) = sums(:,93) ! ghf_eb 1298 hom(:,1,94,sr) = sums(:,94) ! shf_eb 1299 hom(:,1,95,sr) = sums(:,95) ! qsws_eb 1300 hom(:,1,96,sr) = sums(:,96) ! qsws_liq_eb 1301 hom(:,1,97,sr) = sums(:,97) ! qsws_soil_eb 1302 hom(:,1,98,sr) = sums(:,98) ! qsws_veg_eb 1303 hom(:,1,99,sr) = sums(:,99) ! r_a 1304 hom(:,1,100,sr) = sums(:,100) ! r_s 1305 1301 1306 ENDIF 1302 1307 1303 1308 IF ( radiation ) THEN 1304 hom(:,1, 99 ,sr) = sums(:,99)! rad_net1305 hom(:,1,10 0,sr) = sums(:,100) ! rad_sw_in1309 hom(:,1,101 ,sr) = sums(:,101) ! rad_net 1310 hom(:,1,102,sr) = sums(:,102) ! rad_sw_in 1306 1311 ENDIF 1307 1312 … … 1460 1465 ts_value(dots_soil+4,sr) = hom(nzb,1,97,sr) ! qsws_soil_eb 1461 1466 ts_value(dots_soil+5,sr) = hom(nzb,1,98,sr) ! qsws_veg_eb 1467 ts_value(dots_soil+6,sr) = hom(nzb,1,99,sr) ! r_a 1468 ts_value(dots_soil+7,sr) = hom(nzb,1,100,sr) ! r_s 1462 1469 ENDIF 1463 1470 ! … … 3263 3270 ts_value(dots_soil+4,sr) = hom(nzb,1,97,sr) ! qsws_soil_eb 3264 3271 ts_value(dots_soil+5,sr) = hom(nzb,1,98,sr) ! qsws_veg_eb 3272 ts_value(dots_soil+6,sr) = hom(nzb,1,99,sr) ! r_a 3273 ts_value(dots_soil+7,sr) = hom(nzb,1,100,sr) ! r_s 3265 3274 ENDIF 3266 3275 ! -
palm/trunk/SOURCE/land_surface_model.f90
r1554 r1555 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added output of r_a and r_s 23 23 ! 24 24 ! Former revisions: … … 236 236 qsws_veg_eb_av, & !: average of qsws_veg_eb 237 237 r_a, & !: aerodynamic resistance 238 r_a_av, & !: avergae of r_a 238 239 r_canopy, & !: canopy resistance 239 240 r_soil, & !: soil resitance 240 241 r_soil_min, & !: minimum soil resistance 241 r_s, & !: total surface resistance (combination of r_soil and r_canopy) 242 r_s, & !: total surface resistance (combination of r_soil and r_canopy) 243 r_s_av, & !: avergae of r_s 242 244 r_canopy_min, & !: minimum canopy (stomatal) resistance 243 245 shf_eb, & !: surface flux of sensible heat … … 474 476 lai, lai_av, qsws_eb, qsws_eb_av, qsws_liq_eb, qsws_liq_eb_av, & 475 477 qsws_soil_eb, qsws_soil_eb_av, qsws_veg_eb, qsws_veg_eb_av, & 476 shf_eb, shf_eb_av478 r_a, r_a_av, r_s, r_s_av, shf_eb, shf_eb_av 477 479 478 480 … … 888 890 dots_unit(dots_num+1:dots_num+6) = "W/m2" 889 891 892 dots_label(dots_num+7) = "r_a" 893 dots_label(dots_num+8) = "r_s" 894 dots_unit(dots_num+7:dots_num+8) = "s/m" 895 890 896 dots_soil = dots_num + 1 891 dots_num = dots_num + 6897 dots_num = dots_num + 8 892 898 893 899 -
palm/trunk/SOURCE/sum_up_3d_data.f90
r1552 r1555 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Added output of r_a and r_s 23 23 ! 24 24 ! Former revisions: … … 102 102 m_soil_av, nzb_soil, nzt_soil, qsws_eb, qsws_eb_av, & 103 103 qsws_liq_eb, qsws_liq_eb_av, qsws_soil_eb, qsws_soil_eb_av, & 104 qsws_veg_eb, qsws_veg_eb_av, shf_eb, shf_eb_av, t_soil,&105 t_soil_av104 qsws_veg_eb, qsws_veg_eb_av, shf_eb, shf_eb_av, r_a, r_a_av, & 105 r_s, r_s_av, t_soil, t_soil_av 106 106 107 107 USE particle_attributes, & … … 334 334 ENDIF 335 335 rho_av = 0.0_wp 336 337 CASE ( 'r_a*' ) 338 IF ( .NOT. ALLOCATED( r_a_av ) ) THEN 339 ALLOCATE( r_a_av(nysg:nyng,nxlg:nxrg) ) 340 ENDIF 341 r_a_av = 0.0_wp 342 343 CASE ( 'r_s*' ) 344 IF ( .NOT. ALLOCATED( r_s_av ) ) THEN 345 ALLOCATE( r_s_av(nysg:nyng,nxlg:nxrg) ) 346 ENDIF 347 r_s_av = 0.0_wp 336 348 337 349 CASE ( 's' ) … … 724 736 ENDDO 725 737 738 CASE ( 'r_a*' ) 739 DO i = nxlg, nxrg 740 DO j = nysg, nyng 741 r_a_av(j,i) = r_a_av(j,i) + r_a(j,i) 742 ENDDO 743 ENDDO 744 745 CASE ( 'r_s*' ) 746 DO i = nxlg, nxrg 747 DO j = nysg, nyng 748 r_s_av(j,i) = r_s_av(j,i) + r_s(j,i) 749 ENDDO 750 ENDDO 751 726 752 CASE ( 'rho' ) 727 753 DO i = nxlg, nxrg
Note: See TracChangeset
for help on using the changeset viewer.