30 COMMON /hrdwrd/ nbytw,nbitw,iord(8)
33 CHARACTER*128 bort_str
38 IF(len(
adn30).LT.l30 )
GOTO 900
39 IF(idn.LT.0 .OR. idn.GT.65535)
GOTO 901
41 WRITE(
adn30,
'(I5)') idn
44 idx = ishft(ishft(idn,nbitw-14),-(nbitw-6))
45 idy = ishft(ishft(idn,nbitw- 8),-(nbitw-8))
46 WRITE(
adn30,
'(I1,I2,I3)') idf,idx,idy
59900
CALL bort(
'BUFRLIB: ADN30 - FUNCTION RETURN STRING TOO SHORT')
60901
CALL bort(
'BUFRLIB: ADN30 - INTEGER REPRESENTATION OF '//
61 .
'DESCRIPTOR OUT OF 16-BIT RANGE')
62902
WRITE(bort_str,
'("BUFRLIB: ADN30 - CHARACTER LENGTH (",I4,") '//
63 .
'MUST BE EITHER 5 OR 6")') l30
character *(*) function adn30(IDN, L30)
This function converts an FXY value from its bit-wise (integer) representation to its 5 or 6 characte...
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...