68 RECURSIVE FUNCTION iupbs01(MBAY,S01MNEM)
RESULT(IRET)
82 ok4cent(ival) = ((ival.GE.19).AND.(ival.LE.21))
105 IF(s01mnem.EQ.
'LENM')
THEN
106 iret =
iupb(mbay,5,24)
111 IF(s01mnem.EQ.
'LEN0')
THEN
118 iben =
iupb(mbay,8,8)
119 IF(s01mnem.EQ.
'BEN')
THEN
126 CALL gets1loc(s01mnem,iben,isbyt,iwid,iretgs)
128 iret =
iupb(mbay,len0+isbyt,iwid)
129 IF(s01mnem.EQ.
'CENT')
THEN
134 IF(.NOT.ok4cent(iret)) iret = -1
136 ELSE IF( (s01mnem.EQ.
'YEAR') .AND. (iben.LT.4) )
THEN
140 iyoc =
iupb(mbay,21,8)
141 icen =
iupb(mbay,26,8)
145 IF(ok4cent(icen))
THEN
152 iret = (icen-1)*100 + iyoc
158 iret =
i4dy(mod(iyoc,100)*1000000)/10**6
recursive subroutine gets1loc(S1MNEM, IBEN, ISBYT, IWID, IRET)
This subroutine returns the location of a specified value within Section 1 of a BUFR message.
recursive function i4dy(IDATE)
This function converts a date-time with a 2-digit year (YYMMDDHH) to a date-time with a 4-digit year ...
recursive function iupb(MBAY, NBYT, NBIT)
Decode an integer value from an integer array.
recursive function iupbs01(MBAY, S01MNEM)
Read a data value from Section 0 or Section 1 of a BUFR message.
This module declares and initializes the IM8B variable.
logical, public im8b
Status indicator to keep track of whether all future calls to BUFRLIB subroutines and functions from ...
subroutine wrdlen
Determine important information about the local machine.