NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
nemtbb.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine nemtbb (LUN, ITAB, UNIT, ISCL, IREF, IBIT)
 THIS SUBROUTINE CHECKS ALL OF THE PROPERTIES (E.G. More...
 

Detailed Description

Author
WOOLLEN
Date
1994-01-06

Definition in file nemtbb.f.

Function/Subroutine Documentation

subroutine nemtbb (   LUN,
  ITAB,
character*24  UNIT,
  ISCL,
  IREF,
  IBIT 
)

THIS SUBROUTINE CHECKS ALL OF THE PROPERTIES (E.G.

FXY VALUE, UNITS, SCALE FACTOR, REFERENCE VALUE, ETC.) OF A SPECIFIED MNEMONIC WITHIN THE INTERNAL BUFR TABLE B ARRAYS (IN MODULE TABABD) IN ORDER TO VERIFY THAT THE VALUES OF THOSE PROPERTIES ARE ALL LEGAL AND WELL-DEFINED. IF ANY ERRORS ARE FOUND, THEN AN APPROPRIATE CALL IS MADE TO BUFR ARCHIVE LIBRARY SUBROUTINE BORT.

PROGRAM HISTORY LOG: 1994-01-06 J. WOOLLEN – ORIGINAL AUTHOR 1995-06-28 J. WOOLLEN – INCREASED THE SIZE OF INTERNAL BUFR TABLE ARRAYS IN ORDER TO HANDLE BIGGER FILES 1998-07-08 J. WOOLLEN – REPLACED CALL TO CRAY LIBRARY ROUTINE "ABORT" WITH CALL TO NEW INTERNAL BUFRLIB ROUTINE "BORT"; CORRECTED SOME MINOR ERRORS 1999-11-18 J. WOOLLEN – CHANGED CALL TO FUNCTION "VAL$" TO "VALX" (IT HAS BEEN RENAMED TO REMOVE THE POSSIBILITY OF THE "$" SYMBOL CAUSING PROBLEMS ON OTHER PLATFORMS) 2003-11-04 J. ATOR – ADDED DOCUMENTATION 2003-11-04 S. BENDER – ADDED REMARKS/BUFRLIB ROUTINE INTERDEPENDENCIES 2003-11-04 D. KEYSER – UNIFIED/PORTABLE FOR WRF; ADDED HISTORY DOCUMENTATION; OUTPUTS MORE COMPLETE DIAGNOSTIC INFO WHEN ROUTINE TERMINATES ABNORMALLY 2014-12-10 J. ATOR – USE MODULES INSTEAD OF COMMON BLOCKS

USAGE: CALL NEMTBB (LUN, ITAB, UNIT, ISCL, IREF, IBIT) INPUT ARGUMENT LIST: LUN - INTEGER: I/O STREAM INDEX INTO INTERNAL MEMORY ARRAYS ITAB - INTEGER: POSITIONAL INDEX INTO INTERNAL BUFR TABLE B ARRAYS FOR MNEMONIC TO BE CHECKED

OUTPUT ARGUMENT LIST: UNIT - CHARACTER*24: UNITS OF MNEMONIC ISCL - INTEGER: SCALE FACTOR OF MNEMONIC IREF - INTEGER: REFERENCE VALUE OF MNEMONIC IBIT - INTEGER: BIT WIDTH OF MNEMONIC

REMARKS: THIS ROUTINE CALLS: BORT IFXY VALX THIS ROUTINE IS CALLED BY: CHEKSTAB RESTD TABENT Normally not called by any application programs.

Definition at line 49 of file nemtbb.f.

References bort(), ifxy(), and valx().

Referenced by chekstab(), restd(), and tabent().