|
NCEPLIBS-bufr
12.0.0
|
Read the section lengths of a BUFR message. More...
Go to the source code of this file.
Functions/Subroutines | |
| recursive subroutine | getlens (MBAY, LL, LEN0, LEN1, LEN2, LEN3, LEN4, LEN5) |
| This subroutine reads the lengths of all of the individual sections of a given BUFR message, up to a specified point in the message. More... | |
| recursive subroutine getlens | ( | dimension(*) | MBAY, |
| LL, | |||
| LEN0, | |||
| LEN1, | |||
| LEN2, | |||
| LEN3, | |||
| LEN4, | |||
| LEN5 | |||
| ) |
This subroutine reads the lengths of all of the individual sections of a given BUFR message, up to a specified point in the message.
This subroutine will work on any BUFR message encoded using BUFR edition 2, 3, or 4
| [in] | MBAY | – integer(*): BUFR message |
| [in] | LL | – integer: Number of last section for which the length is to be read. In other words, setting LL = N means to read and return the lengths of Sections 0 through N (i.e. LEN0, LEN1,...,LENN). Any section lengths that are not specified to be read are returned with a default placeholder value of -1. |
| [out] | LEN0 | – integer: Length (in bytes) of Section 0 |
| [out] | LEN1 | – integer: Length (in bytes) of Section 1 |
| [out] | LEN2 | – integer: Length (in bytes) of Section 2 |
| [out] | LEN3 | – integer: Length (in bytes) of Section 3 |
| [out] | LEN4 | – integer: Length (in bytes) of Section 4 |
| [out] | LEN5 | – integer: Length (in bytes) of Section 5 |
Definition at line 34 of file getlens.f.
References modv_im8b::im8b, iupb(), iupbs01(), x48(), and x84().
Referenced by atrcpt(), cktaba(), cnved4(), copysb(), iupbs3(), msgwrt(), stbfdx(), stndrd(), upds3(), wrdxtb(), and writlc().