NCEPLIBS-bufr  12.0.0
mtinfo.f File Reference

Specify location of master BUFR tables on local file system. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine mtinfo (CMTDIR, LUNMT1, LUNMT2)
 Specify the directory location and Fortran logical unit numbers to be used when reading master BUFR tables on the local file system. More...
 

Detailed Description

Specify location of master BUFR tables on local file system.

Author
J. Ator
Date
2009-03-23

Definition in file mtinfo.f.

Function/Subroutine Documentation

◆ mtinfo()

recursive subroutine mtinfo ( character*(*)  CMTDIR,
  LUNMT1,
  LUNMT2 
)

Specify the directory location and Fortran logical unit numbers to be used when reading master BUFR tables on the local file system.

Parameters
[in]CMTDIR- character*(*): Directory location of master BUFR tables on local file system (up to 240 characters).
[in]LUNMT1- integer: First Fortran logical unit number to use when reading master BUFR tables on local file system.
[in]LUNMT2- integer: Second Fortran logical unit number to use when reading master BUFR tables on local file system.

See Master BUFR Tables for more information about master BUFR tables. In particular, note that this subroutine is normally only ever called after a prior call has been made to subroutine openbf() with IO = 'SEC3'. But in such cases, any call to this subroutine must be made prior to any subsequent calls to any of the BUFR message-reading subroutines for the associated BUFR file; otherwise, default values for CMTDIR, LUNMT1 and LUNMT2 will be used as defined within subroutine bfrini().

For CMTDIR, any full or relative directory pathname that is legal on the local filesystem is permissible, up to a total maximum length of 240 characters. The library will then automatically search within this directory for any necessary master table files and open and read them as needed.

The logical unit numbers LUNMT1 and LUNMT2 should be distinct from each other but should not already be assigned to any files on the local system.

Author
J. Ator
Date
2009-03-23

Definition at line 38 of file mtinfo.f.

References modv_im8b::im8b, strsuc(), and x84().

Referenced by bfrini(), fdebufr_c(), bufr_c2f_interface::mtinfo_c(), and sinv().