NCEPLIBS-w3emc 2.12.0
|
Test two pds (grib product definition section) to see if all equal; otherwise .false. More...
Go to the source code of this file.
Functions/Subroutines | |
logical function | iw3pds (l1, l2, key) |
Test two pds (grib product definition section) to see if all equal; otherwise .false. | |
Test two pds (grib product definition section) to see if all equal; otherwise .false.
Definition in file iw3pds.f.
logical function iw3pds | ( | character*1, dimension(24) | l1, |
character*1, dimension(24) | l2, | ||
key | |||
) |
Test two pds (grib product definition section) to see if all equal; otherwise .false.
if key = 1, all 24 characters are tested, if key = 0 , the date (characters 13-17) are not tested. If key = 2, 11 of 1st 12 bytes are tested. Byte 4 is is not tested, so table version number can change and your program will still work. If key=3, test bytes 1-3, 7-12.
Program history log:
USAGE: II = IW3PDS(L1,L2,KEY) II = IW3PDB(L1,L2,KEY) ALIAS
[in] | L1 | character array to match with l2, l1 can also be a 3 word integer array. |
[in] | L2 | character array to match with l1, l2 can also be a 3 word integer array. |
[in] | KEY | 0, DO NOT INCLUDE THE DATE (BYTES 13-17) IN MATCH.
|