NCEPLIBS-bufr
12.0.0
|
Get the current message number and data subset number within a BUFR file. More...
Go to the source code of this file.
Functions/Subroutines | |
recursive subroutine | ufbcnt (LUNIT, KMSG, KSUB) |
Get the current message number and data subset number within a BUFR file. More... | |
Get the current message number and data subset number within a BUFR file.
Definition in file ufbcnt.f.
recursive subroutine ufbcnt | ( | LUNIT, | |
KMSG, | |||
KSUB | |||
) |
Get the current message number and data subset number within a BUFR file.
This subroutine returns the current location of the file pointer within a BUFR file, in terms of a message number counting from the beginning of the file, and a data subset number counting from the beginning of that message.
[in] | LUNIT | - integer: Fortran logical unit number for BUFR file. |
[out] | KMSG | - integer: Ordinal number of current message, counting from the beginning of the BUFR file, but not counting any messages which contain DX BUFR tables information. |
[out] | KSUB | - integer: Ordinal number of current data subset within (KMSG)th message, counting from the beginning of the message. |
Definition at line 40 of file ufbcnt.f.
References bort(), modv_im8b::im8b, moda_msgcwd::nmsg, moda_msgcwd::nsub, status(), x48(), and x84().