NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
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

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().