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

Re: pqact file question - again (fwd)



andrew farnsworth wrote:
> 
> Hi Anne
> Thanks for your response. I can try to make the file available via FTP but I
> might not be able to do it until late today once I get into work. Basically,
> my question is that:
> 
> will the overwrite tag early in the pqact.conf file override any commands
> following it in terms of multiple images?
> 
> what we want to do is get hourly data all the time, and every frame during
> specific but variable hours of the day depending on sunset times.
> 
> Thanks
> andrew farnsworth
> clemson university radar ornithology laboratory
> 

Hi Andrew,

First, a general point: In pqact.conf, for products that match patterns
in multiple entries, all actions for those products will be executed. 
Actions are initiated in the order in which they are listed in the
file.  We don't know, however, in what order the actions will be
finished - that depends on how long the various processes take.

Regarding your specific question: No, 'overwrite' will not have any
effect on any subsequent pqact.conf entries.  Entries don't affect each
other, unless, for example, they write to a common file.  (The _ELSE_
pattern would be an exception - it's affected by what happens before
it.) 

There is one other point to be aware of regarding 'overwrite'.  There is
a situation where 'overwrite' does not behave as expected.  If the
pqact.conf entry that says '-overwrite' does not also say '-close', then
its possible for products that match the pattern for the entry to be
appended to the file.  This happens when the stream for that file is
able to stay open for a while, i.e., the file handle is not needed for
some other file. In that case, pqact will append the next product to the
file.  (This is in contradiction with the LDM Site Manager's Guide
discussion about the FILE action, p. 32, which is apparently wrong.)

I see in your pqact.conf you are using '-overwrite' without '-close'. 
Could that be causing a problem?  What are your symptoms?

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