NCEPLIBS-bufr  12.0.1
igetrfel.f File Reference

Check whether a specified element refers to a previous element within the same subset via an internal bitmap. More...

Go to the source code of this file.

Functions/Subroutines

integer function igetrfel (N, LUN)
 This function checks whether the input element refers to a previous element within the same subset via an internal bitmap. More...
 

Detailed Description

Check whether a specified element refers to a previous element within the same subset via an internal bitmap.

Author
J Ator
Date
2016-05-27

Definition in file igetrfel.f.

Function/Subroutine Documentation

◆ igetrfel()

integer function igetrfel (   N,
  LUN 
)

This function checks whether the input element refers to a previous element within the same subset via an internal bitmap.

If so, then the referenced element is returned. In addition, if the input element is a 2-XX-255 marker operator, its scale factor, bit width and reference value are set internally to match those of the referenced element.

Parameters
[in]N- integer: subset element.
[in]LUN- integer: I/O stream index into internal memory arrays.
Returns
Subset element referenced by element N within the same subset.
  • 0 input element does not refer to a previous element, or referenced element not found.
Author
J. Ator
Date
2016-05-27

Definition at line 22 of file igetrfel.f.

References adn30(), bort(), moda_bitmaps::ctco, moda_tables::ibt, moda_bitmaps::ibtmse, moda_nrv203::ienrv, imrkopr(), moda_msgcwd::inode, moda_nrv203::inodnrv, moda_bitmaps::inodtamc, moda_bitmaps::inodtco, moda_usrint::inv, moda_tables::irf, moda_tables::isc, moda_nrv203::isnrv, moda_bitmaps::istbtm, moda_bitmaps::iszbtm, moda_tables::itp, lstjpb(), moda_bitmaps::lstnod, moda_bitmaps::lstnodct, moda_bitmaps::nbtm, moda_bitmaps::nbtmse, nemtab(), moda_nrv203::nnrv, moda_nrv203::nrv, moda_bitmaps::ntamc, moda_bitmaps::ntco, moda_usrint::nval, moda_tables::tag, and moda_nrv203::tagnrv.

Referenced by rcstpl(), and rdcmps().