24 COMMON /hrdwrd/ nbytw,nbitw,iord(8)
27 CHARACTER*128 bort_str
31 IF(len(
adn30).LT.l30 )
GOTO 900
32 IF(idn.LT.0 .OR. idn.GT.65535)
GOTO 901
34 WRITE(
adn30,
'(I5)') idn
37 idx = ishft(ishft(idn,nbitw-14),-(nbitw-6))
38 idy = ishft(ishft(idn,nbitw- 8),-(nbitw-8))
39 WRITE(
adn30,
'(I1,I2,I3)') idf,idx,idy
52 900
CALL bort(
'BUFRLIB: ADN30 - FUNCTION RETURN STRING TOO SHORT')
53 901
CALL bort(
'BUFRLIB: ADN30 - INTEGER REPRESENTATION OF '//
54 .
'DESCRIPTOR OUT OF 16-BIT RANGE')
55 902
WRITE(bort_str,
'("BUFRLIB: ADN30 - CHARACTER LENGTH (",I4,") '//
56 .
'MUST BE EITHER 5 OR 6")') l30
character *(*) function adn30(IDN, L30)
Convert a WMO bit-wise representation of an FXY value to a character string of length 5 or 6.
subroutine bort(STR)
Log one error message and abort application program.