NCEPLIBS-bufr  12.0.0
ufbrp.f File Reference

Read/write one or more data values from/to a data subset. More...

Go to the source code of this file.

Functions/Subroutines

subroutine ufbrp (LUN, USR, I1, I2, IO, IRET)
 This subroutine writes or reads specified data 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...
 

Detailed Description

Read/write one or more data values from/to a data subset.

Author
J. Woollen
Date
1994-01-06

Definition in file ufbrp.f.

Function/Subroutine Documentation

◆ ufbrp()

subroutine ufbrp (   LUN,
real*8, dimension(i1,i2)  USR,
  I1,
  I2,
  IO,
  IRET 
)

This subroutine writes or reads specified data 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 ufbrep() which will internally call this subroutine.

Parameters
[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:
  • 0 input file
  • 1 output file
[out]IRET- integer: number of "levels" of data values read from or written to data subset
Author
J. Woollen
Date
1994-01-06

Definition at line 30 of file ufbrp.f.

References invtag(), moda_usrint::nval, and moda_usrint::val.

Referenced by ufbrep().