NCEPLIBS-bufr
11.7.0
|
Encode an integer value within a character string. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | ipkm (CBAY, NBYT, N) |
This subroutine encodes an integer value within a specified number of bytes of a character string, up to a maximum of 8 bytes. More... | |
Encode an integer value within a character string.
Definition in file ipkm.f.
subroutine ipkm | ( | character*8 | CBAY, |
NBYT, | |||
N | |||
) |
This subroutine encodes an integer value within a specified number of bytes of a character string, up to a maximum of 8 bytes.
[in] | N | – integer: Value to be encoded |
[in] | NBYT | – integer: Number of bytes of CBAY (up to a maximum of 8) within which to encode N |
[out] | CBAY | – character*(*): String of length NBYT bytes containing encoded integer N |
Program history log:
Date | Programmer | Comments |
---|---|---|
1994-01-06 | J. Woollen | Original author |
1998-07-08 | J. Woollen | Replaced call to Cray library routine ABORT with call to new internal routine bort() |
2003-11-04 | J. Woollen | Modified to be endian-independent |
2003-11-04 | J. Ator | Added documentation |
2003-11-04 | S. Bender | Added remarks and routine interdependencies |
2003-11-04 | D. Keyser | Unified/portable for WRF; added documentation; outputs more complete diagnostic info when routine terminates abnormally |
Definition at line 27 of file ipkm.f.
References bort(), and irev().
Referenced by bfrini(), chrtrna(), crbmg(), pkc(), pktdd(), readlc(), upc(), wrcmps(), and wrtree().