NCEPLIBS-bufr
11.7.0
Main Page
Related Pages
Data Types List
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Pages
errwrt.f
Go to the documentation of this file.
1
C> @file
2
C> @brief Specify location for logging of error and diagnostic
3
C> messages.
4
5
C> This subroutine allows the user to specify a custom location for
6
C> the logging of error and diagnostic messages generated by the
7
C> BUFRLIB software.
8
C>
9
C> <p>By default, all such messages are printed to standard output.
10
C> However, if a user would like to direct such messages elsewhere,
11
C> this can be done by providing an inline version of this subroutine,
12
C> using the same calling sequence shown below, in order to override
13
C> the default version of this subroutine contained within the BUFRLIB
14
C> distribution package. The user does not need to explicitly call
15
C> this subroutine from within the application code, since the BUFRLIB
16
C> software automatically issues an internal call to errwrt when needed.
17
C> Instead, the user simply needs to define his or her own version of
18
C> this subroutine with the same name and calling sequence and include
19
C> it within the compilation, and then the input string STR can be
20
C> logged or handled in any way of the user's choosing.
21
C>
22
C> @author J. Ator
23
C> @date 2009-04-21
24
C>
25
C> @param[in] STR -- character*(*): Error message or other diagnostic
26
C> to be printed to standard output (default) or
27
C> to another location (if specified via an inline
28
C> replacement version of this subroutine)
29
C>
30
C> @remarks
31
C> - The amount and types of diagnostic messages generated for
32
C> logging can be controlled via a separate call to subroutine
33
C> openbf() with IO = 'QUIET'.
34
C>
35
C> <b>Program history log:</b>
36
C> | Date | Programmer | Comments |
37
C> | -----|------------|----------|
38
C> | 2009-04-21 | J. Ator | Original author |
39
C> | 2012-11-15 | D. Keyser | Use formatted print |
40
C>
41
SUBROUTINE
errwrt
(STR)
42
43
CHARACTER*(*)
str
44
45
print
'(1X,A)'
,str
46
47
RETURN
48
END
errwrt
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
Definition:
errwrt.f:41
nceplibs-bufr
src
errwrt.f
Generated by
1.8.5