29 COMMON /hrdwrd/ nbytw,nbitw,iord(8)
32 CHARACTER*128 bort_str
37 IF(len(
adn30).LT.l30 ) goto 900
38 IF(idn.LT.0 .OR. idn.GT.65535) goto 901
40 WRITE(
adn30,
'(I5)') idn
43 idx = ishft(ishft(idn,nbitw-14),-(nbitw-6))
44 idy = ishft(ishft(idn,nbitw- 8),-(nbitw-8))
45 WRITE(
adn30,
'(I1,I2,I3)') idf,idx,idy
58 900 CALL
bort(
'BUFRLIB: ADN30 - FUNCTION RETURN STRING TOO SHORT')
59 901 CALL
bort(
'BUFRLIB: ADN30 - INTEGER REPRESENTATION OF '//
60 .
'DESCRIPTOR OUT OF 16-BIT RANGE')
61 902
WRITE(bort_str,
'("BUFRLIB: ADN30 - CHARACTER LENGTH (",I4,") '//
62 .
'MUST BE EITHER 5 OR 6")') l30
character *(*) function adn30(IDN, L30)
This function converts a descriptor 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() ...