NCEPLIBS-bufr
12.0.0
|
Read/write one or more data values from/to a data subset. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | ufbsp (LUN, USR, I1, I2, IO, IRET) |
This subroutine writes or reads specified values to or from the current BUFR data subset within internal arrays, with the direction of the data transfer determined by the context of IO. More... | |
Read/write one or more data values from/to a data subset.
Definition in file ufbsp.f.
subroutine ufbsp | ( | LUN, | |
real*8, dimension(i1,i2) | USR, | ||
I1, | |||
I2, | |||
IO, | |||
IRET | |||
) |
This subroutine writes or reads specified values to or from the current BUFR data subset within internal arrays, with the direction of the data transfer determined by the context of IO.
The data values correspond to internal arrays representing parsed strings of mnemonics which are either part of a fixed (i.e. non-delayed) replication sequence, or for mnememonics which are replicated by being directly listed more than once within an overall subset definition.
This subroutine should never be directly called by an application program; instead, an application program should directly call ufbstp() which will internally call this subroutine.
This subroutine is similar to subroutine ufbrp(), but it is designed for different use cases. For a more detailed explanation of how subroutine ufbstp() differs from subroutine ufbrep(), and therefore how this subroutine differs from subroutine ufbrp(), see the discussion in DX BUFR Tables.
[in] | LUN | - integer: I/O stream index into internal memory arrays. |
[in,out] | USR | - real*8(*,*): Data values |
[in] | I1 | - integer: length of first dimension of USR. |
[in] | I2 | - integer: length of second dimension of USR. |
[in] | IO | - integer: status indicator for BUFR file associated with LUN:
|
[out] | IRET | - integer: number of "levels" of data values read from or written to data subset |
Definition at line 36 of file ufbsp.f.
References invtag(), moda_usrint::nval, and moda_usrint::val.
Referenced by ufbstp().