Changeset 2932 for palm/trunk/SOURCE
- Timestamp:
- Mar 26, 2018 9:39:22 AM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r2918 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed particles_par to particle_parameters 28 ! 29 ! 2918 2018-03-21 15:52:14Z gronemeier 27 30 ! Add check for 1D model 28 31 ! … … 3251 3254 IF ( .NOT. particle_advection ) THEN 3252 3255 message_string = 'output of "' // TRIM( var ) // '" requir' // & 3253 'es a "particle s_par"-NAMELIST in the parameter file (PARIN)'3256 'es a "particle_parameters"-NAMELIST in the parameter file (PARIN)' 3254 3257 CALL message( 'check_parameters', 'PA0104', 1, 2, 0, 6, 0 ) 3255 3258 ENDIF -
palm/trunk/SOURCE/chemistry_model_mod.f90
r2894 r2932 27 27 ! ----------------- 28 28 ! $Id$ 29 ! renamed chemistry_par to chemistry_parameters 30 ! 31 ! 2894 2018-03-15 09:17:58Z Giersch 29 32 ! Calculations of the index range of the subdomain on file which overlaps with 30 33 ! the current subdomain are already done in read_restart_data_mod, … … 600 603 ! 601 604 !-- Set initial concentration of profiles prescribed by parameters cs_profile 602 !-- and cs_heights in the namelist &chemistry_par 605 !-- and cs_heights in the namelist &chemistry_parameters 603 606 !-- (todo (FK): chem_init_profiles not ready yet, has some bugs) 604 607 ! CALL chem_init_profiles … … 780 783 ! Description: 781 784 ! ------------ 782 !> Subroutine defining parin for &chemistry_par for chemistry model785 !> Subroutine defining parin for &chemistry_parameters for chemistry model 783 786 !------------------------------------------------------------------------------! 784 787 SUBROUTINE chem_parin … … 797 800 REAL(wp), DIMENSION(nmaxfixsteps) :: my_steps !< List of fixed timesteps my_step(1) = 0.0 automatic stepping 798 801 799 NAMELIST /chemistry_par / bc_cs_b,&800 bc_cs_t,&801 call_chem_at_all_substeps,&802 chem_debug0,&803 chem_debug1,&804 chem_debug2,&805 chem_gasphase_on,&806 cs_heights,&807 cs_name,&808 cs_profile,&809 cs_profile_name,&810 cs_surface,&811 emiss_factor_main,&812 emiss_factor_side,&813 icntrl,&814 main_street_id,&815 max_street_id,&816 my_steps,&817 rcntrl,&818 side_street_id,&819 photolysis_scheme,&820 wall_csflux,&821 cs_vertical_gradient,&822 top_csflux,&823 surface_csflux,&824 surface_csflux_name,&825 cs_surface_initial_change,&826 cs_vertical_gradient_level802 NAMELIST /chemistry_parameters/ bc_cs_b, & 803 bc_cs_t, & 804 call_chem_at_all_substeps, & 805 chem_debug0, & 806 chem_debug1, & 807 chem_debug2, & 808 chem_gasphase_on, & 809 cs_heights, & 810 cs_name, & 811 cs_profile, & 812 cs_profile_name, & 813 cs_surface, & 814 emiss_factor_main, & 815 emiss_factor_side, & 816 icntrl, & 817 main_street_id, & 818 max_street_id, & 819 my_steps, & 820 rcntrl, & 821 side_street_id, & 822 photolysis_scheme, & 823 wall_csflux, & 824 cs_vertical_gradient, & 825 top_csflux, & 826 surface_csflux, & 827 surface_csflux_name, & 828 cs_surface_initial_change, & 829 cs_vertical_gradient_level 827 830 828 831 !-- analogue to chem_names(nspj) we could invent chem_surfaceflux(nspj) and chem_topflux(nspj) 829 832 !-- so this way we could prescribe a specific flux value for each species 830 !> chemistry_par for initial profiles833 !> chemistry_parameters for initial profiles 831 834 !> cs_names = 'O3', 'NO2', 'NO', ... to set initial profiles) 832 835 !> cs_heights(1,:) = 0.0, 100.0, 500.0, 2000.0, .... (height levels where concs will be prescribed for O3) … … 839 842 !-- Read chem namelist 840 843 !-- (todo: initialize these parameters in declaration part, do this for 841 !-- all chemistry_par namelist parameters)844 !-- all chemistry_parameters namelist parameters) 842 845 icntrl = 0 843 846 rcntrl = 0.0_wp … … 851 854 REWIND ( 11 ) 852 855 line = ' ' 853 DO WHILE ( INDEX( line, '&chemistry_par ' ) == 0 )856 DO WHILE ( INDEX( line, '&chemistry_parameters' ) == 0 ) 854 857 READ ( 11, '(A)', END=10 ) line 855 858 ENDDO … … 857 860 ! 858 861 !-- Read chemistry namelist 859 READ ( 11, chemistry_par )862 READ ( 11, chemistry_parameters ) 860 863 ! 861 864 !-- Enable chemistry model … … 1773 1776 ! 1774 1777 ! ! 1775 ! !-- Writing out input parameters that are not part of chemistry_par namelist1776 ! !-- (namelist parameters are anyway read in again in case of restart)1778 ! !-- Writing out input parameters that are not part of chemistry_parameters 1779 ! !-- namelist (namelist parameters are anyway read in again in case of restart) 1777 1780 ! DO lsp = 1, nvar 1778 1781 ! CALL wrd_write_string( 'conc_pr_init_'//chem_species(lsp)%name ) -
palm/trunk/SOURCE/cpulog_mod.f90
r2718 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed d3par to runtime_parameters 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 116 119 !> ao far. 117 120 !> 118 !> d3par-parameter cpu_log_barrierwait can be used to set an MPI barrier at the119 !> b eginning of the measurement (modus 'start' or 'continue'), to avoid that120 !> idle times (due to MPI calls in the code segment, which are121 !> runtime_parameters-parameter cpu_log_barrierwait can be used to set an MPI 122 !> barrier at the beginning of the measurement (modus 'start' or 'continue'), 123 !> to avoid that idle times (due to MPI calls in the code segment, which are 121 124 !> waiting for other processes to be finished) affect the measurements. 122 125 !> If barriers shall not be used at all, a fourth, optional parameter has to be -
palm/trunk/SOURCE/data_output_profiles.f90
r2718 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed d3par to runtime_parameters 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 140 143 ELSE 141 144 ! 142 !-- This case may happen if dt_dopr is changed in the d3par-list of143 !-- a restart run145 !-- This case may happen if dt_dopr is changed in the 146 !-- runtime_parameters-list of a restart run 144 147 RETURN 145 148 ENDIF -
palm/trunk/SOURCE/gust_mod.f90
r2912 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed gust_par to gust_parameters 28 ! 29 ! 27 30 ! Initial interface definition 28 31 ! 29 32 ! 30 !31 33 ! Description: 32 34 ! ------------ … … 156 158 ! Description: 157 159 ! ------------ 158 !> Parin for &gust_par for gust module160 !> Parin for &gust_parameters for gust module 159 161 !------------------------------------------------------------------------------! 160 162 SUBROUTINE gust_parin … … 165 167 CHARACTER (LEN=80) :: line !< dummy string that contains the current line of the parameter file 166 168 167 NAMELIST /gust_par / &169 NAMELIST /gust_parameters/ & 168 170 gust_module_enabled 169 171 … … 173 175 REWIND ( 11 ) 174 176 line = ' ' 175 DO WHILE ( INDEX( line, '&gust_par ' ) == 0 )177 DO WHILE ( INDEX( line, '&gust_parameters' ) == 0 ) 176 178 READ ( 11, '(A)', END=10 ) line 177 179 ENDDO … … 179 181 ! 180 182 !-- Read user-defined namelist 181 READ ( 11, gust_par )183 READ ( 11, gust_parameters ) 182 184 ! 183 185 !-- Set flag that indicates that the gust module is switched on -
palm/trunk/SOURCE/land_surface_model_mod.f90
r2921 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed lsm_par to land_surface_parameters. Bugfix in message calls 28 ! 29 ! 2921 2018-03-22 15:05:23Z Giersch 27 30 ! The activation of spinup has been moved to parin 28 31 ! … … 1063 1066 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1064 1067 'res land_surface = .TRUE.' 1065 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1068 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1066 1069 ENDIF 1067 1070 unit = 'm3/m3' … … 1071 1074 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1072 1075 'res land_surface = .TRUE.' 1073 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1076 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1074 1077 ENDIF 1075 1078 unit = 'K' … … 1081 1084 TRIM( var ) // '" & only 2d-horizontal ' // & 1082 1085 'cross sections are allowed for this value' 1083 CALL message( ' check_parameters', 'PA0111', 1, 2, 0, 6, 0 )1086 CALL message( 'lsm_check_data_output', 'PA0111', 1, 2, 0, 6, 0 ) 1084 1087 ENDIF 1085 1088 IF ( TRIM( var ) == 'lai*' .AND. .NOT. land_surface ) THEN 1086 1089 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1087 1090 'res land_surface = .TRUE.' 1088 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1091 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1089 1092 ENDIF 1090 1093 IF ( TRIM( var ) == 'c_liq*' .AND. .NOT. land_surface ) THEN 1091 1094 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1092 1095 'res land_surface = .TRUE.' 1093 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1096 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1094 1097 ENDIF 1095 1098 IF ( TRIM( var ) == 'c_soil*' .AND. .NOT. land_surface ) THEN 1096 1099 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1097 1100 'res land_surface = .TRUE.' 1098 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1101 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1099 1102 ENDIF 1100 1103 IF ( TRIM( var ) == 'c_veg*' .AND. .NOT. land_surface ) THEN 1101 1104 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1102 1105 'res land_surface = .TRUE.' 1103 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1106 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1104 1107 ENDIF 1105 1108 IF ( TRIM( var ) == 'm_liq*' .AND. .NOT. land_surface ) THEN 1106 1109 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1107 1110 'res land_surface = .TRUE.' 1108 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1111 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1109 1112 ENDIF 1110 1113 IF ( TRIM( var ) == 'qsws_liq*' .AND. .NOT. land_surface ) & … … 1112 1115 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1113 1116 'res land_surface = .TRUE.' 1114 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1117 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1115 1118 ENDIF 1116 1119 IF ( TRIM( var ) == 'qsws_soil*' .AND. .NOT. land_surface ) & … … 1118 1121 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1119 1122 'res land_surface = .TRUE.' 1120 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1123 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1121 1124 ENDIF 1122 1125 IF ( TRIM( var ) == 'qsws_veg*' .AND. .NOT. land_surface ) & … … 1124 1127 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1125 1128 'res land_surface = .TRUE.' 1126 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1129 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1127 1130 ENDIF 1128 1131 IF ( TRIM( var ) == 'r_s*' .AND. .NOT. land_surface ) & … … 1130 1133 message_string = 'output of "' // TRIM( var ) // '" requi' // & 1131 1134 'res land_surface = .TRUE.' 1132 CALL message( ' check_parameters', 'PA0404', 1, 2, 0, 6, 0 )1135 CALL message( 'lsm_check_data_output', 'PA0404', 1, 2, 0, 6, 0 ) 1133 1136 ENDIF 1134 1137 … … 1185 1188 TRIM( data_output_pr(var_count) ) // ' is' // & 1186 1189 'not implemented for land_surface = .FALSE.' 1187 CALL message( ' check_parameters', 'PA0402', 1, 2, 0, 6, 0 )1190 CALL message( 'lsm_check_data_output_pr', 'PA0402', 1, 2, 0, 6, 0 ) 1188 1191 ELSE 1189 1192 dopr_index(var_count) = 89 … … 1203 1206 TRIM( data_output_pr(var_count) ) // ' is' // & 1204 1207 ' not implemented for land_surface = .FALSE.' 1205 CALL message( ' check_parameters', 'PA0402', 1, 2, 0, 6, 0 )1208 CALL message( 'lsm_check_data_output_pr', 'PA0402', 1, 2, 0, 6, 0 ) 1206 1209 ELSE 1207 1210 dopr_index(var_count) = 91 … … 1251 1254 message_string = 'unknown surface type surface_type = "' // & 1252 1255 TRIM( surface_type ) // '"' 1253 CALL message( ' check_parameters', 'PA0019', 1, 2, 0, 6, 0 )1256 CALL message( 'lsm_check_parameters', 'PA0019', 1, 2, 0, 6, 0 ) 1254 1257 ENDIF 1255 1258 … … 1262 1265 'bc_pt_b = "dirichlet" and '// & 1263 1266 'bc_q_b = "dirichlet"' 1264 CALL message( ' check_parameters', 'PA0399', 1, 2, 0, 6, 0 )1267 CALL message( 'lsm_check_parameters', 'PA0399', 1, 2, 0, 6, 0 ) 1265 1268 ENDIF 1266 1269 … … 1268 1271 message_string = 'lsm requires '// & 1269 1272 'constant_flux_layer = .T.' 1270 CALL message( ' check_parameters', 'PA0400', 1, 2, 0, 6, 0 )1273 CALL message( 'lsm_check_parameters', 'PA0400', 1, 2, 0, 6, 0 ) 1271 1274 ENDIF 1272 1275 … … 1278 1281 'requires setting of min_canopy_resistance'// & 1279 1282 '/= 9999999.9' 1280 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1283 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1281 1284 ENDIF 1282 1285 … … 1285 1288 'requires setting of leaf_area_index'// & 1286 1289 '/= 9999999.9' 1287 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1290 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1288 1291 ENDIF 1289 1292 … … 1292 1295 'requires setting of vegetation_coverage'// & 1293 1296 '/= 9999999.9' 1294 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1297 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1295 1298 ENDIF 1296 1299 … … 1299 1302 'requires setting of'// & 1300 1303 'canopy_resistance_coefficient /= 9999999.9' 1301 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1304 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1302 1305 ENDIF 1303 1306 … … 1306 1309 'requires setting of lambda_surface_stable'// & 1307 1310 '/= 9999999.9' 1308 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1311 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1309 1312 ENDIF 1310 1313 … … 1313 1316 'requires setting of lambda_surface_unstable'// & 1314 1317 '/= 9999999.9' 1315 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1318 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1316 1319 ENDIF 1317 1320 … … 1320 1323 'requires setting of f_shortwave_incoming'// & 1321 1324 '/= 9999999.9' 1322 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1325 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1323 1326 ENDIF 1324 1327 … … 1327 1330 'requires setting of z0_vegetation'// & 1328 1331 '/= 9999999.9' 1329 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1332 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1330 1333 ENDIF 1331 1334 … … 1334 1337 'requires setting of z0h_vegetation'// & 1335 1338 '/= 9999999.9' 1336 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1339 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1337 1340 ENDIF 1338 1341 ENDIF … … 1343 1346 message_string = 'vegetation_type = 1 (bare soil)'// & 1344 1347 ' requires vegetation_coverage = 0' 1345 CALL message( ' check_parameters', 'PA0471', 1, 2, 0, 6, 0 )1348 CALL message( 'lsm_check_parameters', 'PA0471', 1, 2, 0, 6, 0 ) 1346 1349 ENDIF 1347 1350 ENDIF … … 1355 1358 ' is not allowed in combination with ', & 1356 1359 'most_method = ', most_method 1357 CALL message( ' check_parameters', 'PA0417', 1, 2, 0, 6, 0 )1360 CALL message( 'lsm_check_parameters', 'PA0417', 1, 2, 0, 6, 0 ) 1358 1361 ENDIF 1359 1362 … … 1364 1367 'requires setting of z0_water'// & 1365 1368 '/= 9999999.9' 1366 CALL message( ' check_parameters', 'PA0415', 1, 2, 0, 6, 0 )1369 CALL message( 'lsm_check_parameters', 'PA0415', 1, 2, 0, 6, 0 ) 1367 1370 ENDIF 1368 1371 … … 1371 1374 'requires setting of z0h_water'// & 1372 1375 '/= 9999999.9' 1373 CALL message( ' check_parameters', 'PA0392', 1, 2, 0, 6, 0 )1376 CALL message( 'lsm_check_parameters', 'PA0392', 1, 2, 0, 6, 0 ) 1374 1377 ENDIF 1375 1378 … … 1378 1381 'requires setting of water_temperature'// & 1379 1382 '/= 9999999.9' 1380 CALL message( ' check_parameters', 'PA0379', 1, 2, 0, 6, 0 )1383 CALL message( 'lsm_check_parameters', 'PA0379', 1, 2, 0, 6, 0 ) 1381 1384 ENDIF 1382 1385 … … 1390 1393 message_string = 'non-default setting of dz_soil '// & 1391 1394 'does not allow to use pavement_type /= 0)' 1392 CALL message( ' check_parameters', 'PA0341', 1, 2, 0, 6, 0 )1395 CALL message( 'lsm_check_parameters', 'PA0341', 1, 2, 0, 6, 0 ) 1393 1396 ENDIF 1394 1397 … … 1399 1402 'requires setting of z0_pavement'// & 1400 1403 '/= 9999999.9' 1401 CALL message( ' check_parameters', 'PA0352', 1, 2, 0, 6, 0 )1404 CALL message( 'lsm_check_parameters', 'PA0352', 1, 2, 0, 6, 0 ) 1402 1405 ENDIF 1403 1406 … … 1406 1409 'requires setting of z0h_pavement'// & 1407 1410 '/= 9999999.9' 1408 CALL message( ' check_parameters', 'PA0353', 1, 2, 0, 6, 0 )1411 CALL message( 'lsm_check_parameters', 'PA0353', 1, 2, 0, 6, 0 ) 1409 1412 ENDIF 1410 1413 … … 1413 1416 'requires setting of pavement_heat_conduct'// & 1414 1417 '/= 9999999.9' 1415 CALL message( ' check_parameters', 'PA0342', 1, 2, 0, 6, 0 )1418 CALL message( 'lsm_check_parameters', 'PA0342', 1, 2, 0, 6, 0 ) 1416 1419 ENDIF 1417 1420 … … 1420 1423 'requires setting of pavement_heat_capacity'// & 1421 1424 '/= 9999999.9' 1422 CALL message( ' check_parameters', 'PA0139', 1, 2, 0, 6, 0 )1425 CALL message( 'lsm_check_parameters', 'PA0139', 1, 2, 0, 6, 0 ) 1423 1426 ENDIF 1424 1427 … … 1427 1430 'requires setting of pavement_depth_level'// & 1428 1431 '/= 0' 1429 CALL message( ' check_parameters', 'PA0474', 1, 2, 0, 6, 0 )1432 CALL message( 'lsm_check_parameters', 'PA0474', 1, 2, 0, 6, 0 ) 1430 1433 ENDIF 1431 1434 … … 1440 1443 'combination with most_method = ', & 1441 1444 TRIM( most_method ) 1442 CALL message( ' check_parameters', 'PA0999', 2, 2, 0, 6, 0 )1445 CALL message( 'lsm_check_parameters', 'PA0999', 2, 2, 0, 6, 0 ) 1443 1446 ENDIF 1444 1447 ! … … 1449 1452 message_string = 'pavement-surfaces are not allowed in ' // & 1450 1453 'combination with a non-default setting of dz_soil' 1451 CALL message( ' check_parameters', 'PA0999', 2, 2, 0, 6, 0 )1454 CALL message( 'lsm_check_parameters', 'PA0999', 2, 2, 0, 6, 0 ) 1452 1455 ENDIF 1453 1456 ENDIF … … 1458 1461 THEN 1459 1462 message_string = 'surface_type = netcdf requires static input file.' 1460 CALL message( ' check_parameters', 'PA0465', 1, 2, 0, 6, 0 )1463 CALL message( 'lsm_check_parameters', 'PA0465', 1, 2, 0, 6, 0 ) 1461 1464 ENDIF 1462 1465 … … 1467 1470 'requires setting of alpha_vangenuchten'// & 1468 1471 '/= 9999999.9' 1469 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1472 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1470 1473 ENDIF 1471 1474 … … 1474 1477 'requires setting of l_vangenuchten'// & 1475 1478 '/= 9999999.9' 1476 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1479 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1477 1480 ENDIF 1478 1481 … … 1481 1484 'requires setting of n_vangenuchten'// & 1482 1485 '/= 9999999.9' 1483 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1486 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1484 1487 ENDIF 1485 1488 … … 1488 1491 'requires setting of hydraulic_conductivity'// & 1489 1492 '/= 9999999.9' 1490 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1493 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1491 1494 ENDIF 1492 1495 … … 1495 1498 'requires setting of saturation_moisture'// & 1496 1499 '/= 9999999.9' 1497 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1500 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1498 1501 ENDIF 1499 1502 … … 1502 1505 'requires setting of field_capacity'// & 1503 1506 '/= 9999999.9' 1504 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1507 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1505 1508 ENDIF 1506 1509 … … 1509 1512 'requires setting of wilting_point'// & 1510 1513 '/= 9999999.9' 1511 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1514 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1512 1515 ENDIF 1513 1516 … … 1516 1519 'requires setting of residual_moisture'// & 1517 1520 '/= 9999999.9' 1518 CALL message( ' check_parameters', 'PA0403', 1, 2, 0, 6, 0 )1521 CALL message( 'lsm_check_parameters', 'PA0403', 1, 2, 0, 6, 0 ) 1519 1522 ENDIF 1520 1523 … … 1548 1551 ' in soil_temperature (', COUNT( & 1549 1552 soil_temperature /= 9999999.9_wp ), ')' 1550 CALL message( ' check_parameters', 'PA0471', 1, 2, 0, 6, 0 )1553 CALL message( 'lsm_check_parameters', 'PA0471', 1, 2, 0, 6, 0 ) 1551 1554 ENDIF 1552 1555 … … 1554 1557 message_string = 'deep_soil_temperature is not set but must be'// & 1555 1558 '/= 9999999.9' 1556 CALL message( ' check_parameters', 'PA0472', 1, 2, 0, 6, 0 )1559 CALL message( 'lsm_check_parameters', 'PA0472', 1, 2, 0, 6, 0 ) 1557 1560 ENDIF 1558 1561 … … 1564 1567 'requires setting of root_fraction'// & 1565 1568 '/= 9999999.9 and SUM(root_fraction) = 1' 1566 CALL message( ' check_parameters', 'PA0401', 1, 2, 0, 6, 0 )1569 CALL message( 'lsm_check_parameters', 'PA0401', 1, 2, 0, 6, 0 ) 1567 1570 ENDIF 1568 1571 ENDIF … … 1576 1579 message_string = 'soil_moisture must not exceed its saturation' // & 1577 1580 ' value' 1578 CALL message( ' check_parameters', 'PA0458', 1, 2, 0, 6, 0 )1581 CALL message( 'lsm_check_parameters', 'PA0458', 1, 2, 0, 6, 0 ) 1579 1582 ENDIF 1580 1583 ENDDO … … 4538 4541 SUBROUTINE lsm_parin 4539 4542 4543 USE control_parameters, & 4544 ONLY: message_string 4540 4545 4541 4546 IMPLICIT NONE … … 4569 4574 z0h_water, z0q_water, z0_pavement, & 4570 4575 z0h_pavement, z0q_pavement 4571 4576 4577 NAMELIST /land_surface_parameters/ & 4578 alpha_vangenuchten, c_surface, & 4579 canopy_resistance_coefficient, & 4580 constant_roughness, & 4581 conserve_water_content, & 4582 deep_soil_temperature, & 4583 dz_soil, & 4584 f_shortwave_incoming, field_capacity, & 4585 aero_resist_kray, hydraulic_conductivity, & 4586 lambda_surface_stable, & 4587 lambda_surface_unstable, leaf_area_index, & 4588 l_vangenuchten, min_canopy_resistance, & 4589 min_soil_resistance, n_vangenuchten, & 4590 pavement_depth_level, & 4591 pavement_heat_capacity, & 4592 pavement_heat_conduct, pavement_type, & 4593 residual_moisture, root_fraction, & 4594 saturation_moisture, skip_time_do_lsm, & 4595 soil_moisture, soil_temperature, & 4596 soil_type, & 4597 surface_type, & 4598 vegetation_coverage, vegetation_type, & 4599 water_temperature, water_type, & 4600 wilting_point, z0_vegetation, & 4601 z0h_vegetation, z0q_vegetation, z0_water, & 4602 z0h_water, z0q_water, z0_pavement, & 4603 z0h_pavement, z0q_pavement 4604 4572 4605 line = ' ' 4573 4606 4574 4607 ! 4575 4608 !-- Try to find land surface model package 4576 4609 REWIND ( 11 ) 4577 4610 line = ' ' 4578 DO WHILE ( INDEX( line, '&l sm_par' ) == 0 )4611 DO WHILE ( INDEX( line, '&land_surface_parameters' ) == 0 ) 4579 4612 READ ( 11, '(A)', END=10 ) line 4580 4613 ENDDO … … 4583 4616 ! 4584 4617 !-- Read user-defined namelist 4585 READ ( 11, l sm_par)4618 READ ( 11, land_surface_parameters ) 4586 4619 4587 4620 ! 4588 4621 !-- Set flag that indicates that the land surface model is switched on 4589 4622 land_surface = .TRUE. 4590 4591 4592 10 CONTINUE 4623 4624 GOTO 12 4625 ! 4626 !-- Try to find old namelist 4627 10 REWIND ( 11 ) 4628 line = ' ' 4629 DO WHILE ( INDEX( line, '&lsm_par' ) == 0 ) 4630 READ ( 11, '(A)', END=12 ) line 4631 ENDDO 4632 BACKSPACE ( 11 ) 4633 4634 ! 4635 !-- Read user-defined namelist 4636 READ ( 11, lsm_par ) 4637 4638 message_string = 'namelist lsm_par is deprecated and will be ' // & 4639 'removed in near future. Please &use namelist ' // & 4640 'land_surface_parameters instead' 4641 CALL message( 'lsm_parin', 'PA0487', 0, 1, 0, 6, 0 ) 4642 4643 ! 4644 !-- Set flag that indicates that the land surface model is switched on 4645 land_surface = .TRUE. 4646 4647 4648 12 CONTINUE 4593 4649 4594 4650 -
palm/trunk/SOURCE/lpm_splitting.f90
r2718 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed particles_par to particle_parameters 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 167 170 !-- a critical radius (radius_split) a critical weighting factor 168 171 !-- (weight_factor_split) and a splitting factor (splitting_factor) 169 !-- must be prescribed (see particle s_par). Super droplets which170 !-- have a larger radius and larger weighting factor are split into171 !-- 'splitting_factor' super droplets. Therefore, the weighting172 !-- must be prescribed (see particle_parameters). Super droplets 173 !-- which have a larger radius and larger weighting factor are split 174 !-- into 'splitting_factor' super droplets. Therefore, the weighting 172 175 !-- factor of the super droplet and all created clones is reduced 173 176 !-- by the factor of 'splitting_factor'. -
palm/trunk/SOURCE/message.f90
r2718 r2932 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! 23 23 ! 24 24 ! Former revisions: -
palm/trunk/SOURCE/netcdf_interface_mod.f90
r2817 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Renamed inipar to initialization_parameters. 28 ! 29 ! 2817 2018-02-19 16:32:21Z knoop 27 30 ! Preliminary gust module interface implemented 28 31 ! … … 682 685 683 686 CASE DEFAULT 684 WRITE ( message_string, * ) 'unknown variable in inipar ', & 685 'assignment: netcdf_precision(', i, ')="', & 687 WRITE ( message_string, * ) 'unknown variable in ' // & 688 'initialization_parameters ', & 689 'assignment: netcdf_precision(', i, ')="', & 686 690 TRIM( netcdf_precision(i) ),'"' 687 691 CALL message( 'netcdf_define_header', 'PA0243', 1, 2, 0, 6, 0 ) -
palm/trunk/SOURCE/package_parin.f90
r2718 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed particles_par to particle_parameters 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 157 160 158 161 USE control_parameters, & 159 ONLY: dt_data_output, dt_dopts, dt_dvrp, particle_maximum_age,&160 threshold162 ONLY: dt_data_output, dt_dopts, dt_dvrp, message_string, & 163 particle_maximum_age, threshold 161 164 162 165 USE dvrp_variables, & … … 249 252 write_particle_statistics 250 253 254 255 NAMELIST /particle_parameters/ & 256 aero_species, aero_type, aero_weight, & 257 alloc_factor, bc_par_b, bc_par_lr, & 258 bc_par_ns, bc_par_t, & 259 collision_kernel, curvature_solution_effects,& 260 deallocate_memory, density_ratio, & 261 dissipation_classes, dt_dopts, & 262 dt_min_part, dt_prel, & 263 dt_write_particle_data, & 264 end_time_prel, initial_weighting_factor, & 265 log_sigma, & 266 max_number_particles_per_gridbox, merging, & 267 min_nr_particle, & 268 na, number_concentration, & 269 number_of_particle_groups, & 270 number_particles_per_gridbox, & 271 particles_per_point, & 272 particle_advection_start, & 273 particle_maximum_age, pdx, pdy, pdz, psb, & 274 psl, psn, psr, pss, pst, radius, & 275 radius_classes, radius_merge, radius_split, & 276 random_start_position, & 277 read_particles_from_restartfile, rm, & 278 seed_follows_topography, & 279 splitting, splitting_factor, & 280 splitting_factor_max, splitting_function, & 281 splitting_mode, step_dealloc, & 282 use_sgs_for_particles, & 283 vertical_particle_advection, & 284 weight_factor_merge, weight_factor_split, & 285 write_particle_statistics 251 286 ! 252 287 !-- Position the namelist-file at the beginning (it was already opened in … … 275 310 REWIND ( 11 ) 276 311 line = ' ' 277 DO WHILE ( INDEX( line, '&particle s_par' ) == 0 )312 DO WHILE ( INDEX( line, '&particle_parameters' ) == 0 ) 278 313 READ ( 11, '(A)', END=30 ) line 279 314 ENDDO … … 282 317 ! 283 318 !-- Read user-defined namelist 284 READ ( 11, particle s_par)319 READ ( 11, particle_parameters ) 285 320 286 321 ! 287 322 !-- Set flag that indicates that particles are switched on 288 323 particle_advection = .TRUE. 289 290 30 CONTINUE 324 325 GOTO 31 326 327 ! 328 !-- Try to find particles package (old namelist) 329 30 REWIND ( 11 ) 330 line = ' ' 331 DO WHILE ( INDEX( line, '&particles_par' ) == 0 ) 332 READ ( 11, '(A)', END=31 ) line 333 ENDDO 334 BACKSPACE ( 11 ) 335 336 ! 337 !-- Read user-defined namelist 338 READ ( 11, particles_par ) 339 340 341 message_string = 'namelist particles_par is deprecated and will be ' // & 342 'removed in near future. Please &use namelist ' // & 343 'particle_parameters instead' 344 CALL message( 'package_parin', 'PA0487', 0, 1, 0, 6, 0 ) 345 346 ! 347 !-- Set flag that indicates that particles are switched on 348 particle_advection = .TRUE. 349 350 31 CONTINUE 291 351 292 352 END SUBROUTINE package_parin -
palm/trunk/SOURCE/parin.f90
r2921 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! inipar renamed to initialization_parameters. 28 ! d3par renamed to runtime_parameters. 29 ! 30 ! 2921 2018-03-22 15:05:23Z Giersch 27 31 ! Activation of spinup has been moved from lsm/usm_parin to parin itself 28 32 ! … … 523 527 wall_salinityflux, wall_scalarflux, y_shift, zeta_max, zeta_min, & 524 528 z0h_factor 525 529 530 NAMELIST /initialization_parameters/ aerosol_bulk, alpha_surface, & 531 approximation, bc_e_b, & 532 bc_lr, bc_ns, bc_p_b, bc_p_t, bc_pt_b, bc_pt_t, bc_q_b, & 533 bc_q_t,bc_s_b, bc_s_t, bc_sa_t, bc_uv_b, bc_uv_t, & 534 bottom_salinityflux, building_height, building_length_x, & 535 building_length_y, building_wall_left, building_wall_south, & 536 calc_soil_moisture_during_spinup, & 537 call_psolver_at_all_substeps, call_microphysics_at_all_substeps, & 538 canyon_height, & 539 canyon_width_x, canyon_width_y, canyon_wall_left, & 540 canyon_wall_south, c_sedimentation, cfl_factor, cloud_droplets, & 541 cloud_physics, cloud_scheme, cloud_top_radiation, & 542 cloud_water_sedimentation, & 543 collective_wait, collision_turbulence, complex_terrain, & 544 conserve_volume_flow, & 545 conserve_volume_flow_mode, constant_flux_layer, & 546 coupling_start_time, curvature_solution_effects_bulk, & 547 cycle_mg, damp_level_1d, & 548 data_output_during_spinup, & 549 day_of_year_init, & 550 dissipation_1d, & 551 dp_external, dp_level_b, dp_smooth, dpdxy, dry_aerosol_radius, & 552 dt, dt_pr_1d, dt_run_control_1d, dt_spinup, dx, dy, dz, dz_max, & 553 dz_stretch_factor, dz_stretch_level, end_time_1d, & 554 ensemble_member_nr, e_init, e_min, fft_method, & 555 flux_input_mode, flux_output_mode, forcing, & 556 galilei_transformation, humidity, & 557 inflow_damping_height, inflow_damping_width, & 558 inflow_disturbance_begin, inflow_disturbance_end, & 559 initializing_actions, km_constant, & 560 large_scale_forcing, large_scale_subsidence, latitude, & 561 limiter_sedimentation, longitude, & 562 loop_optimization, lsf_exception, masking_method, mg_cycles, & 563 mg_switch_to_pe0_level, mixing_length_1d, momentum_advec, & 564 most_method, na_init, nc_const, netcdf_precision, neutral, ngsrb, & 565 nsor, nsor_ini, nudging, nx, ny, nz, ocean, omega, omega_sor, & 566 outflow_source_plane, passive_scalar, & 567 prandtl_number, precipitation, psolver, pt_damping_factor, & 568 pt_damping_width, pt_reference, pt_surface, & 569 pt_surface_initial_change, pt_vertical_gradient, & 570 pt_vertical_gradient_level, q_surface, q_surface_initial_change, & 571 q_vertical_gradient, q_vertical_gradient_level, & 572 random_generator, random_heatflux, rans_mode, & 573 rayleigh_damping_factor, rayleigh_damping_height, & 574 recycling_width, recycling_yshift, & 575 reference_state, residual_limit, & 576 roughness_length, sa_surface, & 577 sa_vertical_gradient, sa_vertical_gradient_level, scalar_advec, & 578 scalar_rayleigh_damping, sigma_bulk, & 579 spinup_time, spinup_pt_amplitude, spinup_pt_mean, & 580 statistic_regions, subs_vertical_gradient, & 581 subs_vertical_gradient_level, surface_heatflux, surface_pressure, & 582 surface_scalarflux, surface_waterflux, & 583 s_surface, s_surface_initial_change, s_vertical_gradient, & 584 s_vertical_gradient_level, time_utc_init, timestep_scheme, & 585 topography, topography_grid_convention, top_heatflux, & 586 top_momentumflux_u, top_momentumflux_v, top_salinityflux, & 587 top_scalarflux, transpose_compute_overlap, & 588 tunnel_height, tunnel_length, tunnel_width_x, tunnel_width_y, & 589 tunnel_wall_depth, turbulence_closure, & 590 turbulent_inflow, turbulent_outflow, & 591 use_subsidence_tendencies, ug_surface, ug_vertical_gradient, & 592 ug_vertical_gradient_level, use_surface_fluxes, use_cmax, & 593 use_top_fluxes, use_ug_for_galilei_tr, use_upstream_for_tke, & 594 uv_heights, u_bulk, u_profile, vg_surface, vg_vertical_gradient, & 595 vg_vertical_gradient_level, v_bulk, v_profile, ventilation_effect,& 596 wall_adjustment, wall_heatflux, wall_humidityflux, & 597 wall_salinityflux, wall_scalarflux, y_shift, zeta_max, zeta_min, & 598 z0h_factor 599 526 600 NAMELIST /d3par/ averaging_interval, averaging_interval_pr, & 527 601 cpu_log_barrierwait, create_disturbances, & … … 545 619 termination_time_needed, vnest_start_time, z_max_do2d 546 620 621 NAMELIST /runtime_parameters/ averaging_interval, averaging_interval_pr, & 622 cpu_log_barrierwait, create_disturbances, & 623 cross_profiles, data_output, data_output_masks, & 624 data_output_pr, data_output_2d_on_each_pe, disturbance_amplitude, & 625 disturbance_energy_limit, disturbance_level_b, & 626 disturbance_level_t, do2d_at_begin, do3d_at_begin, & 627 dt, dt_averaging_input, dt_averaging_input_pr, & 628 dt_coupling, dt_data_output, dt_data_output_av, dt_disturb, & 629 dt_domask, dt_dopr, dt_dopr_listing, dt_dots, dt_do2d_xy, & 630 dt_do2d_xz, dt_do2d_yz, dt_do3d, dt_max, dt_restart, & 631 dt_run_control,end_time, force_print_header, mask_scale_x, & 632 mask_scale_y, mask_scale_z, mask_x, mask_y, mask_z, mask_x_loop, & 633 mask_y_loop, mask_z_loop, netcdf_data_format, netcdf_deflate, & 634 normalizing_region, npex, npey, nz_do3d, & 635 precipitation_amount_interval, profile_columns, profile_rows, & 636 restart_time, section_xy, section_xz, section_yz, & 637 skip_time_data_output, skip_time_data_output_av, skip_time_dopr, & 638 skip_time_do2d_xy, skip_time_do2d_xz, skip_time_do2d_yz, & 639 skip_time_do3d, skip_time_domask, synchronous_exchange, & 640 termination_time_needed, vnest_start_time, z_max_do2d 547 641 548 642 NAMELIST /envpar/ batch_job, host, local_dvrserver_running, & … … 617 711 !-- Read the control parameters for initialization. 618 712 !-- The namelist "inipar" must be provided in the NAMELIST-file. 619 READ ( 11, ini par, ERR=10, END=11 )713 READ ( 11, initialization_parameters, ERR=10, END=11 ) 620 714 621 715 GOTO 12 622 716 623 10 message_string = 'errors in \$inipar &or no \$inipar-namelist ' // & 717 10 message_string = 'errors in initialization_parameters &or no ' // & 718 'initialization_parameters-namelist ' // & 624 719 'found (CRAY-machines only)' 625 720 CALL message( 'parin', 'PA0271', 1, 2, 0, 6, 0 ) 626 721 627 11 message_string = 'no \$inipar-namelist found' 722 11 REWIND ( 11 ) 723 READ ( 11, inipar, ERR=13, END=14 ) 724 725 message_string = 'namelist inipar is deprecated and will be ' // & 726 'removed in near future. Please &use namelist ' // & 727 'initialization_parameters instead' 728 CALL message( 'parin', 'PA0272', 0, 1, 0, 6, 0 ) 729 730 GOTO 12 731 732 13 message_string = 'errors in inipar &or no inipar-namelist ' // & 733 'found (CRAY-machines only)' 734 CALL message( 'parin', 'PA0271', 1, 2, 0, 6, 0 ) 735 736 14 message_string = 'no initialization_parameters-namelist found' 628 737 CALL message( 'parin', 'PA0272', 1, 2, 0, 6, 0 ) 629 738 630 739 ! 631 740 !-- Try to read runtime parameters given by the user for this run 632 !-- (namelist "d3par"). The namelist "d3par" can be omitted. In that case 633 !-- default values are used for the parameters. 741 !-- (namelist "runtime_parameters"). The namelist "runtime_parmeters" 742 !-- can be omitted. In that case default values are used for the 743 !-- parameters. 634 744 12 line = ' ' 635 745 636 746 REWIND ( 11 ) 637 747 line = ' ' 638 DO WHILE ( INDEX( line, '& d3par' ) == 0 )748 DO WHILE ( INDEX( line, '&runtime_parameters' ) == 0 ) 639 749 READ ( 11, '(A)', END=20 ) line 640 750 ENDDO … … 643 753 ! 644 754 !-- Read namelist 755 READ ( 11, runtime_parameters ) 756 757 GOTO 21 758 759 20 REWIND ( 11 ) 760 line = ' ' 761 DO WHILE ( INDEX( line, '&d3par' ) == 0 ) 762 READ ( 11, '(A)', END=21 ) line 763 ENDDO 764 BACKSPACE ( 11 ) 765 766 ! 767 !-- Read namelist 645 768 READ ( 11, d3par ) 646 647 20 CONTINUE 769 770 message_string = 'namelist d3par is deprecated and will be ' // & 771 'removed in near future. Please &use namelist ' // & 772 'runtime_parameters instead' 773 CALL message( 'parin', 'PA0487', 0, 1, 0, 6, 0 ) 774 775 21 CONTINUE 648 776 649 777 ! -
palm/trunk/SOURCE/plant_canopy_model_mod.f90
r2920 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed canopy_par to plant_canopy_parameters 28 ! 29 ! 2920 2018-03-22 11:22:01Z kanani 27 30 ! Move usm_lad_rma and prototype_lad to radiation_model (moh.hefny) 28 31 ! … … 945 948 ! Description: 946 949 ! ------------ 947 !> Parin for & canopy_parfor plant canopy model950 !> Parin for &plant_canopy_parameters for plant canopy model 948 951 !------------------------------------------------------------------------------! 949 952 SUBROUTINE pcm_parin 950 953 951 954 USE control_parameters, & 952 ONLY: plant_canopy955 ONLY: message_string, plant_canopy 953 956 954 957 IMPLICIT NONE … … 956 959 CHARACTER (LEN=80) :: line !< dummy string that contains the current line of the parameter file 957 960 961 NAMELIST /plant_canopy_parameters/ & 962 alpha_lad, beta_lad, canopy_drag_coeff, & 963 canopy_mode, cthf, & 964 lad_surface, & 965 lad_vertical_gradient, & 966 lad_vertical_gradient_level, & 967 lai_beta, & 968 leaf_scalar_exch_coeff, & 969 leaf_surface_conc, pch_index 970 958 971 NAMELIST /canopy_par/ alpha_lad, beta_lad, canopy_drag_coeff, & 959 972 canopy_mode, cthf, & … … 964 977 leaf_scalar_exch_coeff, & 965 978 leaf_surface_conc, pch_index 966 979 967 980 line = ' ' 968 981 … … 971 984 REWIND ( 11 ) 972 985 line = ' ' 973 DO WHILE ( INDEX( line, '& canopy_par' ) == 0 )986 DO WHILE ( INDEX( line, '&plant_canopy_parameters' ) == 0 ) 974 987 READ ( 11, '(A)', END=10 ) line 975 988 ENDDO … … 978 991 ! 979 992 !-- Read user-defined namelist 980 READ ( 11, canopy_par)993 READ ( 11, plant_canopy_parameters ) 981 994 982 995 ! 983 996 !-- Set flag that indicates that the radiation model is switched on 984 997 plant_canopy = .TRUE. 985 986 10 CONTINUE 998 999 GOTO 12 1000 ! 1001 !-- Try to find old namelist 1002 10 REWIND ( 11 ) 1003 line = ' ' 1004 DO WHILE ( INDEX( line, '&canopy_par' ) == 0 ) 1005 READ ( 11, '(A)', END=12 ) line 1006 ENDDO 1007 BACKSPACE ( 11 ) 1008 1009 ! 1010 !-- Read user-defined namelist 1011 READ ( 11, canopy_par ) 1012 1013 message_string = 'namelist canopy_par is deprecated and will be ' // & 1014 'removed in near future. Please &use namelist ' // & 1015 'plant_canopy_parameters instead' 1016 CALL message( 'pcm_parin', 'PA0487', 0, 1, 0, 6, 0 ) 1017 1018 ! 1019 !-- Set flag that indicates that the radiation model is switched on 1020 plant_canopy = .TRUE. 1021 1022 12 CONTINUE 987 1023 988 1024 -
palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
r2841 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! nestpar renamed to nesting_parameters 28 ! 29 ! 2841 2018-02-27 15:02:57Z knoop 27 30 ! Bugfix: wrong placement of include 'mpif.h' corrected 28 31 ! … … 146 149 147 150 INTEGER, PARAMETER, PUBLIC :: pmc_error_npes = 1 !< illegal number of processes 148 INTEGER, PARAMETER, PUBLIC :: pmc_namelist_error = 2 !< error(s) in nest parnamelist151 INTEGER, PARAMETER, PUBLIC :: pmc_namelist_error = 2 !< error(s) in nesting_parameters namelist 149 152 INTEGER, PARAMETER, PUBLIC :: pmc_no_namelist_found = 3 !< no couple layout namelist found 150 153 … … 152 155 INTEGER :: m_my_cpl_id !< coupler id of this model 153 156 INTEGER :: m_parent_id !< coupler id of parent of this model 154 INTEGER :: m_ncpl !< number of couplers given in nest parnamelist157 INTEGER :: m_ncpl !< number of couplers given in nesting_parameters namelist 155 158 156 159 TYPE(pmc_layout), PUBLIC, DIMENSION(pmc_max_models) :: m_couplers !< information of all couplers … … 268 271 !-- comm2d have not yet been assigned at this point. 269 272 IF ( m_world_rank == 0 ) THEN 270 message_string = 'errors in \$nest par'273 message_string = 'errors in \$nesting_parameters' 271 274 CALL message( 'pmc_init_model', 'PA0223', 3, 2, 0, 6, 0 ) 272 275 ENDIF … … 484 487 TYPE(pmc_layout), DIMENSION(pmc_max_models) :: domain_layouts 485 488 486 NAMELIST /nestpar/ domain_layouts, nesting_datatransfer_mode, nesting_mode 487 489 NAMELIST /nesting_parameters/ domain_layouts, nesting_datatransfer_mode, & 490 nesting_mode 491 488 492 ! 489 493 !-- Initialize some coupling variables … … 495 499 !-- Open the NAMELIST-file and read the nesting layout 496 500 CALL check_open( 11 ) 497 READ ( 11, nest par, IOSTAT=istat )501 READ ( 11, nesting_parameters, IOSTAT=istat ) 498 502 ! 499 503 !-- Set filepointer to the beginning of the file. Otherwise process 0 will later … … 503 507 IF ( istat < 0 ) THEN 504 508 ! 505 !-- No nest par-NAMELIST found509 !-- No nesting_parameters-NAMELIST found 506 510 pmc_status = pmc_no_namelist_found 507 511 RETURN 508 512 ELSEIF ( istat > 0 ) THEN 509 513 ! 510 !-- Errors in reading nest par-NAMELIST514 !-- Errors in reading nesting_parameters-NAMELIST 511 515 pmc_status = pmc_namelist_error 512 516 RETURN … … 519 523 m_couplers = domain_layouts 520 524 ! 521 !-- Get the number of nested models given in the nest par-NAMELIST525 !-- Get the number of nested models given in the nesting_parameters-NAMELIST 522 526 DO i = 1, pmc_max_models 523 527 ! -
palm/trunk/SOURCE/radiation_model_mod.f90
r2930 r2932 28 28 ! ----------------- 29 29 ! $Id$ 30 ! renamed radiation_par to radiation_parameters 31 ! 32 ! 2930 2018-03-23 16:30:46Z suehring 30 33 ! Remove default surfaces from radiation model, does not make much sense to 31 34 ! apply radiation model without energy-balance solvers; Further, add check for … … 2571 2574 ! Description: 2572 2575 ! ------------ 2573 !> Parin for &radiation_par for radiation model2576 !> Parin for &radiation_parameters for radiation model 2574 2577 !------------------------------------------------------------------------------! 2575 2578 SUBROUTINE radiation_parin … … 2592 2595 average_radiation, & 2593 2596 surf_reflections, svfnorm_report_thresh 2594 2597 2598 NAMELIST /radiation_parameters/ albedo, albedo_type, albedo_lw_dir, & 2599 albedo_lw_dif, albedo_sw_dir, albedo_sw_dif, & 2600 constant_albedo, dt_radiation, emissivity, & 2601 lw_radiation, net_radiation, & 2602 radiation_scheme, skip_time_do_radiation, & 2603 sw_radiation, unscheduled_radiation_calls, & 2604 split_diffusion_radiation, & 2605 max_raytracing_dist, min_irrf_value, & 2606 nrefsteps, mrt_factors, rma_lad_raytrace, & 2607 dist_max_svf, & 2608 average_radiation, & 2609 surf_reflections, svfnorm_report_thresh 2610 2595 2611 line = ' ' 2596 2612 2597 2613 ! 2598 !-- Try to find radiation model package2614 !-- Try to find radiation model namelist 2599 2615 REWIND ( 11 ) 2600 2616 line = ' ' 2601 DO WHILE ( INDEX( line, '&radiation_par ' ) == 0 )2617 DO WHILE ( INDEX( line, '&radiation_parameters' ) == 0 ) 2602 2618 READ ( 11, '(A)', END=10 ) line 2603 2619 ENDDO … … 2606 2622 ! 2607 2623 !-- Read user-defined namelist 2608 READ ( 11, radiation_par )2624 READ ( 11, radiation_parameters ) 2609 2625 2610 2626 ! 2611 2627 !-- Set flag that indicates that the radiation model is switched on 2612 2628 radiation = .TRUE. 2629 2630 GOTO 12 2631 ! 2632 !-- Try to find old namelist 2633 10 REWIND ( 11 ) 2634 line = ' ' 2635 DO WHILE ( INDEX( line, '&radiation_par' ) == 0 ) 2636 READ ( 11, '(A)', END=12 ) line 2637 ENDDO 2638 BACKSPACE ( 11 ) 2639 2640 ! 2641 !-- Read user-defined namelist 2642 READ ( 11, radiation_par ) 2643 2644 message_string = 'namelist radiation_par is deprecated and will be ' // & 2645 'removed in near future. Please &use namelist ' // & 2646 'radiation_parameters instead' 2647 CALL message( 'radiation_parin', 'PA0487', 0, 1, 0, 6, 0 ) 2648 2649 2650 ! 2651 !-- Set flag that indicates that the radiation model is switched on 2652 radiation = .TRUE. 2653 2654 12 CONTINUE 2655 2656 2613 2657 2614 2658 !-- Set radiation_interactions flag according to urban_ and land_surface flag 2615 IF ( urban_surface .OR. land_surface ) radiation_interactions = .TRUE. 2616 2617 10 CONTINUE 2659 IF ( urban_surface .OR. land_surface ) radiation_interactions = .TRUE. 2618 2660 2619 2620 2661 END SUBROUTINE radiation_parin 2621 2662 … … 5451 5492 CASE DEFAULT 5452 5493 WRITE(message_string, *) 'ERROR: the surface type ',td , ' is not supported for calculating SVF' 5453 CALL message( 'radiation_calc_svf', 'PA0 XXX', 1, 2, 0, 6, 0 )5494 CALL message( 'radiation_calc_svf', 'PA0488', 1, 2, 0, 6, 0 ) 5454 5495 END SELECT 5455 5496 -
palm/trunk/SOURCE/spectra_mod.f90
r2841 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed spectra_par to spectra_parameters 28 ! 29 ! 2841 2018-02-27 15:02:57Z knoop 27 30 ! Bugfix: wrong placement of include 'mpif.h' corrected 28 31 ! … … 195 198 196 199 USE control_parameters, & 197 ONLY: dt_data_output 200 ONLY: dt_data_output, message_string 198 201 199 202 IMPLICIT NONE … … 206 209 spectra_direction 207 210 208 211 NAMELIST /spectra_parameters/ & 212 averaging_interval_sp, comp_spectra_level, & 213 data_output_sp, dt_dosp, skip_time_dosp, & 214 spectra_direction 209 215 ! 210 216 !-- Position the namelist-file at the beginning (it was already opened in … … 217 223 REWIND ( 11 ) 218 224 line = ' ' 219 DO WHILE ( INDEX( line, '&spectra_par ' ) == 0 )225 DO WHILE ( INDEX( line, '&spectra_parameters' ) == 0 ) 220 226 READ ( 11, '(A)', END=10 ) line 221 227 ENDDO … … 224 230 ! 225 231 !-- Read namelist 226 READ ( 11, spectra_par )232 READ ( 11, spectra_parameters ) 227 233 228 234 ! … … 235 241 calculate_spectra = .TRUE. 236 242 237 10 CONTINUE 243 GOTO 12 244 ! 245 !-- Try to find the old namelist 246 10 REWIND ( 11 ) 247 line = ' ' 248 DO WHILE ( INDEX( line, '&spectra_par' ) == 0 ) 249 READ ( 11, '(A)', END=12 ) line 250 ENDDO 251 BACKSPACE ( 11 ) 252 253 ! 254 !-- Read namelist 255 READ ( 11, spectra_par ) 256 257 258 message_string = 'namelist spectra_par is deprecated and will be ' // & 259 'removed in near future. Please &use namelist ' // & 260 'spectra_parameters instead' 261 CALL message( 'spectra_parin', 'PA0487', 0, 1, 0, 6, 0 ) 262 ! 263 !-- Default setting of dt_dosp here (instead of check_parameters), because 264 !-- its current value is needed in init_pegrid 265 IF ( dt_dosp == 9999999.9_wp ) dt_dosp = dt_data_output 266 267 ! 268 !-- Set general switch that spectra shall be calculated 269 calculate_spectra = .TRUE. 270 271 272 12 CONTINUE 238 273 239 274 END SUBROUTINE spectra_parin -
palm/trunk/SOURCE/urban_surface_mod.f90
r2921 r2932 28 28 ! ----------------- 29 29 ! $Id$ 30 ! renamed urban_surface_par to urban_surface_parameters 31 ! 32 ! 2921 2018-03-22 15:05:23Z Giersch 30 33 ! The activation of spinup has been moved to parin 31 34 ! … … 5164 5167 window_inner_temperature 5165 5168 5169 NAMELIST /urban_surface_parameters/ & 5170 building_type, & 5171 land_category, & 5172 naheatlayers, & 5173 pedestrian_category, & 5174 roughness_concrete, & 5175 read_wall_temp_3d, & 5176 roof_category, & 5177 urban_surface, & 5178 usm_anthropogenic_heat, & 5179 usm_material_model, & 5180 wall_category, & 5181 indoor_model, & 5182 wall_inner_temperature, & 5183 roof_inner_temperature, & 5184 soil_inner_temperature, & 5185 window_inner_temperature 5166 5186 ! 5167 5187 !-- Try to find urban surface model package 5168 5188 REWIND ( 11 ) 5169 5189 line = ' ' 5170 DO WHILE ( INDEX( line, '&urban_surface_par ' ) == 0 )5190 DO WHILE ( INDEX( line, '&urban_surface_parameters' ) == 0 ) 5171 5191 READ ( 11, '(A)', END=10 ) line 5172 5192 ENDDO … … 5175 5195 ! 5176 5196 !-- Read user-defined namelist 5177 READ ( 11, urban_surface_par )5197 READ ( 11, urban_surface_parameters ) 5178 5198 ! 5179 5199 !-- Set flag that indicates that the land surface model is switched on 5180 5200 urban_surface = .TRUE. 5181 5201 5182 5183 10 CONTINUE 5202 GOTO 12 5203 ! 5204 !-- Try to find old namelist 5205 10 REWIND ( 11 ) 5206 line = ' ' 5207 DO WHILE ( INDEX( line, '&urban_surface_par' ) == 0 ) 5208 READ ( 11, '(A)', END=12 ) line 5209 ENDDO 5210 BACKSPACE ( 11 ) 5211 5212 ! 5213 !-- Read user-defined namelist 5214 READ ( 11, urban_surface_par ) 5215 5216 message_string = 'namelist urban_surface_par is deprecated and will be ' // & 5217 'removed in near future. Please &use namelist ' // & 5218 'urban_surface_parameters instead' 5219 CALL message( 'usm_parin', 'PA0487', 0, 1, 0, 6, 0 ) 5220 ! 5221 !-- Set flag that indicates that the land surface model is switched on 5222 urban_surface = .TRUE. 5223 5224 12 CONTINUE 5184 5225 5185 5226 -
palm/trunk/SOURCE/user_parin.f90
r2718 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed userpar to user_parameters 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 96 99 IMPLICIT NONE 97 100 98 CHARACTER (LEN=80) :: zeile !<101 CHARACTER (LEN=80) :: line !< 99 102 100 103 INTEGER(iwp) :: i !< … … 104 107 105 108 NAMELIST /userpar/ data_output_pr_user, data_output_user, region, & 109 data_output_masks_user 110 111 112 NAMELIST /user_parameters/ data_output_pr_user, data_output_user, region, & 106 113 data_output_masks_user 107 114 … … 119 126 REWIND ( 11 ) 120 127 121 zeile = ' '122 DO WHILE ( INDEX( zeile, '&userpar' ) == 0 )123 READ ( 11, '(A)', END=10 0 ) zeile128 line = ' ' 129 DO WHILE ( INDEX( line, '&user_parameters' ) == 0 ) 130 READ ( 11, '(A)', END=10 ) line 124 131 ENDDO 125 132 BACKSPACE ( 11 ) … … 128 135 !-- Read user-defined namelist 129 136 READ ( 11, userpar ) 137 130 138 user_defined_namelist_found = .TRUE. 139 140 GOTO 12 141 142 143 10 REWIND ( 11 ) 144 145 line = ' ' 146 DO WHILE ( INDEX( line, '&userpar' ) == 0 ) 147 READ ( 11, '(A)', END=12 ) line 148 ENDDO 149 BACKSPACE ( 11 ) 150 151 ! 152 !-- Read user-defined namelist 153 READ ( 11, userpar ) 154 155 156 message_string = 'namelist userpar is deprecated and will be ' // & 157 'removed in near future. Please &use namelist ' // & 158 'user_parameters instead' 159 CALL message( 'user_parin', 'PA0487', 0, 1, 0, 6, 0 ) 160 161 user_defined_namelist_found = .TRUE. 162 163 164 12 CONTINUE 131 165 132 166 ! 133 167 !-- Determine the number of user-defined profiles and append them to the 134 168 !-- standard data output (data_output_pr) 135 max_pr_user_tmp = 0 136 IF ( data_output_pr_user(1) /= ' ' ) THEN 137 i = 1 138 DO WHILE ( data_output_pr(i) /= ' ' .AND. i <= 100 ) 139 i = i + 1 140 ENDDO 141 j = 1 142 DO WHILE ( data_output_pr_user(j) /= ' ' .AND. j <= 100 ) 143 data_output_pr(i) = data_output_pr_user(j) 144 max_pr_user_tmp = max_pr_user_tmp + 1 145 i = i + 1 146 j = j + 1 147 ENDDO 148 ENDIF 149 150 ! 151 !-- In case of a restart run, the number of user-defined profiles on the 152 !-- restart file (already stored in max_pr_user) has to match the one given 153 !-- for the current run 154 IF ( TRIM( initializing_actions ) == 'read_restart_data' ) THEN 155 IF ( max_pr_user /= max_pr_user_tmp ) THEN 156 WRITE( message_string, * ) 'the number of user-defined profiles ', & 169 IF ( user_defined_namelist_found ) THEN 170 max_pr_user_tmp = 0 171 IF ( data_output_pr_user(1) /= ' ' ) THEN 172 i = 1 173 DO WHILE ( data_output_pr(i) /= ' ' .AND. i <= 100 ) 174 i = i + 1 175 ENDDO 176 j = 1 177 DO WHILE ( data_output_pr_user(j) /= ' ' .AND. j <= 100 ) 178 data_output_pr(i) = data_output_pr_user(j) 179 max_pr_user_tmp = max_pr_user_tmp + 1 180 i = i + 1 181 j = j + 1 182 ENDDO 183 ENDIF 184 185 186 ! 187 !-- In case of a restart run, the number of user-defined profiles on the 188 !-- restart file (already stored in max_pr_user) has to match the one given 189 !-- for the current run 190 IF ( TRIM( initializing_actions ) == 'read_restart_data' ) THEN 191 IF ( max_pr_user /= max_pr_user_tmp ) THEN 192 WRITE( message_string, * ) 'the number of user-defined profiles ',& 157 193 'given in &data_output_pr (', max_pr_user_tmp, ') doe', & 158 194 'snot match the one ', & 159 195 '&found in the restart file (', max_pr_user, & 160 196 ')' 161 CALL message( 'user_parin', 'UI0009', 1, 2, 0, 6, 0 ) 197 CALL message( 'user_parin', 'UI0009', 1, 2, 0, 6, 0 ) 198 ENDIF 199 ELSE 200 max_pr_user = max_pr_user_tmp 162 201 ENDIF 163 ELSE 164 max_pr_user = max_pr_user_tmp 202 165 203 ENDIF 166 167 100RETURN204 205 RETURN 168 206 169 207 END SUBROUTINE user_parin -
palm/trunk/SOURCE/uv_exposure_model_mod.f90
r2894 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed uvexposure_par to biometeorology_parameters 28 ! 29 ! 2894 2018-03-15 09:17:58Z Giersch 27 30 ! Routine for skipping global restart data has been removed, uvem_last_actions 28 31 ! has been renamed to uvem_wrd_global and uvem_read_restart_data has been … … 425 428 CHARACTER (LEN=80) :: line !< dummy string for current line in parameter file 426 429 427 NAMELIST / uvexposure_par/ clothing430 NAMELIST /biometeorology_parameters/ clothing 428 431 429 432 line = ' ' … … 433 436 REWIND ( 11 ) 434 437 line = ' ' 435 DO WHILE ( INDEX( line, '& uvexposure_par' ) == 0 )438 DO WHILE ( INDEX( line, '&biometerology_parameters' ) == 0 ) 436 439 READ ( 11, '(A)', END=10 ) line 437 440 ENDDO … … 440 443 ! 441 444 !-- Read user-defined namelist 442 READ ( 11, uvexposure_par)445 READ ( 11, biometeorology_parameters ) 443 446 444 447 ! -
palm/trunk/SOURCE/virtual_flight_mod.f90
r2894 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! renamed flight_par to virtual_flight_parameters 28 ! 29 ! 2894 2018-03-15 09:17:58Z Giersch 27 30 ! variable named found has been introduced for checking if restart data was 28 31 ! found, reading of restart strings has been moved completely to … … 218 221 219 222 USE control_parameters, & 220 ONLY: initializing_actions 223 ONLY: initializing_actions, message_string 221 224 222 225 IMPLICIT NONE … … 227 230 flight_level, max_elev_change, rate_of_climb, & 228 231 speed_agl, x_end, x_start, y_end, y_start 229 232 233 234 NAMELIST /virtual_flight_parameters/ & 235 flight_angle, flight_end, flight_begin, leg_mode,& 236 flight_level, max_elev_change, rate_of_climb, & 237 speed_agl, x_end, x_start, y_end, y_start 230 238 ! 231 239 !-- Try to find the namelist flight_par 232 240 REWIND ( 11 ) 233 241 line = ' ' 234 DO WHILE ( INDEX( line, '& flight_par' ) == 0 )242 DO WHILE ( INDEX( line, '&virtual_flight_parameters' ) == 0 ) 235 243 READ ( 11, '(A)', END=10 ) line 236 244 ENDDO … … 239 247 ! 240 248 !-- Read namelist 241 READ ( 11, flight_par)249 READ ( 11, virtual_flight_parameters ) 242 250 ! 243 251 !-- Set switch that virtual flights shall be carried out 244 252 virtual_flight = .TRUE. 245 253 246 247 10 CONTINUE 254 GOTO 12 255 ! 256 !-- Try to find the old namelist 257 10 REWIND ( 11 ) 258 line = ' ' 259 DO WHILE ( INDEX( line, '&flight_par' ) == 0 ) 260 READ ( 11, '(A)', END=12 ) line 261 ENDDO 262 BACKSPACE ( 11 ) 263 264 ! 265 !-- Read namelist 266 READ ( 11, flight_par ) 267 268 message_string = 'namelist flight_par is deprecated and will be ' // & 269 'removed in near future. Please &use namelist ' // & 270 'virtual_flight_parameters instead' 271 CALL message( 'flight_parin', 'PA0487', 0, 1, 0, 6, 0 ) 272 ! 273 !-- Set switch that virtual flights shall be carried out 274 virtual_flight = .TRUE. 275 276 12 CONTINUE 248 277 249 278 END SUBROUTINE flight_parin -
palm/trunk/SOURCE/wind_turbine_model_mod.f90
r2894 r2932 26 26 ! ----------------- 27 27 ! $Id$ 28 ! renamed wind_turbine_par to wind_turbine_parameters 29 ! 30 ! 2894 2018-03-15 09:17:58Z Giersch 28 31 ! variable named found has been introduced for checking if restart data was 29 32 ! found, reading of restart strings has been moved completely to … … 493 496 turb_cd_nacelle, turb_cd_tower, pitch_rate, & 494 497 yaw_control, yaw_speed, tl_cor 495 498 499 NAMELIST /wind_turbine_parameters/ & 500 air_dens, dtow, gear_eff, gear_ratio, & 501 gen_eff, inertia_gen, inertia_rot, max_miss, & 502 max_torque_gen, max_trq_rate, min_miss, & 503 min_reg15, min_reg2, nairfoils, nturbines, & 504 omega_rot, phi_yaw, pitch_add, pitch_control,& 505 rated_genspeed, rated_power, rcx, rcy, rcz, & 506 rnac, rr, segment_length, segment_width, & 507 slope2, speed_control, tilt, time_turbine_on,& 508 turb_cd_nacelle, turb_cd_tower, pitch_rate, & 509 yaw_control, yaw_speed, tl_cor 496 510 ! 497 511 !-- Try to find wind turbine model package 498 512 REWIND ( 11 ) 499 513 line = ' ' 514 DO WHILE ( INDEX( line, '&wind_turbine_parameters' ) == 0 ) 515 READ ( 11, '(A)', END=10 ) line 516 ENDDO 517 BACKSPACE ( 11 ) 518 519 ! 520 !-- Read user-defined namelist 521 READ ( 11, wind_turbine_parameters, IOSTAT=ierrn ) 522 523 IF ( ierrn < 0 ) THEN 524 message_string = 'no wind_turbine_parameters-NAMELIST found: ' // & 525 'End of file has reached' 526 CALL message( 'wtm_parin', 'PA0460', 1, 2, 0, 6, 0 ) 527 ELSEIF ( ierrn > 0 ) THEN 528 message_string = 'errors in wind_turbine_parameters-NAMELIST: ' // & 529 'some variables for steering may not be properly set' 530 CALL message( 'wtm_parin', 'PA0466', 1, 2, 0, 6, 0 ) 531 ENDIF 532 533 ! 534 !-- Set flag that indicates that the wind turbine model is switched on 535 wind_turbine = .TRUE. 536 537 GOTO 12 538 539 ! 540 !-- Try to find wind turbine model package 541 10 REWIND ( 11 ) 542 line = ' ' 500 543 DO WHILE ( INDEX( line, '&wind_turbine_par' ) == 0 ) 501 READ ( 11, '(A)', END=1 0) line544 READ ( 11, '(A)', END=12 ) line 502 545 ENDDO 503 546 BACKSPACE ( 11 ) … … 512 555 CALL message( 'wtm_parin', 'PA0460', 1, 2, 0, 6, 0 ) 513 556 ELSEIF ( ierrn > 0 ) THEN 514 message_string = 'errors in wind_turbine_par-NAMELIST: ' // 557 message_string = 'errors in wind_turbine_par-NAMELIST: ' // & 515 558 'some variables for steering may not be properly set' 516 559 CALL message( 'wtm_parin', 'PA0466', 1, 2, 0, 6, 0 ) 517 560 ENDIF 518 561 562 message_string = 'namelist wind_tubrine_par is deprecated and will ' // & 563 'be removed in near future. Please &use namelist ' // & 564 'wind_turbine_parameters instead' 565 CALL message( 'wtm_parin', 'PA0487', 0, 1, 0, 6, 0 ) 566 519 567 ! 520 568 !-- Set flag that indicates that the wind turbine model is switched on 521 569 wind_turbine = .TRUE. 522 570 523 524 10 CONTINUE ! TBD Change from continue, mit ierrn machen 571 12 CONTINUE ! TBD Change from continue, mit ierrn machen 525 572 526 573
Note: See TracChangeset
for help on using the changeset viewer.