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.
Christian, You have a double "|" following the RH/2.m, which is likely causing your match of all products. Steve Chiswell Unidata User Support On Tue, 21 Nov 2006, [ISO-8859-1] Christian Pagé wrote: > Thanks to all who replied, it works well now! :-) > > However, I have noticed that even if I have such a regex in ldmd.conf: > request CONDUIT > "(status|MT.nam|prod/gfs.*PRMSL|prod/gfs.*HGT/500|prod/gfs.*HGT/1000|prod/gfs.*APCP|prod/gfs.*RH/2.m||prod/gfs.*TMP/2.m|prod/gfs.*TCDC/atmos_col|prod/gfs.*HGT/0C|prod/gfs.*UGRD;VGRD/10.m|prod/gefs.*TMPK/850)" > > It seems that all fields from prod/gfs are sent out because if, in my > pqact.conf, I write all incoming products, I get all the fields > nonetheless. I am trying to limit the bandwidth used by conduit. Is > there something I need to adjust in the regex to get only these > products sent out? > > Thanks again, > > Christian Page > UQAM > > 2006/11/20, JosephSheedy <address@hidden>: > > On Mon, Nov 20, 2006 at 02:01:53PM +0000, David Knight wrote: > > > > > The first thing I see is that > > > gfs\.(........)/gfs > > > does not match > > > gfs.2006112000/gfs > > > Your pattern only looks for 8 characters where there are 10. Try > > > gfs\.(........).*/gfs > > > > I find it really helps to use a regular expression debugger on big > > expressions like those in used in the LDM. They let you work the bugs > > out of your regular expressions quickly. I use Kodos, > > http://kodos.sourceforge.net/ , but there are others out there. > > > > -- > > Joseph Sheedy > > Technical Specialist, 3TIER Environmental Forecast Group > > address@hidden | (206)325-1573 x116 > > > > > -- > > =============================================================================== > To unsubscribe ldm-users, visit: > http://www.unidata.ucar.edu/mailing-list-delete-form.html > =============================================================================== >