NCEPLIBS-bufr 11.7.1
padmsg.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine padmsg (MESG, LMESG, NPBYT)
 THIS SUBROUTINE PADS A BUFR MESSAGE WITH ZEROED-OUT BYTES FROM THE END OF THE MESSAGE UP TO THE NEXT 8-BYTE BOUNDARY. More...
 

Detailed Description

Author
ATOR
Date
2005-11-29

Definition in file padmsg.f.

Function/Subroutine Documentation

◆ padmsg()

subroutine padmsg ( dimension(*)  MESG,
  LMESG,
  NPBYT 
)

THIS SUBROUTINE PADS A BUFR MESSAGE WITH ZEROED-OUT BYTES FROM THE END OF THE MESSAGE UP TO THE NEXT 8-BYTE BOUNDARY.

PROGRAM HISTORY LOG: 2005-11-29 J. ATOR – ORIGINAL AUTHOR

USAGE: CALL PADMSG (MESG, LMESG, NPBYT ) INPUT ARGUMENT LIST: MESG - INTEGER: *-WORD PACKED BINARY ARRAY CONTAINING BUFR MESSAGE LMESG - INTEGER: DIMENSIONED SIZE (IN INTEGER WORDS) OF MESG; USED BY THE SUBROUTINE TO ENSURE THAT IT DOES NOT OVERFLOW THE MESG ARRAY

OUTPUT ARGUMENT LIST: MESG - INTEGER: *-WORD PACKED BINARY ARRAY CONTAINING BUFR MESSAGE WITH NPBYT ZEROED-OUT BYTES APPENDED TO THE END NPBYT - INTEGER: NUMBER OF ZEROED-OUT BYTES APPENDED TO MESG

REMARKS: THIS ROUTINE CALLS: BORT IUPBS01 NMWRD PKB THIS ROUTINE IS CALLED BY: MSGWRT Also called by application programs.

Definition at line 28 of file padmsg.f.

References bort(), iupbs01(), nmwrd(), and pkb().

Referenced by msgwrt().