NCEPLIBS-bufr 11.7.1
upb8.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine upb8 (nval, nbits, ibit, ibay)
 THIS SUBROUTINE UNPACKS AND RETURNS AN 8-BYTE INTEGER CONTAINED WITHIN NBITS BITS OF IBAY, STARTING WITH BIT (IBIT+1). More...
 

Detailed Description

Author
WOOLLEN
Date
1994-01-06

Definition in file upb8.f.

Function/Subroutine Documentation

◆ upb8()

subroutine upb8 ( integer(8)  nval,
integer(4)  nbits,
integer(4)  ibit,
integer(4), dimension(*)  ibay 
)

THIS SUBROUTINE UNPACKS AND RETURNS AN 8-BYTE INTEGER CONTAINED WITHIN NBITS BITS OF IBAY, STARTING WITH BIT (IBIT+1).

IT IS SIMILAR TO BUFR ARCHIVE LIBRARY SUBROUTINE UP8, EXCEPT HERE IBIT IS NOT UPDATED UPON OUTPUT (AND THE ORDER OF ARGUMENTS IS DIFFERENT).

PROGRAM HISTORY LOG: 2022-05-06 J. WOOLLEN – ORIGINAL AUTHOR

USAGE: CALL UPB8 (NVAL, NBITS, IBIT, IBAY) INPUT ARGUMENT LIST: NBITS - INTEGER: NUMBER OF BITS OF IBAY WITHIN WHICH TO UNPACK NVAL IBIT - INTEGER: BIT POINTER WITHIN IBAY TO START UNPACKING FROM IBAY - INTEGER: *-WORD PACKED BINARY ARRAY CONTAINING PACKED NVAL

OUTPUT ARGUMENT LIST: NVAL - INTEGER*8: UNPACKED INTEGER

REMARKS: THIS ROUTINE CALLS: UPB UPBB THIS ROUTINE IS CALLED BY: RCSTPL RDTREE UFBGET UFBTAB UFBTAM
Normally not called by any application programs.

Definition at line 35 of file upb8.f.

References bort(), upb(), and upbb().

Referenced by rdtree(), ufbget(), ufbtab(), ufbtam(), and up8().