[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #SWI-537938]: Help for excluding data in a regular expression in pqact (fwd)



Gilbert,

> A colleague of mine wants to use IDS|DDPLUS to get all data from Canada and 
> the
> U.S., and also ignore everything from outside those two countries, as well as
> KNCF and KWAL.
> 
> ^...... [KCP](^WAL|NCF)
> 
> ^...... [KCP](WAL|NCF){0}
> 
> do not work, but I thought I could make it simpler by just using DDPLUS.
> But will that pull in IDS too? And then what about KWAL and KNCF? Those two
> examples still let them in. I looked at this:
> 
> http://www.unidata.ucar.edu/software/ldm/ldm-6.7.0/basics/pqact.conf.html
> 
> And tried to do a search, but nothing gave me the answer I am looking for:
> 
> http://www.unidata.ucar.edu/support/help/MailArchives/ldm/msg04046.html
> 
> I was thinking maybe he could just use DDPLUS, or even DDS and PPS.

Don't bother trying to use any feedtype other than IDS|DDPLUS; the
NOAAPORT ingester that generates these products from the textual
channel sets all of those bits regardless of the actual data-
product (it has no choice).

I'm not sure what you're trying to do, exactly, but the pattern
"^...... (C|P|(K[^WN]|KW([^A]|A[^L])|KN([^C]|C[^F])))"  will
select all products whose country-code starts with a C, P, or K
except for KWAL and KNCF.

> Can you help? I'll take any and thank you in advance for any help!
> 
> *******************************************************************************
> Gilbert Sebenste                                                     ********
> (My opinions only!)                                                  ******
> Staff Meteorologist, Northern Illinois University                      ****
> E-mail: address@hidden                                  ***
> web: http://weather.admin.niu.edu                                      **
> *******************************************************************************

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: SWI-537938
Department: Support LDM
Priority: Normal
Status: Closed