NCEPLIBS-bufr  12.0.1
ufdump.f File Reference

Print the contents of a data subset. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine ufdump (LUNIT, LUPRT)
 This subroutine prints a verbose listing of the contents of a data subset, including all data values and replicated sequences, as well as the meanings of data values which are code or flag table entries. More...
 

Detailed Description

Print the contents of a data subset.

Authors
J. Woollen, J. Ator
Date
2002-05-14

Definition in file ufdump.f.

Function/Subroutine Documentation

◆ ufdump()

recursive subroutine ufdump (   LUNIT,
  LUPRT 
)

This subroutine prints a verbose listing of the contents of a data subset, including all data values and replicated sequences, as well as the meanings of data values which are code or flag table entries.

This subroutine is similar to subroutine ufbdmp(), but it prints different characteristics of each data subset, and in a slightly different format. However, both subroutines can be useful for different diagnostic purposes, and both can also be run interactively to scroll through the contents of a data subset.

Logical unit LUNIT should have already been opened for input operations via a previous call to subroutine openbf(), and a BUFR data subset should have already been read into internal arrays via a previous call to one of the subset-reading subroutines.

Except when LUPRT = 0, logical unit LUPRT must already be associated with a filename on the local system, typically via a Fortran "OPEN" statement. When LUPRT = 0, the subroutine will run interactively and print to standard output, scrolling 20 lines at a time and prompting each time whether to quit and return to the application program (by typing 'q' then '<Enter>') or continue scrolling (by typing anything else).

In order for the meanings of code and flag table values to be included in the output, a previous call to subroutine codflg() must have been made with argument CF = 'Y'. Otherwise, only the code and flag table values themselves will be printed.

Parameters
[in]LUNIT– integer: Fortran logical unit number for BUFR file
[in]LUPRT– integer: Fortran logical unit number for print output
  • 0 = Run interactively, printing to standard output
Authors
J. Woollen, J. Ator
Date
2002-05-14

Definition at line 43 of file ufdump.f.

References bort(), fstag(), ibfms(), moda_tables::ibt, icbfms(), modv_im8b::im8b, moda_msgcwd::inode, moda_nrv203::inodnrv, moda_usrint::inv, ireadmt(), moda_tables::irf, moda_tables::isc, isize(), moda_tables::itp, nemtab(), moda_nrv203::nnrv, moda_usrint::nrfelm, moda_msgcwd::nsub, numtbd(), moda_usrint::nval, readlc(), status(), strsuc(), moda_tababd::tabb, moda_tables::tag, moda_tables::typ, upftbv(), moda_usrint::val, and x84().

Referenced by fdebufr_c(), readbp(), and readmp().