- Timestamp:
- Feb 1, 2021 8:10:59 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r4852 r4860 26 26 ! ----------------- 27 27 ! $Id$ 28 ! further re-numbering of message IDs 29 ! 30 ! 4852 2021-01-25 07:18:30Z raasch 28 31 ! re-numbering of message IDs 29 32 ! … … 1246 1249 ELSEIF ( .NOT. ( call_chem_at_all_substeps ) ) THEN 1247 1250 message_string = 'Sub-time-steps are skipped for chemistry time-steps' 1248 CALL message( 'chem_check_parameters', 'PA05 23', 0, 0, 0, 6, 0 )1251 CALL message( 'chem_check_parameters', 'PA0518', 0, 0, 0, 6, 0 ) 1249 1252 ENDIF 1250 1253 ! … … 1252 1255 IF ( ( photolysis_scheme /= 'simple' ) .AND. ( photolysis_scheme /= 'constant' ) ) THEN 1253 1256 message_string = 'Incorrect photolysis scheme selected, please check spelling' 1254 CALL message( 'chem_check_parameters', 'PA05 93', 1, 2, 0, 6, 0 )1257 CALL message( 'chem_check_parameters', 'PA0523', 1, 2, 0, 6, 0 ) 1255 1258 ENDIF 1256 1259 ! … … 1260 1263 message_string = & 1261 1264 'Incorrect chemistry mechanism selected, check spelling in namelist and/or chem_gasphase_mod' 1262 CALL message( 'chem_check_parameters', 'PA0 675', 1, 2, 0, 6, 0 )1265 CALL message( 'chem_check_parameters', 'PA0551', 1, 2, 0, 6, 0 ) 1263 1266 ENDIF 1264 1267 … … 1271 1274 ELSE 1272 1275 message_string = 'unknown boundary condition: bc_cs_b ="' // TRIM( bc_cs_b ) // '"' 1273 CALL message( 'chem_check_parameters', 'PA0 730', 1, 2, 0, 6, 0 )1276 CALL message( 'chem_check_parameters', 'PA0593', 1, 2, 0, 6, 0 ) 1274 1277 ENDIF 1275 1278 ! … … 1285 1288 ELSE 1286 1289 message_string = 'unknown boundary condition: bc_c_t ="' // TRIM( bc_cs_t ) // '"' 1287 CALL message( 'chem_check_parameters', 'PA0 731', 1, 2, 0, 6, 0 )1290 CALL message( 'chem_check_parameters', 'PA0675', 1, 2, 0, 6, 0 ) 1288 1291 ENDIF 1289 1292 … … 1356 1359 ( bc_cs_r == 'cyclic' .AND. bc_cs_l /= 'cyclic' ) ) THEN 1357 1360 message_string = 'boundary conditions bc_cs_l and bc_cs_r must both be cyclic or non-cyclic' 1358 CALL message( 'chem_check_parameters','PA071 6', 1, 2, 0, 6, 0 )1361 CALL message( 'chem_check_parameters','PA0714', 1, 2, 0, 6, 0 ) 1359 1362 ENDIF 1360 1363 IF ( ( bc_cs_n == 'cyclic' .AND. bc_cs_s /= 'cyclic' ) .OR. & 1361 1364 ( bc_cs_s == 'cyclic' .AND. bc_cs_n /= 'cyclic' ) ) THEN 1362 1365 message_string = 'boundary conditions bc_cs_n and bc_cs_s must both be cyclic or non-cyclic' 1363 CALL message( 'chem_check_parameters','PA071 6', 1, 2, 0, 6, 0 )1366 CALL message( 'chem_check_parameters','PA0714', 1, 2, 0, 6, 0 ) 1364 1367 ENDIF 1365 1368 ! … … 1413 1416 message_string = 'Unused/incorrect input for initial surface value: ' // & 1414 1417 TRIM( cs_name(lsp_usr) ) 1415 CALL message( 'chem_check_parameters', 'PA07 32', 1, 2, 0, 6, 0 )1418 CALL message( 'chem_check_parameters', 'PA0715', 1, 2, 0, 6, 0 ) 1416 1419 ENDIF 1417 1420 lsp_usr = lsp_usr + 1 … … 1432 1435 message_string = 'Unused/incorrect input of chemical species for surface emission fluxes: ' & 1433 1436 // TRIM( surface_csflux_name(lsp_usr) ) 1434 CALL message( 'chem_check_parameters', 'PA07 33', 1, 2, 0, 6, 0 )1437 CALL message( 'chem_check_parameters', 'PA0716', 1, 2, 0, 6, 0 ) 1435 1438 ENDIF 1436 1439 lsp_usr = lsp_usr + 1 … … 2348 2351 IF ( cs_heights(1,1) /= 0.0_wp ) THEN 2349 2352 message_string = 'The surface value of cs_heights must be 0.0' 2350 CALL message( 'chem_check_parameters', 'PA07 34', 1, 2, 0, 6, 0 )2353 CALL message( 'chem_check_parameters', 'PA0717', 1, 2, 0, 6, 0 ) 2351 2354 ENDIF 2352 2355 … … 2361 2364 IF ( npr_lev == 100 ) THEN 2362 2365 message_string = 'number of chem spcs exceeding the limit' 2363 CALL message( 'chem_check_parameters', 'PA073 5', 1, 2, 0, 6, 0 )2366 CALL message( 'chem_check_parameters', 'PA0730', 1, 2, 0, 6, 0 ) 2364 2367 EXIT 2365 2368 ENDIF … … 2631 2634 ( mode_emis /= 'PRE-PROCESSED' ) ) THEN 2632 2635 message_string = 'Incorrect mode_emiss option select. Please check spelling' 2633 CALL message( 'chem_parin', 'PA073 6', 1, 2, 0, 6, 0 )2636 CALL message( 'chem_parin', 'PA0731', 1, 2, 0, 6, 0 ) 2634 2637 ENDIF 2635 2638 ELSE … … 2638 2641 ( emiss_lod /= 2 ) ) THEN 2639 2642 message_string = 'Invalid value for emiss_lod (0, 1, or 2)' 2640 CALL message( 'chem_parin', 'PA073 7', 1, 2, 0, 6, 0 )2643 CALL message( 'chem_parin', 'PA0732', 1, 2, 0, 6, 0 ) 2641 2644 ENDIF 2642 2645 ENDIF … … 2646 2649 ! IF ( (mode_emis /= 'PARAMETERIZED') .AND. ( mode_emis /= 'DEFAULT' ) .AND. ( mode_emis /= 'PRE-PROCESSED' ) ) THEN 2647 2650 ! message_string = 'Incorrect mode_emiss option select. Please check spelling' 2648 ! CALL message( 'chem_parin', 'PA073 6', 1, 2, 0, 6, 0 )2651 ! CALL message( 'chem_parin', 'PA0731', 1, 2, 0, 6, 0 ) 2649 2652 ! ENDIF 2650 2653 … … 2670 2673 'NOTE - mode_emis will be depreciated in future releases&' // & 2671 2674 'please use emiss_lod to define emission mode' 2672 CALL message( 'chem_parin', 'PA073 8', 0, 0, 0, 6, 0 )2675 CALL message( 'chem_parin', 'PA0733', 0, 0, 0, 6, 0 ) 2673 2676 2674 2677 ELSE ! if emiss_lod is not set … … 2686 2689 'NOTE - mode_emis will be depreciated in future releases&' // & 2687 2690 'please use emiss_lod to define emission mode' 2688 CALL message( 'chem_parin', 'PA073 9', 0, 0, 0, 6, 0 )2691 CALL message( 'chem_parin', 'PA0734', 0, 0, 0, 6, 0 ) 2689 2692 ENDIF 2690 2693 … … 2705 2708 'All emissions data will be loaded ' // & 2706 2709 'prior to start of simulation' 2707 CALL message( 'chem_parin', 'PA07 40', 0, 0, 0, 6, 0 )2710 CALL message( 'chem_parin', 'PA0735', 0, 0, 0, 6, 0 ) 2708 2711 2709 2712 ELSE !< if new read mode selected … … 2714 2717 'currently unavailable for LODs 0 and 1.&' // & 2715 2718 'Reverting to legacy emission read mode' 2716 CALL message( 'chem_parin', 'PA07 41', 0, 0, 0, 6, 0 )2719 CALL message( 'chem_parin', 'PA0736', 0, 0, 0, 6, 0 ) 2717 2720 2718 2721 emiss_read_legacy_mode = .TRUE. … … 2723 2726 'LOD 2 emissions will be updated on-demand ' // & 2724 2727 'according to indicated timestamps' 2725 CALL message( 'chem_parin', 'PA07 42', 0, 0, 0, 6, 0 )2728 CALL message( 'chem_parin', 'PA0737', 0, 0, 0, 6, 0 ) 2726 2729 2727 2730 ENDIF … … 3876 3879 message_string = 'No lsm-vegetation type defined. Please define vegetation type to' //& 3877 3880 ' enable deposition calculation' 3878 CALL message( 'chem_depo', 'PA07 43', 1, 2, 0, 6, 0 )3881 CALL message( 'chem_depo', 'PA0738', 1, 2, 0, 6, 0 ) 3879 3882 ELSEIF ( luv_palm == ind_luv_b_soil ) THEN 3880 3883 luv_dep = 9 … … 3921 3924 message_string = 'No lsm-pavement type defined. Please define pavement type to ' // & 3922 3925 'enable deposition calculation' 3923 CALL message( 'chem_depo', 'PA07 43', 1, 2, 0, 6, 0 )3926 CALL message( 'chem_depo', 'PA0738', 1, 2, 0, 6, 0 ) 3924 3927 ELSEIF ( lup_palm == ind_lup_asph_conc ) THEN 3925 3928 lup_dep = 9 … … 3960 3963 message_string = 'No lsm-water type defined. Please define water type to enable' // & 3961 3964 ' deposition calculation' 3962 CALL message( 'chem_depo', 'PA07 43', 1, 2, 0, 6, 0 )3965 CALL message( 'chem_depo', 'PA0738', 1, 2, 0, 6, 0 ) 3963 3966 ELSEIF ( luw_palm == ind_luw_lake ) THEN 3964 3967 luw_dep = 13 … … 4459 4462 message_string = 'No usm-vegetation type defined. Please define vegetation type to' //& 4460 4463 ' enable deposition calculation' 4461 CALL message( 'chem_depo', 'PA07 43', 1, 2, 0, 6, 0 )4464 CALL message( 'chem_depo', 'PA0738', 1, 2, 0, 6, 0 ) 4462 4465 ELSEIF ( lug_palm == ind_luv_b_soil ) THEN 4463 4466 lug_dep = 9 … … 4507 4510 message_string = 'No pavement type defined. Please define pavement type to enable' // & 4508 4511 ' deposition calculation' 4509 CALL message( 'chem_depo', 'PA07 45', 1, 2, 0, 6, 0 )4512 CALL message( 'chem_depo', 'PA0739', 1, 2, 0, 6, 0 ) 4510 4513 ELSEIF ( luu_palm == ind_lup_asph_conc ) THEN 4511 4514 luu_dep = 9 … … 4549 4552 message_string = 'No usm-pavement type defined. Please define pavement type to ' // & 4550 4553 'enable deposition calculation' 4551 CALL message( 'chem_depo', 'PA07 43', 1, 2, 0, 6, 0 )4554 CALL message( 'chem_depo', 'PA0738', 1, 2, 0, 6, 0 ) 4552 4555 ELSEIF ( lud_palm == ind_lup_asph_conc ) THEN 4553 4556 lud_dep = 9 … … 5306 5309 CASE default 5307 5310 message_string = 'Component '// TRIM( compnam ) // ' not supported' 5308 CALL message( 'rc_special', 'PA074 6', 1, 2, 0, 6, 0 )5311 CALL message( 'rc_special', 'PA0740', 1, 2, 0, 6, 0 ) 5309 5312 END SELECT 5310 5313 … … 5359 5362 CASE default 5360 5363 message_string = 'Component '// TRIM( compnam ) // ' not supported' 5361 CALL message( 'rc_gw', 'PA074 6', 1, 2, 0, 6, 0 )5364 CALL message( 'rc_gw', 'PA0740', 1, 2, 0, 6, 0 ) 5362 5365 END SELECT 5363 5366 … … 5572 5575 CASE default 5573 5576 message_string = 'Component '// TRIM( compnam ) // ' not supported' 5574 CALL message( 'rc_gstom', 'PA074 6', 1, 2, 0, 6, 0 )5577 CALL message( 'rc_gstom', 'PA0740', 1, 2, 0, 6, 0 ) 5575 5578 END SELECT 5576 5579 … … 5928 5931 ELSE 5929 5932 message_string = 'nwet can only be 0 or 1' 5930 CALL message( 'rc_gsoil_eff', 'PA074 7', 1, 2, 0, 6, 0 )5933 CALL message( 'rc_gsoil_eff', 'PA0741', 1, 2, 0, 6, 0 ) 5931 5934 ENDIF 5932 5935 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.