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

[TIGGE #BGR-338705]: A problem when perform LDM tests

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.


  • Subject: [TIGGE #BGR-338705]: A problem when perform LDM tests
  • Date: Mon, 25 Jun 2007 09:24:16 -0600

Hello YangXin,

> Following your hints on the creation of a reagular expression, I can save the 
> receiving DONDUIT products into files now, one thing I am still not sure 
> about is where I should use <tab> and where I should put a <space>. Is it a 
> rule of "regular expression" or a rule of the LDM?

The syntax for entries in the "pqact" configuration-file is specified
at 
<http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/pqact.conf.html>.
Basically, a <tab> character or a <newline> character followed by a
<tab> character must follow the feedtype (e.g. CONDUIT), pattern (e.g.,
".*"), and action (e.g., FILE) fields.  After the action field, you
may use either tab characters or space characters.  So, for example,
your entry can be

CONDUIT<tab>(2007)(.*)<space>.*
<tab>FILE<tab>-close<tab-or-space>-overwrite<tab-or-space>data/tigge_test/conduit/\1\2

Because it's difficult to remember where spaces are allowed, I
recommend always using tab characters unless you truly want
to specify a space (as you did in the regular-expression field).

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: BGR-338705
Department: Support IDD TIGGE
Priority: Critical
Status: Open