Re: [ldm-users] ndfd via CONDUIT

  • To: Jeff Lake <jefflakejeff@xxxxxxxx>
  • Subject: Re: [ldm-users] ndfd via CONDUIT
  • From: daryl herzmann <akrherz@xxxxxxxxxxx>
  • Date: Thu, 4 Aug 2016 07:14:56 -0500
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=akrherz@xxxxxxxxxxx;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
Hi Jeff,

Your regex is not right.  The timestamp format is like:

201608041200F060

and you have:

([0-9][0-9][0-9][0-9])([0-9][0-9])([0-9][0-9])([0-9][0-9])0000F

Maybe this would work better?

([0-9][0-9][0-9][0-9])([0-9][0-9])([0-9][0-9])([0-9][0-9])00F...\/

In this situation, I like to manually test these out from the command line to see if any matches happen:

$ pqcat -v -l - -f CONDUIT -p 'data2/ndfd/YGUZ98_KWBN_......\.grib2 !grib2/nwstg/NWS_0/#000/([0-9][0-9][0-9][0-9])([0-9][0-9])([0-9][0-9])([0-9][0-9])00F...\/'
/dev/null
20160804T121340.660245Z pqcat[12522] NOTE pqcat.c:368:main() Starting Up (12522) 20160804T121342.302118Z pqcat[12522] INFO pqcat.c:77:writeprod() 709543 20160804105418.977063 CONDUIT 000 data2/ndfd/YGUZ98_KWBN_041050.grib2 !grib2/nwstg/NWS_0/#000/201608041100F013/TMXK/0 - NONE! 000000 20160804T121342.305676Z pqcat[12522] INFO pqcat.c:77:writeprod() 699241 20160804105419.075071 CONDUIT 002 data2/ndfd/YGUZ98_KWBN_041050.grib2 !grib2/nwstg/NWS_0/#000/201608041100F061/TMXK/0 - NONE! 000002 20160804T121342.325342Z pqcat[12522] INFO pqcat.c:77:writeprod() 707368 20160804105418.995549 CONDUIT 001 data2/ndfd/YGUZ98_KWBN_041050.grib2 !grib2/nwstg/NWS_0/#000/201608041100F037/TMXK/0 - NONE! 000001 20160804T121344.585110Z pqcat[12522] INFO pqcat.c:77:writeprod() 707368 20160804115316.633530 CONDUIT 001 data2/ndfd/YGUZ98_KWBN_041149.grib2 !grib2/nwstg/NWS_0/#000/201608041200F036/TMXK/0 - NONE! 000001 20160804T121344.585384Z pqcat[12522] INFO pqcat.c:77:writeprod() 709740 20160804115316.604073 CONDUIT 000 data2/ndfd/YGUZ98_KWBN_041149.grib2 !grib2/nwstg/NWS_0/#000/201608041200F012/TMXK/0 - NONE! 000000 20160804T121344.599628Z pqcat[12522] INFO pqcat.c:77:writeprod() 699241 20160804115316.782497 CONDUIT 002 data2/ndfd/YGUZ98_KWBN_041149.grib2 !grib2/nwstg/NWS_0/#000/201608041200F060/TMXK/0 - NONE! 000002
20160804T121345.617298Z pqcat[12522] NOTE pqcat.c:162:cleanup() Exiting
20160804T121345.681862Z pqcat[12522] NOTE pqcat.c:57:dump_stats() Number of products 6


daryl

On Thu, 4 Aug 2016, Jeff Lake wrote:

does anybody have a working pqact.conf entry for the ndfd daily MAXT

I have the following entry but it has not wrote anything to my disk

the only thing I have not tried is escaping  the directory separators

trying to match from here
http://www.unidata.ucar.edu/data/conduit_ndfd_20100629.html

CONDUIT     ^data2/ndfd/YGUZ98_KWBN_......\.grib2
!grib2/nwstg/NWS_0/#000/([0-9][0-9][0-9][0-9])([0-9][0-9])([0-9][0-9])([0-9][0-9])0000F\/.*


    FILE        -close /home2/data/ndfd/maxt_\1_\2_\3_\4.bin




--
/**
 * daryl herzmann
 * Systems Analyst III -- Iowa Environmental Mesonet
 * https://mesonet.agron.iastate.edu
 */



  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: