77 CALL x84(lunit,my_lunit,1)
84 CALL strsuc( str, mystr, lens )
85 IF ( lens .EQ. -1 )
RETURN
87 lenc = min( len( chr ), 120 )
95 IF ( ( lunit .EQ.
luh4wlc(i) ) .AND.
96 . ( mystr(1:lens) .EQ.
sth4wlc(i)(1:lens) ) )
THEN
98 chh4wlc(i)(1:lenc) = chr(1:lenc)
106 IF (
nh4wlc .GE. mxh4wlc )
THEN
108 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
109 WRITE ( unit=errstr, fmt=
'(A,A,I3)' )
110 .
'BUFRLIB: HOLD4WLC - THE MAXIMUM NUMBER OF LONG CHARACTER ',
111 .
'STRINGS THAT CAN BE HELD INTERNALLY IS ', mxh4wlc
113 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
recursive subroutine hold4wlc(LUNIT, CHR, STR)
This subroutine writes a long character string (greater than 8 bytes) to a data subset.
This module contains array and variable declarations needed to store long character strings (greater ...
integer nh4wlc
Number of long character strings being stored.
character *14, dimension(:), allocatable sth4wlc
Table B mnemonics associated with long character strings.
integer, dimension(:), allocatable luh4wlc
I/O stream index into internal arrays for associated output file.
character *120, dimension(:), allocatable chh4wlc
Long character strings.
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 strsuc(str1, str2, lens)
This subroutine removes leading and trailing blanks from a character string.
subroutine x84(IIN8, IOUT4, NVAL)
Encode one or more 8-byte integer values as 4-byte integer values.