W3FI62
The W3FI62 routine builds 80-CHAR on295 queue descriptor.
USAGE: CALL W3FI62 (LOC,TTAAII,KARY,IERR)
Input argument list:
TTAAII - FIRST 6 CHARACTERS OF WMO HEADER
KARY - INTEGER ARRAY CONTAINING USER INFORMATION
(1) = DAY OF MONTH
(2) = HOUR OF DAY
(3) = HOUR * 100 + MINUTE
(4) = CATALOG NUMBER
(5) = NUMBER OF 80 BYTE INCREMENTS
(6) = NUMBER OF BYTES IN LAST INCREMENT
(7) = TOTAL SIZE OF MESSAGE
WMO HEADER + BODY OF MESSAGE IN BYTES
(NOT INCLUDING QUEUE DESCRIPTOR)
Output argument list: (INCLUDING WORK ARRAYS)
LOC - LOCATION TO RECEIVE QUEUE DESCRIPTOR
KARY - SEE INPUT ARGUMENT LIST
IERR - ERROR RETURN
REMARKS:
If total size is entered (kary(7)) then kary(5) and
kary(6) will be calculated.
If kary(5) and kary(6) are provided then kary(7) will
be ignored.
WARNING:
Equivalence array loc to integer array so it starts on
a word boundary for sbyte subroutine.
Error returns:
IERR = 1 Total byte count and/or 80 byte increment
count is missing. One or the other is
required to complete the queue descriptor.
IERR = 2 Total size too small.
W3lib.tar |
Library contains Fortran 90 decoder/encoder
routines for GRIB edition 1. (Fortran90)
Date posted: 2/22/2007 |