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.
=============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ =============================================================================== ---------- Forwarded message ---------- Date: Wed, 12 Jul 2000 18:28:05 -0400 (EDT) From: C. Vandersip <address@hidden> To: address@hidden Subject: SUMMARY: Recent Pluto hiccups What a great group! Thanks to Russ Rew@Unidata, Tom McDermott@SUNY Albany, and Mark Lauferswieler@OU (by phone) for quick responses to my "dilemma". As a regex non-guru, I had miswritten the FILE line. Solution below, followed by original question: SOLUTION: ---------------- >From Russ Rew - "The arguments to the FILE action include "\3" referring to the third flagged part of the pattern, but there are only 2 parts of the pattern, ([0-3[0-9]) and ([0-2][0-9]). I suspect what you really want is:" WMO ^ACPN50.* .... ([0-3][0-9])([0-2][0-9]) FILE data/weather/HURR/(\1:yyyy)(\1:mm)\1\2.HURR ---------------- >From Tom McDermott - "The problem I see is that you have only 2 parenthesized expressions in your pattern but you are referencing a 3rd [ \3 ], which doesn't exist. Hence pqact chokes. Just curious, did you use the 'ldmadmin pqactcheck' command before HUPing pqact? I use it every time I make a change in 'pqact.conf' Unfortunately, it doesn't save you from making mistakes in 'ldmd.conf'." --------------- COMMENT: I did do a pqactcheck, but apparently it checks only for incorrect syntax, not for mis-referencing, because it came back 'syntatically correct'. ORIGINAL PROBLEM: My apologies to downstream sites for recent Pluto LDM outages. Last Friday, at the behest of an email request, I inserted some entries into pqact.conf so as to retrieve the Central Pacific Tropical Outlook (ACPN50 PHFO). While my syntax appears to be just fine, debug logging of pqact showed that pqact was choking on the product and crashing. Since the product comes in twice daily at 04 and 16UTC, this is when LDM was going down. I have commented out these lines and LDM is working fine now. I have included the lines below so if anyone sees a problem with the way it's written, please let me know. I'm just curious why this product would kill pqact and I suspect it's how I wrote the entry. Regards, Chris 766 #WMO ^ACPN50.* .... ([0-3][0-9])([0-2][0-9]) 767 # FILE data/weather/HURR/(\2:yyyy)(\2:mm)\2\3.HURR ############################################################### # Chris Vandersip # # Computer Research Specialist/Dept. Sysadmin # # Rm. 024, Dept. of Meteorology, Florida State University # # address@hidden (850)644-2522 # ###############################################################