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

20010511: 20010510: uncompressed level-2 data (fwd)



Celia,

The uncommented (second) action only has 4 sets of (), so it is 
incorrect to expect \5. The one with the ([^/]*) pattern is commented out
in your message below.

Given a data file named:
L2-BZIP2/KHTX/20010510215950/70/51

A reasonable pattern would be:

NMC3    
^L2-BZIP2/(....)/([0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-9][0-9])/(..)/(..)
        PIPE    /home/ldm/bin/nexradII_bz       
/scratch/ldm/level2_dc/\1/\2_\3_\4.dc


Steve Chiswell
Unidata User Support



>From: Celia Chen <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200105111559.f4BFx5p22897

>Hi Steve,
>
>I have \5 in the action line because pqact is treating (....) as the second ac
> tion
>for some reason. I get KHTX as \2 in my output directory structure:
> 
>/scratch/ldm/level2_dc/KHTX/
>
>And BZIP2 used to be the first action as in the following:
>
>NMC3    ^L2-([^/]*)/(....)/
>> 
>> 
>> Celia,
>> 
>> Your uncommented action:
>> NMC3    ^L2-BZIP2/(....)/([0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9][0-2][0-9]
> [0-5][0-9][0-9][0-9])/(..)/(..)
>>         PIPE    /home/ldm/bin/nexradII_bz       /scratch/ldm/level2_dc/\2/\3
> _\5.dc
>> 
>> does not have 5 parentheses () sets, so your use of \5 is incorrect. You are
>  not using \4 in the above action.
>> 
>> Steve Chiswell
>> Unidata User Support
>> 
>> 
>> >From: Celia Chen <address@hidden>
>> >Organization: UCAR/Unidata
>> >Keywords: 200105102251.f4AMpCp17126
>> 
>> >I was using the following in my pqact.conf to capture the NEXRAD level-2 da
> ta 
>> > and it 
>> >apprently captures the entire volume:
>> >
>> >NMC3   ^L2-([^/]*)/(....)/([0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9][0-2][0-
> 9][
>> > 0-5][0-9][0-9][0-9])
>> >        PIPE   /home/ldm/bin/nexradII_bz       /scratch/ldm/level2_dc/\2/\3
> _.d
>> > c
>> >
>> >So I tried with the following to capture a beam-to-beam file but without su
> cce
>> > ss:
>> >
>> >#NMC3   ^L2-([^/]*)/(....)/([0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9][0-2][0
> -9]
>> > [0-5][0-9][0-9][0-9])/(..)/(..)
>> >        #PIPE   /home/ldm/bin/nexradII_bz       /scratch/ldm/level2_dc/\2/\
> 3_\
>> > 4_\5.dc
>> ># L2-BZIP2/
>> >NMC3    ^L2-BZIP2/(....)/([0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9][0-2][0-9
> ][0
>> > -5][0-9][0-9][0-9])/(..)/(..)
>> >        PIPE    /home/ldm/bin/nexradII_bz       /scratch/ldm/level2_dc/\2/\
> 3_\
>> > 5.dc
>> >
>> >
>> >This is what the file names look like when I did ldmadmin watch:
>> >
>> >May 10 22:03:16 pqutil:     5818 20010510220459.632    NMC3 70051  L2-BZIP2
> /KH
>> > TX/20010510215950/70/51
>> >May 10 22:03:22 pqutil:     7781 20010510220505.399    NMC3 70052  L2-BZIP2
> /KH
>> > TX/20010510215950/70/52
>> >   
>> >
>> >I don't understand why I am not getting the 4th(\4) and/or the 5th(\5) valu
> e o
>> > n my file name
>> >either. 
>> >
>> >-rw-r--r--   1 ldm      root       639724 May 10 16:44 20010510224037_.dc
>> >-rw-r--r--   1 ldm      root       696200 May 10 16:04 20010510215950__.dc
>> >-rw-r--r--   1 ldm      root     13920792 May 10 15:53 20010510214939.dc
>> >
>> >Please help!
>> >
>> >Thanks in advance.
>> >
>> >Celia
>> >
>> 
>> ****************************************************************************
>> Unidata User Support                                    UCAR Unidata Program
>> (303)497-8644                                                  P.O. Box 3000
>> address@hidden                                   Boulder, CO 80307
>> ----------------------------------------------------------------------------
>> Unidata WWW Service                        http://www.unidata.ucar.edu/     
>> ****************************************************************************
>> 
>
>
>-- 
>Celia Chen
>RAP/NCAR
>
>"Nothing is as strong as gentleness or as gentle as strength."
>                                       - Dove Milk Promises
>
>