NCEPLIBS-bufr
11.5.0
|
Go to the source code of this file.
Functions/Subroutines | |
function | valx (STR) |
THIS FUNCTION DECODES A REAL NUMBER FROM A CHARACTER STRING. More... | |
Definition in file valx.f.
function valx | ( | character*(*) | STR | ) |
THIS FUNCTION DECODES A REAL NUMBER FROM A CHARACTER STRING.
IF THE DECODE FAILS, THEN THE VALUE BMISS IS RETURNED. NOTE THAT, UNLIKE FOR SUBROUTINE STRNUM, THE INPUT STRING MAY CONTAIN A LEADING SIGN CHARACTER (E.G. '+', '-').
PROGRAM HISTORY LOG: 1994-01-06 J. WOOLLEN – ORIGINAL AUTHOR 1998-07-08 J. WOOLLEN – REPLACED CALL TO CRAY LIBRARY ROUTINE "ABORT" WITH CALL TO NEW INTERNAL BUFRLIB ROUTINE "BORT" 1999-11-18 J. WOOLLEN – RENAMED THIS FUNCTION FROM "VAL$" TO "VALX" 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; CHANGED CALL FROM BORT TO BORT2 2009-04-21 J. ATOR – USE ERRWRT
USAGE: VALX (STR) INPUT ARGUMENT LIST: STR - CHARACTER*(*): STRING CONTAINING ENCODED REAL VALUE
OUTPUT ARGUMENT LIST: VALX - REAL: DECODED VALUE
REMARKS: THIS ROUTINE CALLS: BORT2 ERRWRT RJUST THIS ROUTINE IS CALLED BY: GETTBH NEMTBB UPFTBV Normally not called by any application programs but it could be.
Definition at line 39 of file valx.f.