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

Re: pqact question



>
> Date: Wed, 1 Mar 2000 15:49:27 -0500 (EST)
> From: Alan F Cunningham <address@hidden>
> To: Robb Kambic <address@hidden>
> Cc: support-ldm <address@hidden>
> Subject: pqact question
>
> I have a problem which I might be able to fix with the pqact.conf,
> I'm trying to get NIDS files once an hour with a line like this..
>
> WSI
> ^NEX/(...)/BREF1/..([0-9][0-9])([0-1][0-9])([0-3][0-9])([0-2][0-9])(1[0-9])
>         FILE    /usr/local/ldm/data/nexrad/\2/\1r0/\3\4\5\6.nid
>
> This works fine for stations in clear air mode, where I would get one file
> per hour (ending either in ......10.nid or ......15.nid) because the
> update rate is 10-11 minutes for the mode.  However,
> in precip mode (updates 5-6 minutes), I get two files every hour, ending
> in ......10.nid and ......15.nid.  This is a problem of storage and
> scheduling.
>
> Would _ELSE_ be able to help me with a line like this appended to the one
> above?
>
> WSI     ^_ELSE_$ NOOP
>
> I feel like I would need the abilty to define a regular pattern for
> _ELSE_ to
> really do the job.
>
> Alan Cunningham
> Clemson University Radar Ornithology Lab
> 310 Jordan Hall
> 864-656-3584
> hubcap.clemson.edu/~acunnin

Hi Alan,

I'm not quite sure exactly what your end goal is, here.  My understanding is 
that
you want just one file per hour.  If that is the case, and you don't care if the
resulting file name includes the minute portion of the timestamp of the product,
then you could simply remove the '\6' from the end of your pqact.conf entry, or
put some place holder string in its place.  Then each time a product arrived it
would overwrite the same file.  You would always have the latest version of 
either
the X:10 or the X:15 product.

Is this what you want?

Anne

--
***************************************************
Anne Wilson                     UCAR Unidata Program
address@hidden                  P.O. Box 3000
                                  Boulder, CO  80307
----------------------------------------------------
Unidata WWW server       http://www.unidata.ucar.edu/
****************************************************