[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I file these individually?
- Subject: Re: How do I file these individually?
- Date: Fri, 3 Jan 2003 09:39:57 -0700 (MST)
HI Celia,
The ingest time (20030102184401.477) is currently not a field that pqact
can act upon, so it is not possible to use that field for uniqeness. I
notice that all these files arrived at (18:44:17) so even if we use the %S
in the time stamp to use seconds as well as YY MM DD HH to identify the
prods they will overwrite. Perhaps you could give some more info re the
number of these files you get in a day, and if this was just a burst, or
if this arrival of prods is "normal". Ideally FSL would assign unique
names to these files, or at least sequence them, currently the sequence is
all (000) pqact CAN act on sequence. Options do exist [this can be done]
but having this additional info could lead us to the best option. We may
want to pipe to some script that would generate a unique file name like
the program "mktemp" or some other form of a shell script depending upon
the questions I brought up..ez fix would be to contact FSL and have them
assign unique file names or sequence numbers to the files, but if that
cannot be achieved, we can try some workarounds..
Thank you,
-Jeff
____________________________ _____________________
Jeff Weber address@hidden
Unidata Support PH:303-497-8676
COMET Case Study Library FX:303-497-8690
University Corp for Atmospheric Research 3300 Mitchell Ln
http://www.unidata.ucar.edu/staff/jweber Boulder,Co 80307-3000
________________________________________ ______________________
On Fri, 3 Jan 2003, Unidata Support wrote:
>
> ------- Forwarded Message
>
> >To: address@hidden
> >cc: address@hidden (Celia Chen)
> >From: Celia Chen <address@hidden>
> >Subject: How do I file these individually?
> >Organization: UCAR/Unidata
> >Keywords: 200301021917.h02JHst25152
>
> Dear support:
>
> I want to file the following feed into individual files instead of
> one file:
>
> Jan 02 18:44:17 pqutil: 280 20030102184401.477 FSL3 000
> FILTER.ACARS.UATurbulence.2003002184401.*
> Jan 02 18:44:17 pqutil: 280 20030102184401.485 FSL3 000
> FILTER.ACARS.UATurbulence.2003002184401.*
> Jan 02 18:44:17 pqutil: 281 20030102184401.531 FSL3 000
> FILTER.ACARS.UATurbulence.2003002184401.*
> Jan 02 18:44:17 pqutil: 280 20030102184401.541 FSL3 000
> FILTER.ACARS.UATurbulence.2003002184401.*
> Jan 02 18:44:17 pqutil: 280 20030102184401.561 FSL3 000
> FILTER.ACARS.UATurbulence.2003002184401.*
>
> Currently using the following pqact line:
>
> FSL3 ^FILTER.*.(20..)(...)(......).* FILE /weather/ACARS/\1\2/\3
>
> all the above files would go into one file "2003002184401". How can I file the
> first file to "20030102184401.477", the second file to "20030102184401.485",
> ...?
>
> Thanks in advance.
>
> Celia
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~ Celia Chen Research Applications Program (RAP)
> ~
> ~ Email: address@hidden National Center for Atmospheric Research (NCAR)
> ~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> ------- End of Forwarded Message
>
>