Changeset 1299 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Mar 6, 2014 1:15:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r1277 r1299 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! enable usage of large_scale subsidence in combination with large_scale_forcing 23 ! output for profile of large scale vertical velocity w_subs added 23 24 ! 24 25 ! Former revisions: … … 1354 1355 ! 1355 1356 !-- Initialize large scale subsidence if required 1356 IF ( subs_vertical_gradient_level(1) /= -9999999.9 ) THEN 1357 large_scale_subsidence = .TRUE. 1358 CALL init_w_subsidence 1359 ENDIF 1357 If ( large_scale_subsidence ) THEN 1358 IF ( subs_vertical_gradient_level(1) /= -9999999.9 .AND. & 1359 .NOT. large_scale_forcing ) THEN 1360 CALL init_w_subsidence 1361 ENDIF 1362 ! 1363 !-- In case large_scale_forcing is used, profiles for subsidence velocity 1364 !-- are read in from file LSF_DATA 1365 1366 IF ( subs_vertical_gradient_level(1) == -9999999.9 .AND. & 1367 .NOT. large_scale_forcing ) THEN 1368 message_string = 'There is no default large scale vertical ' // & 1369 'velocity profile set. Specify the subsidence ' // & 1370 'velocity profile via subs_vertical_gradient and ' // & 1371 'subs_vertical_gradient_level.' 1372 CALL message( 'check_parameters', 'PA0380', 1, 2, 0, 6, 0 ) 1373 ENDIF 1374 ELSE 1375 IF ( subs_vertical_gradient_level(1) /= -9999999.9 ) THEN 1376 message_string = 'Enable usage of large scale subsidence by ' // & 1377 'setting large_scale_subsidence = .T..' 1378 CALL message( 'check_parameters', 'PA0381', 1, 2, 0, 6, 0 ) 1379 ENDIF 1380 ENDIF 1360 1381 1361 1382 ! … … 2723 2744 hom(:,2,79,:) = SPREAD( zu, 2, statistic_regions+1 ) 2724 2745 2746 CASE ( 'w_subs' ) 2747 IF ( .NOT. large_scale_subsidence ) THEN 2748 message_string = 'data_output_pr = ' // & 2749 TRIM( data_output_pr(i) ) // ' is not imp' // & 2750 'lemented for large_scale_subsidence = .FALSE.' 2751 CALL message( 'check_parameters', 'PA0382', 1, 2, 0, 6, 0 ) 2752 ELSE 2753 dopr_index(i) = 80 2754 dopr_unit(i) = 'm/s' 2755 hom(:,2,80,:) = SPREAD( zu, 2, statistic_regions+1 ) 2756 ENDIF 2757 2725 2758 CASE DEFAULT 2726 2759
Note: See TracChangeset
for help on using the changeset viewer.