14 recursive subroutine bort(str)
22 character*(*),
intent(in) :: str
30 call errwrt(
'***********BUFR ARCHIVE LIBRARY ABORT**************')
32 call errwrt(
'***********BUFR ARCHIVE LIBRARY ABORT**************')
47 recursive subroutine bort2(str1,str2)
55 character*(*),
intent(in) :: str1, str2
65 call errwrt(
'***********BUFR ARCHIVE LIBRARY ABORT**************')
68 call errwrt(
'***********BUFR ARCHIVE LIBRARY ABORT**************')
120 use modv_vars,
only: iprt
126 character,
intent(in) :: cbc
132 if (iprt >= 1)
call errwrt(
'++++++++++++++++++WARNING+++++++++++++++++++')
134 if (my_cbc ==
'Y')
then
137 if (iprt >= 1)
call errwrt(
'BUFRLIB: CATCH_BORTS - ENABLING BORT CATCHING')
138 else if (my_cbc ==
'N')
then
141 if (iprt >= 1)
call errwrt(
'BUFRLIB: CATCH_BORTS - DISABLING BORT CATCHING')
144 if (iprt >= 1)
call errwrt(
'BUFRLIB: CATCH_BORTS - ILLEGAL INPUT VALUE; NO ACTION WAS TAKEN')
147 if (iprt >= 1)
call errwrt(
'++++++++++++++++++WARNING+++++++++++++++++++')
167 use modv_vars,
only: iprt, im8b
173 character*(*),
intent(out) :: bort_str
175 integer,
intent(out) :: bort_str_len
182 call x48(bort_str_len,bort_str_len,1)
189 call errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
190 call errwrt(
'BUFRLIB: CHECK_FOR_BORT WAS CALLED WITHOUT HAVING PREVIOUSLY CALLED CATCH_BORTS')
191 call errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
recursive subroutine check_for_bort(bort_str, bort_str_len)
Check whether a bort error occurred during a previous call to an NCEPLIBS-bufr subroutine or function...
recursive subroutine bort(str)
Log an error message, then either return to or abort the application program.
integer function catch_borts(cbc)
Specify whether subsequent bort errors should be caught and returned to the application program.
recursive subroutine bort2(str1, str2)
Log two error messages, then either return to or abort the application program.
subroutine errwrt(str)
Specify a custom location for the logging of error and diagnostic messages generated by the NCEPLIBS-...
subroutine strsuc(str1, str2, lens)
Remove leading and trailing blanks from a character string.
subroutine capit(str)
Capitalize all of the alphabetic characters in a string.
Wrap C NCEPLIBS-bufr functions so they can be called from within the Fortran part of the library.
Declare variables used to optionally catch and return any future bort error string to the application...
integer caught_str_len
Length of bort error string.
character bort_catch
Flag indicating whether bort errors generated during all future calls to NCEPLIBS-bufr subroutines an...
character *300 caught_str
Bort error string.
logical bort_target_is_unset
.true.
subroutine x48(iin4, iout8, nval)
Encode one or more 4-byte integer values as 8-byte integer values.