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

[LDM #ZCO-919906]: pqact Question



Mike,

> Using LDM I'm trying to download and save files of type SPARE.  I have
> configured ldmd.conf to request the files and I appear to be receiving
> the files (they show up using ldmamin watch and in the pqact.log file).
> The problem I'm having is I can't seem to find any way to configure
> pqact.conf to use the FILE action to save the incoming files to disk.
> 
> I noticed on a web page
> (http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/feedtypes/i
> ndex.html) that it states that the SPARE feed type is "Reserved for IDD
> use".  Does this mean I can't save the SPARE feed type to my system?

You can use the SPARE feedtype. You must ensure, however, that products so 
tagged are not distributed on the IDD network.

> Attached are copies of my pqact.log and pqact.conf files.  Any help
> would be appreciated.  Thanks

The log file contained this:

Jul 03 13:05:08 pqact[12498] INFO:     3992 20120703130507.258    FSL3 000  
prcntil_p06i_95pt_lmrfc_2012070312f072.grb

Jul 03 13:05:08 pqact[12498] INFO:                file: 
/apps/rfc/ldm_data/import/qpfc2max/prcntil_p06i_95pt_lmrfc_2012070312f072.grb

Jul 03 13:07:02 pqact[12498] INFO:    26518 20120703130635.894   SPARE 000  
/home/wdssii/data/realtime/VTA_grib2/HSR_QPE_01H/HSR_QPE_01H_00.00_00.00_20120703-125500.grib2.gz

Jul 03 13:09:50 pqact[12498] INFO:    12006 20120703130940.932   SPARE 000  
/home/wdssii/data/realtime/VTA_grib2/GaugeCorr_QPE_01H/GaugeCorr_QPE_01H_00.00_00.00_20120703-090000.grib2.gz

I couldn't find where in the pqact(1) program the INFO-level log message "file: 
..." is emitted. What version of the LDM are you running?

The pqact(1) configuration-file contains this:

SPARE   ^(/home/wdssii/data/realtime/VTA_grib2/HSR_QPE_01H)/(.*)

        FILE    -log /apps/rfc/ldm_data/import/test/\2

This entry should have worked with the above data-product as can be seen from 
the regex(1) utility:

$ regex -s 
'/home/wdssii/data/realtime/VTA_grib2/HSR_QPE_01H/HSR_QPE_01H_00.00_00.00_20120703-125500.grib2.gz'
 '^(/home/wdssii/data/realtime/VTA_grib2/HSR_QPE_01H)/(.*)'
match

Are you certain that the pqact(1) process is using the given pqact(1) 
configuration-file?

Incidentally, a better way to write the pqact(1) configuration-file entry is

SPARE   ^/home/wdssii/data/realtime/VTA_grib2/HSR_QPE_01H/(.*)
        FILE    -log /apps/rfc/ldm_data/import/test/\1

Also, entries like this:

SPARE|FT4       ^(.*)/home/wdssii/data/realtime/VTA_grib2/HSR_QPE_01H/(.*)

        FILE    -log /apps/rfc/ldm_data/import/test/\2

should be written like this, instead

SPARE|FT4       /home/wdssii/data/realtime/VTA_grib2/HSR_QPE_01H/(.*)

        FILE    -log /apps/rfc/ldm_data/import/test/\1

Is there any chance I could log onto the system in question as the LDM user in 
order to investigate?

> Mike
> 
> <<pqact.log>>  <<pqact.conf>>
> 
> Michael P. McGee
> Tennessee Valley Authority
> WT 5D - 462
> 400 West Summit Hill Drive
> Knoxville, TN  37902
> Phone: (865) 632-2134  Fax: (865) 632-4212
> email: address@hidden

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: ZCO-919906
Department: Support LDM
Priority: Normal
Status: Closed