Changeset 4852 for palm/trunk/SOURCE
- Timestamp:
- Jan 25, 2021 7:18:30 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r4847 r4852 26 26 ! ----------------- 27 27 ! $Id$ 28 ! error message IDs changed from CM to the default PA 28 ! re-numbering of message IDs 29 ! 30 ! 4847 2021-01-19 13:44:45Z raasch 31 ! error message IDs changed from CM to the default PA 29 32 ! 30 33 ! 4843 2021-01-15 15:22:11Z raasch … … 1234 1237 ELSEIF ( .NOT. ( chem_gasphase_on ) ) THEN 1235 1238 message_string = 'Chemical reactions: OFF' 1236 CALL message( 'chem_check_parameters', 'PA051 8', 0, 0, 0, 6, 0 )1239 CALL message( 'chem_check_parameters', 'PA0517', 0, 0, 0, 6, 0 ) 1237 1240 ENDIF 1238 1241 ! … … 1318 1321 IF ( bc_cs_r /= 'dirichlet' .AND. bc_cs_r /= 'neumann' .AND. bc_cs_r /= 'cyclic' ) THEN 1319 1322 message_string = 'unknown boundary condition: bc_cs_r = "' // TRIM( bc_cs_r ) // '"' 1320 CALL message( 'chem_check_parameters','PA05 51', 1, 2, 0, 6, 0 )1323 CALL message( 'chem_check_parameters','PA0505', 1, 2, 0, 6, 0 ) 1321 1324 ENDIF 1322 1325 ! … … 1342 1345 IF ( bc_cs_n /= 'dirichlet' .AND. bc_cs_n /= 'neumann' .AND. bc_cs_n /= 'cyclic' ) THEN 1343 1346 message_string = 'unknown boundary condition: bc_cs_n = "' // TRIM( bc_cs_n ) // '"' 1344 CALL message( 'chem_check_parameters','PA0 714', 1, 2, 0, 6, 0 )1347 CALL message( 'chem_check_parameters','PA0505', 1, 2, 0, 6, 0 ) 1345 1348 ENDIF 1346 1349 IF ( bc_cs_s /= 'dirichlet' .AND. bc_cs_s /= 'neumann' .AND. bc_cs_s /= 'cyclic' ) THEN 1347 1350 message_string = 'unknown boundary condition: bc_cs_s = "' // TRIM( bc_cs_s ) // '"' 1348 CALL message( 'chem_check_parameters','PA0 715', 1, 2, 0, 6, 0 )1351 CALL message( 'chem_check_parameters','PA0505', 1, 2, 0, 6, 0 ) 1349 1352 ENDIF 1350 1353 ! … … 1358 1361 ( bc_cs_s == 'cyclic' .AND. bc_cs_n /= 'cyclic' ) ) THEN 1359 1362 message_string = 'boundary conditions bc_cs_n and bc_cs_s must both be cyclic or non-cyclic' 1360 CALL message( 'chem_check_parameters','PA071 7', 1, 2, 0, 6, 0 )1363 CALL message( 'chem_check_parameters','PA0716', 1, 2, 0, 6, 0 ) 1361 1364 ENDIF 1362 1365 ! … … 2643 2646 ! IF ( (mode_emis /= 'PARAMETERIZED') .AND. ( mode_emis /= 'DEFAULT' ) .AND. ( mode_emis /= 'PRE-PROCESSED' ) ) THEN 2644 2647 ! message_string = 'Incorrect mode_emiss option select. Please check spelling' 2645 ! CALL message( 'chem_parin', 'PA073 8', 1, 2, 0, 6, 0 )2648 ! CALL message( 'chem_parin', 'PA0736', 1, 2, 0, 6, 0 ) 2646 2649 ! ENDIF 2647 2650 … … 2667 2670 'NOTE - mode_emis will be depreciated in future releases&' // & 2668 2671 'please use emiss_lod to define emission mode' 2669 2670 CALL message( 'chem_parin', 'PA0739', 0, 0, 0, 6, 0 ) 2672 CALL message( 'chem_parin', 'PA0738', 0, 0, 0, 6, 0 ) 2671 2673 2672 2674 ELSE ! if emiss_lod is not set … … 2684 2686 'NOTE - mode_emis will be depreciated in future releases&' // & 2685 2687 'please use emiss_lod to define emission mode' 2686 2687 CALL message( 'chem_parin', 'PA0740', 0, 0, 0, 6, 0 ) 2688 CALL message( 'chem_parin', 'PA0739', 0, 0, 0, 6, 0 ) 2688 2689 ENDIF 2689 2690 … … 2704 2705 'All emissions data will be loaded ' // & 2705 2706 'prior to start of simulation' 2706 CALL message( 'chem_parin', 'PA074 1', 0, 0, 0, 6, 0 )2707 CALL message( 'chem_parin', 'PA0740', 0, 0, 0, 6, 0 ) 2707 2708 2708 2709 ELSE !< if new read mode selected … … 2713 2714 'currently unavailable for LODs 0 and 1.&' // & 2714 2715 'Reverting to legacy emission read mode' 2715 CALL message( 'chem_parin', 'PA074 2', 0, 0, 0, 6, 0 )2716 CALL message( 'chem_parin', 'PA0741', 0, 0, 0, 6, 0 ) 2716 2717 2717 2718 emiss_read_legacy_mode = .TRUE. … … 2722 2723 'LOD 2 emissions will be updated on-demand ' // & 2723 2724 'according to indicated timestamps' 2724 CALL message( 'chem_parin', 'PA074 3', 0, 0, 0, 6, 0 )2725 CALL message( 'chem_parin', 'PA0742', 0, 0, 0, 6, 0 ) 2725 2726 2726 2727 ENDIF … … 3873 3874 luv_palm = surf_lsm_h(0)%vegetation_type(m) 3874 3875 IF ( luv_palm == ind_luv_user ) THEN 3875 message_string = 'No vegetation type defined. Please define vegetation type to' //&3876 message_string = 'No lsm-vegetation type defined. Please define vegetation type to' //& 3876 3877 ' enable deposition calculation' 3877 CALL message( 'chem_depo', 'PA074 4', 1, 2, 0, 6, 0 )3878 CALL message( 'chem_depo', 'PA0743', 1, 2, 0, 6, 0 ) 3878 3879 ELSEIF ( luv_palm == ind_luv_b_soil ) THEN 3879 3880 luv_dep = 9 … … 3918 3919 lup_palm = surf_lsm_h(0)%pavement_type(m) 3919 3920 IF ( lup_palm == ind_lup_user ) THEN 3920 message_string = 'No pavement type defined. Please define pavement type to enable' //&3921 ' deposition calculation'3922 CALL message( 'chem_depo', 'PA074 5', 1, 2, 0, 6, 0 )3921 message_string = 'No lsm-pavement type defined. Please define pavement type to ' // & 3922 'enable deposition calculation' 3923 CALL message( 'chem_depo', 'PA0743', 1, 2, 0, 6, 0 ) 3923 3924 ELSEIF ( lup_palm == ind_lup_asph_conc ) THEN 3924 3925 lup_dep = 9 … … 3957 3958 luw_palm = surf_lsm_h(0)%water_type(m) 3958 3959 IF ( luw_palm == ind_luw_user ) THEN 3959 message_string = 'No water type defined. Please define water type to enable' //&3960 message_string = 'No lsm-water type defined. Please define water type to enable' // & 3960 3961 ' deposition calculation' 3961 CALL message( 'chem_depo', 'PA074 6', 1, 2, 0, 6, 0 )3962 CALL message( 'chem_depo', 'PA0743', 1, 2, 0, 6, 0 ) 3962 3963 ELSEIF ( luw_palm == ind_luw_lake ) THEN 3963 3964 luw_dep = 13 … … 4456 4457 lug_palm = ind_luv_s_grass 4457 4458 IF ( lug_palm == ind_luv_user ) THEN 4458 message_string = 'No vegetation type defined. Please define vegetation type to' //&4459 message_string = 'No usm-vegetation type defined. Please define vegetation type to' //& 4459 4460 ' enable deposition calculation' 4460 CALL message( 'chem_depo', 'PA074 7', 1, 2, 0, 6, 0 )4461 CALL message( 'chem_depo', 'PA0743', 1, 2, 0, 6, 0 ) 4461 4462 ELSEIF ( lug_palm == ind_luv_b_soil ) THEN 4462 4463 lug_dep = 9 … … 4506 4507 message_string = 'No pavement type defined. Please define pavement type to enable' // & 4507 4508 ' deposition calculation' 4508 CALL message( 'chem_depo', 'PA074 8', 1, 2, 0, 6, 0 )4509 CALL message( 'chem_depo', 'PA0745', 1, 2, 0, 6, 0 ) 4509 4510 ELSEIF ( luu_palm == ind_lup_asph_conc ) THEN 4510 4511 luu_dep = 9 … … 4546 4547 lud_palm = ind_lup_metal 4547 4548 IF ( lud_palm == ind_lup_user ) THEN 4548 message_string = 'No pavement type defined. Please define pavement type to enable' //&4549 ' deposition calculation'4550 CALL message( 'chem_depo', 'PA074 9', 1, 2, 0, 6, 0 )4549 message_string = 'No usm-pavement type defined. Please define pavement type to ' // & 4550 'enable deposition calculation' 4551 CALL message( 'chem_depo', 'PA0743', 1, 2, 0, 6, 0 ) 4551 4552 ELSEIF ( lud_palm == ind_lup_asph_conc ) THEN 4552 4553 lud_dep = 9 … … 5305 5306 CASE default 5306 5307 message_string = 'Component '// TRIM( compnam ) // ' not supported' 5307 CALL message( 'rc_special', 'PA07 50', 1, 2, 0, 6, 0 )5308 CALL message( 'rc_special', 'PA0746', 1, 2, 0, 6, 0 ) 5308 5309 END SELECT 5309 5310 … … 5358 5359 CASE default 5359 5360 message_string = 'Component '// TRIM( compnam ) // ' not supported' 5360 CALL message( 'rc_gw', 'PA07 51', 1, 2, 0, 6, 0 )5361 CALL message( 'rc_gw', 'PA0746', 1, 2, 0, 6, 0 ) 5361 5362 END SELECT 5362 5363 … … 5571 5572 CASE default 5572 5573 message_string = 'Component '// TRIM( compnam ) // ' not supported' 5573 CALL message( 'rc_gstom', 'PA07 52', 1, 2, 0, 6, 0 )5574 CALL message( 'rc_gstom', 'PA0746', 1, 2, 0, 6, 0 ) 5574 5575 END SELECT 5575 5576 … … 5927 5928 ELSE 5928 5929 message_string = 'nwet can only be 0 or 1' 5929 CALL message( 'rc_gsoil_eff', 'PA07 53', 1, 2, 0, 6, 0 )5930 CALL message( 'rc_gsoil_eff', 'PA0747', 1, 2, 0, 6, 0 ) 5930 5931 ENDIF 5931 5932 ENDIF … … 6103 6104 ! rc_eff = -999.0_wp 6104 6105 ! message_string = 'This should not be possible, check ccomp_tot' 6105 ! CALL message( 'rc_comp_point_rc_eff', 'PA 0754', 1, 2, 0, 6, 0 )6106 ! CALL message( 'rc_comp_point_rc_eff', 'PA....', 1, 2, 0, 6, 0 ) 6106 6107 ! ENDIF 6107 6108 !
Note: See TracChangeset
for help on using the changeset viewer.