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.
Hi, re: example tsunami report headers > address@hidden> wrote: > > > Hi, > > > > re: > > > Thanks. I'll make that work. I've got a list of the WMO IDs, but the > > events > > > are infrequent enough I was hoping someone (you immediately sprang to > > mind) > > > might know. > > > > If you could share some of the WMO IDs, I could poke around on the net to > > see what can be seen. > > re: > Looks like WEXX[34]?, WECA[34]? Hmm... I just did a Google search using the search key 'wmo tsunami headers' and the first hit was: Tsunami Product Codes - WMO Headers (August 2007) https://iotic.ioc-unesco.org/wp-content/uploads/2020/07/Global_Tsunami_Warning_and_Advisory_Message_Products.pdf As you will see, the WEXX30 products are: Public Tsunami Warnings, Watches, and Advisories. This PDF, which is old, does not show WEXX4 products. Here is the URL for a page that looks more current (2017, at least): https://www.tsunami.gov/?page=product_list From this table, the headers you note above, WEXX[34] and WECA[34] look like some of the ones that you may be interested in. If the headers you sent are the only ones of interest, then a regular expression to be used in an LDM pattern-action file that should work could be: WE(XX|CA)[34] I would try an action that looks like: WMO (WE(XX|CA)[34]) .... (..)(..)(..) FILE -close /data/ldm/pub/native/text/tsunami/\3:yyyy\3:mm\3/\1_\3\4\5 Remember: WMO == IDS|DDPLUS|HDS This is just a guess, of course :-) Cheers, Tom -- **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: FXV-631344 Department: Support IDD Priority: Normal Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.