Changeset 3615 for palm/trunk/UTIL/inifor/src/inifor_io.f90
- Timestamp:
- Dec 10, 2018 7:21:03 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/src/inifor_io.f90
r3557 r3615 26 26 ! ----------------- 27 27 ! $Id$ 28 ! bugfix: abort replaced by inifor_abort 29 ! 30 ! 3557 2018-11-22 16:01:22Z eckhard 28 31 ! Updated documentation, removed unused subroutine write_netcdf_variable_2d() 29 32 ! … … 147 150 message = "Failed to read '" // TRIM(in_var % name) // & 148 151 "' from file '" // TRIM(in_file) // "'." 149 CALL abort('get_netcdf_variable', message)152 CALL inifor_abort('get_netcdf_variable', message) 150 153 151 154 END IF … … 191 194 message = "Failed to read '" // TRIM(in_var % name) // & 192 195 "' from file '" // TRIM(in_file) // "'." 193 CALL abort('get_netcdf_variable', message)196 CALL inifor_abort('get_netcdf_variable', message) 194 197 195 198 END IF … … 229 232 message = "Failed to read '" // TRIM(coordname) // & 230 233 "' from file '" // TRIM(filename) // "'." 231 CALL abort('get_netcdf_dim_vector', message)234 CALL inifor_abort('get_netcdf_dim_vector', message) 232 235 233 236 END IF … … 288 291 " dimensions because only two- and and three-dimensional" // & 289 292 " variables are supported." 290 CALL abort('get_netcdf_start_and_count', message)293 CALL inifor_abort('get_netcdf_start_and_count', message) 291 294 292 295 END IF … … 429 432 430 433 CASE( '-clon', '-clat' ) 431 CALL abort('parse_command_line_arguments', message)434 CALL inifor_abort('parse_command_line_arguments', message) 432 435 433 436 CASE( '-path', '-p', '--path' ) … … 504 507 CASE DEFAULT 505 508 message = "unknown option '" // TRIM(option) // "'." 506 CALL abort('parse_command_line_arguments', message)509 CALL inifor_abort('parse_command_line_arguments', message) 507 510 508 511 END SELECT … … 560 563 IF (.NOT. all_files_present) THEN 561 564 message = "INIFOR configuration invalid; some input files are missing." 562 CALL abort( 'validate_config', message )565 CALL inifor_abort( 'validate_config', message ) 563 566 END IF 564 567 … … 572 575 "or omit the -i/--init-mode/-mode option entirely, which corresponds "//& 573 576 "to the latter." 574 CALL abort( 'validate_config', message )577 CALL inifor_abort( 'validate_config', message ) 575 578 END SELECT 576 579 … … 584 587 "or omit the -f/--forcing-mode option entirely, which corresponds "//& 585 588 "to the latter." 586 CALL abort( 'validate_config', message )589 CALL inifor_abort( 'validate_config', message ) 587 590 END SELECT 588 591 … … 595 598 "or omit the --averaging-mode option entirely, which corresponds "//& 596 599 "to the latter." 597 CALL abort( 'validate_config', message )600 CALL inifor_abort( 'validate_config', message ) 598 601 END SELECT 599 602 … … 601 604 message = "You specified only one component of the geostrophic " // & 602 605 "wind. Please specify either both or none." 603 CALL abort( 'validate_config', message )606 CALL inifor_abort( 'validate_config', message ) 604 607 END IF 605 608 … … 921 924 "' contains " // & 922 925 TRIM( str(SIZE(group % in_var_list)) ) // "." 923 CALL abort('read_input_variables | accumulation', message)926 CALL inifor_abort('read_input_variables | accumulation', message) 924 927 END IF 925 928 … … 1007 1010 CASE DEFAULT 1008 1011 message = "Invalid step '" // TRIM(str(step)) 1009 CALL abort('select_buffer', message)1012 CALL inifor_abort('select_buffer', message) 1010 1013 END SELECT 1011 1014 END FUNCTION select_buffer … … 1036 1039 message = "Failed to read '" // TRIM(var) // & 1037 1040 "' from file '" // TRIM(input_file) // "'." 1038 CALL abort('get_pressure_var', message)1041 CALL inifor_abort('get_pressure_var', message) 1039 1042 1040 1043 END IF … … 1066 1069 message = "Failed to read '" // TRIM(attribute) // & 1067 1070 "' from file '" // TRIM(filename) // "'." 1068 CALL abort('get_netcdf_attribute', message)1071 CALL inifor_abort('get_netcdf_attribute', message) 1069 1072 1070 1073 END IF … … 1193 1196 message = "Variable kind '" // TRIM(var % kind) // & 1194 1197 "' not recognized." 1195 CALL abort('update_output', message)1198 CALL inifor_abort('update_output', message) 1196 1199 1197 1200 END SELECT … … 1214 1217 message = "NetCDF API call failed with error: " // & 1215 1218 TRIM( nf90_strerror(status) ) 1216 CALL abort('io.check', message)1219 CALL inifor_abort('io.check', message) 1217 1220 END IF 1218 1221
Note: See TracChangeset
for help on using the changeset viewer.