NCEPLIBS-bufr
11.5.0
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | strnum (STR, NUM) |
THIS SUBROUTINE DECODES AN INTEGER FROM A CHARACTER STRING. More... | |
Definition in file strnum.f.
subroutine strnum | ( | character*(*) | STR, |
NUM | |||
) |
THIS SUBROUTINE DECODES AN INTEGER FROM A CHARACTER STRING.
THE INPUT STRING SHOULD CONTAIN ONLY DIGITS AND (OPTIONAL) TRAILING BLANKS AND SHOULD NOT CONTAIN ANY SIGN CHARACTERS (E.G. '+', '-') NOR LEADING BLANKS NOR EMBEDDED BLANKS.
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 2009-04-21 J. ATOR – USE ERRWRT
USAGE: CALL STRNUM (STR, NUM) INPUT ARGUMENT LIST: STR - CHARACTER*(*): STRING CONTAINING ENCODED INTEGER VALUE
OUTPUT ARGUMENT LIST: NUM - INTEGER: DECODED VALUE -1 = decode was unsuccessful
REMARKS: THIS ROUTINE CALLS: ERRWRT STRSUC THIS ROUTINE IS CALLED BY: JSTNUM PARUTG SEQSDX SNTBFE STSEQ Normally not called by any application programs but it could be.
Definition at line 33 of file strnum.f.
References errwrt(), and strsuc().
Referenced by fdebufr(), jstnum(), parutg(), seqsdx(), sntbfe(), and stseq().