NCEPLIBS-bufr  12.1.0
openbt.F90
Go to the documentation of this file.
1 
5 
30 recursive subroutine openbt(lundx,mtyp)
31 
32  use modv_vars, only: im8b
33 
34  implicit none
35 
36  integer, intent(in) :: mtyp
37  integer, intent(out) :: lundx
38  integer iprt, my_mtyp
39 
40  common /quiet/ iprt
41 
42  character*128 errstr
43 
44  ! Check for I8 integers
45  if(im8b) then
46  im8b=.false.
47  call x84(mtyp,my_mtyp,1)
48  call openbt(lundx,my_mtyp)
49  call x48(lundx,lundx,1)
50  im8b=.true.
51  return
52  endif
53 
54  if(iprt>=0) then
55  call errwrt('+++++++++++++++++++++WARNING+++++++++++++++++++++++')
56  errstr = 'BUFRLIB: OPENBT - THIS IS A DUMMY BUFRLIB ROUTINE'// &
57  ' CALLED BY CKTABA OR APPL. PGM; OPENBT SHOULD BE INCL. IN-LINE IN APPL. PGM'
58  call errwrt(errstr)
59  call errwrt('+++++++++++++++++++++WARNING+++++++++++++++++++++++')
60  call errwrt(' ')
61  endif
62 
63  lundx = 0
64 
65  return
66 end subroutine openbt
subroutine errwrt(str)
Specify a custom location for the logging of error and diagnostic messages generated by the NCEPLIBS-...
Definition: errwrt.F90:32
recursive subroutine openbt(lundx, mtyp)
Specify a DX BUFR table of last resort, in case subroutine cktaba() is unable to locate a DX BUFR tab...
Definition: openbt.F90:31
subroutine x48(iin4, iout8, nval)
Encode one or more 4-byte integer values as 8-byte integer values.
Definition: x4884.F90:18
subroutine x84(iin8, iout4, nval)
Encode one or more 8-byte integer values as 4-byte integer values.
Definition: x4884.F90:65