NCEPLIBS-bufr  12.0.0
ufbdmp.f File Reference

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

Go to the source code of this file.

Functions/Subroutines

recursive subroutine ufbdmp (LUNIN, LUPRT)
 Print the contents of a data subset. More...
 

Detailed Description

Print the contents of a data subset.

Authors
J. Woollen, J. Ator, D. Keyser
Date
1994-01-06

Definition in file ufbdmp.f.

Function/Subroutine Documentation

◆ ufbdmp()

recursive subroutine ufbdmp (   LUNIN,
  LUPRT 
)

Print the contents of a data subset.

This subroutine prints a verbose listing of the contents of a data subset, including all data values and replicated sequences, as well as jump/link table information and other internal subset pointers.

This subroutine is similar to subroutine ufdump(), 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 ABS(LUNIN) 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).

Parameters
[in]LUNIN- integer: Absolute value is Fortran logical unit number for BUFR file.
  • If LUNIN > 0, data values are printed to LUPRT using the format descriptor code 'G15.6', meaning that all values will be printed (since the format adapts to the order of magnitude of each value), but values won't necessarily be lined up with the decimal point in the same column
  • If LUNIN < 0, data values are printed to LUPRT using the format descriptor code 'F15.6', meaning that all values will be lined up with the decimal point in the same column, but values exceeding the format width of 15 characters will print as overflow (e.g. '***************')
[in]LUPRT- integer: Fortran logical unit number for print output:
  • 0 = Run interactively, printing to standard output
Authors
J. Woollen, J. Ator, D. Keyser
Date
1994-01-06

Definition at line 53 of file ufbdmp.f.

References bort(), ibfms(), moda_tables::ibt, icbfms(), modv_im8b::im8b, moda_msgcwd::inode, moda_usrint::inv, moda_tables::irf, moda_tables::isc, isize(), moda_tables::itp, moda_tables::jmpb, moda_tables::jump, moda_tables::link, nemtab(), moda_usrint::nval, readlc(), status(), moda_tababd::tabb, moda_tables::tag, moda_tables::typ, upftbv(), moda_usrint::val, and x84().