NCEPLIBS-bufr  12.0.1
dxdump.f File Reference

Print the contents of a DX BUFR table. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine dxdump (LUNIT, LDXOT)
 This subroutine prints a copy of the DX BUFR table associated with a specified Fortran logical unit. More...
 

Detailed Description

Print the contents of a DX BUFR table.

Author
J. Ator
Date
2004-08-18

Definition in file dxdump.f.

Function/Subroutine Documentation

◆ dxdump()

recursive subroutine dxdump (   LUNIT,
  LDXOT 
)

This subroutine prints a copy of the DX BUFR table associated with a specified Fortran logical unit.

This subroutine is especially useful for learning the structure of existing BUFR files which contain DX BUFR table information embedded as BUFR messages within those files. The DX BUFR table is printed using the same ASCII format described in the documentation for DX BUFR Tables, so the output file is suitable for use as Fortran logical unit LUNDX in subsequent calls to subroutine openbf() for reading or writing additional BUFR files with the same structure.

Parameters
[in]LUNIT– integer: Fortran logical unit number for BUFR file
[in]LDXOT– integer: Fortran logical unit number for print output

Logical unit LUNIT must be open for either input or output operations via a previous call to subroutine openbf(). Logical unit LDXOT must already be associated with a filename on the local system, typically via a Fortran "OPEN" statement.

Remarks
  • This subroutine only prints the DX BUFR table that is currently in scope for logical unit LUNIT. Therefore, if logical unit LUNIT contains multiple embedded DX BUFR tables, then multiple calls to this subroutine must be made to print out all of the tables, once while each table is in scope for a data subset defined within that particular table.
Author
J. Ator
Date
2004-08-18

Definition at line 38 of file dxdump.f.

References bort(), modv_im8b::im8b, moda_nmikrp::irp, moda_nmikrp::krp, moda_nmikrp::nem, nemtbd(), moda_tababd::ntba, moda_tababd::ntbb, moda_tababd::ntbd, status(), strsuc(), moda_tababd::taba, moda_tababd::tabb, moda_tababd::tabd, and x84().

Referenced by fdebufr_c(), and gettab().