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

[LDM #RBC-161524]: Question about pqact string



Gilbert,

> Someone I know had a question about a pqact entry. He wants this:
> 
> SRUS67 KGSP 101654 /pSVRGSP
> 
> > WMO ^([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-5][0-9]).([0-9][0-9][0-9]).*([KP][A-Z][A-Z][A-Z]).*/p([A-Z][A-Z]
> > [A-Z])([A-Z][A-Z][A-Z])
> > FILE    -strip data/currentwwa/3/45.12
> >
> > This should create a file like:
> >
> > /data/currentwwa/KGSP/SVRSGF.20081210165513717
> >
> > Nothing ever ends up in the directory.
> 
> I know he's got the first part wrong, but I've never done the date like he
> has. How can he do it successfully?

Because the timestamp in the WMO header is only accurate to
the minute, the timestamp on an output file can only have that
resolution as well.

The following entry

WMO<tab>^SRUS67 ([A-Z]{4}) ([0-3][0-9])([0-2][0-9][0-6][0-9]) /p(.*)
<tab>FILE<tab>-strip data/currentwwa/1/4.(2:yyyy)(2:mm)(2:dd)3

would create the file

    $HOME/data/currentwwa/KGSP/SVRGSP.200812101654

from the product-identifier

    SRUS67 KGSP 101654 /pSVRGSP

More information can be found at
<http://www.unidata.ucar.edu/software/ldm/ldm-6.7.0/basics/pqact.conf.html>.

> *******************************************************************************
> Gilbert Sebenste                                                     ********
> (My opinions only!)                                                  ******
> Staff Meteorologist, Northern Illinois University                      ****
> E-mail: address@hidden                                  ***
> web: http://weather.admin.niu.edu                                      **
> *******************************************************************************


Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: RBC-161524
Department: Support LDM
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.