NCEPLIBS-bufr 11.7.1
ipks.f File Reference

Go to the source code of this file.

Functions/Subroutines

integer(8) function ipks (VAL, NODE)
 THIS FUNCTION PACKS A REAL*8 USER VALUE INTO A BUFR INTEGER BY APPLYING THE PROPER SCALE AND REFERENCE VALUES. More...
 

Detailed Description

Author
J
Date
2012-03-02

Definition in file ipks.f.

Function/Subroutine Documentation

◆ ipks()

integer(8) function ipks ( real*8  VAL,
  NODE 
)

THIS FUNCTION PACKS A REAL*8 USER VALUE INTO A BUFR INTEGER BY APPLYING THE PROPER SCALE AND REFERENCE VALUES.

NORMALLY THE SCALE AND REFERENCE VALUES ARE OBTAINED FROM INDEX NODE OF THE INTERNAL JUMP/LINK TABLE ARRAYS ISC(*) AND IRF(*); HOWEVER, THE REFERENCE VALUE IN IRF(*) WILL BE OVERRIDDEN IF A 2-03 OPERATOR IS IN EFFECT FOR THIS NODE.

PROGRAM HISTORY LOG: 2012-03-02 J. ATOR – ORIGINAL AUTHOR; ADAPTED FROM INTERNAL STATEMENT FUNCTION IN WRTREE 2014-12-10 J. ATOR – USE MODULES INSTEAD OF COMMON BLOCKS 2022-05-06 J. WOOLLEN – MAKE IMASK AND IPKS 8BYTE INTEGERS

USAGE: IPKS (VAL,NODE) INPUT ARGUMENT LIST: VAL - REAL*8: USER VALUE NODE - INTEGER: INDEX INTO INTERNAL JUMP/LINK TABLES

OUTPUT ARGUMENT LIST: IPKS - INTEGER*8: PACKED BUFR VALUE

REMARKS: THIS ROUTINE CALLS: None THIS ROUTINE IS CALLED BY: WRTREE Normally not called by any application programs.

Definition at line 31 of file ipks.f.

References moda_tables::ibt, moda_nrv203::ienrv, moda_nrv203::inodnrv, ipks(), moda_tables::irf, moda_tables::isc, moda_nrv203::isnrv, moda_nrv203::nnrv, moda_nrv203::nrv, moda_tables::tag, and moda_nrv203::tagnrv.

Referenced by ipks().