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

Go to the source code of this file.

Functions/Subroutines

function ifxy (ADSC)
 THIS FUNCTION RETURNS THE INTEGER CORRESPONDING TO THE BIT-WISE REPRESENTATION OF AN INPUT CHARACTER FXY VALUE OF LENGTH SIX. More...
 

Detailed Description

Author
WOOLLEN
Date
1994-01-06

Definition in file ifxy.f.

Function/Subroutine Documentation

function ifxy ( character*6  ADSC)

THIS FUNCTION RETURNS THE INTEGER CORRESPONDING TO THE BIT-WISE REPRESENTATION OF AN INPUT CHARACTER FXY VALUE OF LENGTH SIX.

PROGRAM HISTORY LOG: 1994-01-06 J. WOOLLEN – ORIGINAL AUTHOR 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

USAGE: IFXY (ADSC) INPUT ARGUMENT LIST: ADSC - CHARACTER*6: CHARACTER FORM OF DESCRIPTOR (FXY VALUE)

OUTPUT ARGUMENT LIST: IFXY - INTEGER: BIT-WISE REPRESENTATION OF DESCRIPTOR (FXY) VALUE

REMARKS:

 EXAMPLE:

 If ADSC = '063022', then IFXY = 16150 since:

 0       63           22

 F |     X     |       Y
   |           |
0 0 1 1 1 1 1 1 0 0 0 1 0 1 1 0  =

 ( 2**13 + 2**12 + 2**11 + 2**10 +
         2**9 + 2**8 + 2**4 + 2**2 + 2**1 )  = 16150

THIS ROUTINE CALLS: None THIS ROUTINE IS CALLED BY: BFRINI DXINIT GETNTBE GETCFMNG IDN30 IREADMT NEMTAB NEMTBB NEMTBD NUMTBD READS3 RESTD SNTBDE SNTBFE STBFDX STNTBI STSEQ UFBQCP Normally not called by any application programs but it could be.

Definition at line 49 of file ifxy.f.

Referenced by bfrini(), dxinit(), getcfmng(), getntbe(), idn30(), ireadmt(), nemtab(), nemtbb(), nemtbd(), nummtb(), numtbd(), reads3(), restd(), sntbde(), sntbfe(), stbfdx(), stntbi(), stseq(), and ufbqcp().