This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
On Sun, 17 Sep 2000, Michael W Dross wrote: > > > I have searched and could not find the answer... So I turn to you guys :-) > > Is there a way in defining a pqact.conf entry that will use the sequence > number?? I have tried with no luck. Consider the following example. > > > DDPLUS ^WHXX04 (....) ([0-3][0-9])([0-2][0-9])([0-5][0-9]) > FILE -overwrite data/tropical/GFDL_Hurricane_Guidance.(\2:mm)\2\3\4 > Mike, I looked at the pqact code about the feedtype and pattern matches, here's a comment that states the sequence number is NOT included in the match. * If the feedtype matches AND ((the product ID matches the * regular expression) OR (the pattern is "_ELSE_" AND nothing * has been done to this product yet AND the first char of * the ident isn't '_')) This is a problem because products coming from different NOAAport ingest systems will look differnt because of the different sequence number. In the ldm-5.1.2 release we added a -5 flag to pqing to NOT include the sequence number in the md5 checksum. Therefore, the checksum will just be on the data section of the product and it can designate these type of products as duplicates. At this time, we have not implemented this because it needs some synchronization between all the NOAAport ingest source site. I suspect it will happen in the next couple of months. Robb... > > Occasionally multiple bulletins with the same time/date heading are sent and > it > gets appended to the file (-overwrite doesn't prevent it > for some reason) the only difference is the sequence number. I thought this > might work, but doesn't. > > DDPLUS ^(...) WHXX04 (....) ([0-3][0-9])([0-2][0-9])([0-5][0-9]) > FILE -overwrite > data/tropical/GFDL_Hurricane_Guidance.\1(\3:mm)\3\4\5 > > > It seems the entry starts with WHXX04 and the sequence number cannot be > referenced?? > > Any ideas/suggestions would be greatly appreciated! > > Mike Dross > > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================