NCEPLIBS-bufr  12.0.0
getbmiss.f
Go to the documentation of this file.
1 C> @file
2 C> @brief Get the current placeholder value for "missing" data
3 C>
4 C> @author J. Woollen @date 2012-09-15
5 
6 C> This function returns the current placeholder value which
7 C> represents "missing" data when reading from or writing to
8 C> BUFR files.
9 C>
10 C> @returns getbmiss -- real*8: current placeholder value for
11 C> "missing" data
12 C>
13 C> This subroutine can be called at any time from within an
14 C> application program, and the returned value can then be
15 C> used to represent "missing" data within the context of
16 C> future calls to any of the other BUFRLIB
17 C> [values-reading subroutines](@ref hierarchy) or
18 C> [values-writing subroutines](@ref hierarchy).
19 C> This placeholder value can also be changed at any
20 C> time via a separate call to subroutine setbmiss().
21 C>
22 C> @author J. Woollen @date 2012-09-15
23  RECURSIVE FUNCTION getbmiss() RESULT(R8VAL)
24 
25  USE modv_im8b
26  USE modv_bmiss
27 
28  real*8 r8val
29 
30 C-----------------------------------------------------------------------
31 C-----------------------------------------------------------------------
32 
33 C Check for I8 integers.
34 
35  IF(im8b) THEN
36  im8b=.false.
37 
38  r8val=getbmiss()
39 
40  im8b=.true.
41  RETURN
42  ENDIF
43 
44  CALL openbf(0,'FIRST',0)
45 
46  r8val = bmiss
47 
48  RETURN
49  END
recursive real *8 function getbmiss()
This function returns the current placeholder value which represents "missing" data when reading from...
Definition: getbmiss.f:24
This module declares and initializes the BMISS variable.
Definition: modules_vars.F90:9
real *8, public bmiss
Current placeholder value to represent "missing" data when reading from or writing to BUFR files; thi...
This module declares and initializes the IM8B variable.
logical, public im8b
Status indicator to keep track of whether all future calls to BUFRLIB subroutines and functions from ...
recursive subroutine openbf(LUNIT, IO, LUNDX)
Connects a new file to the NCEPLIBS-bufr software for input or output operations, or initializes the ...
Definition: openbf.f:124