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

20050727: LDM troubles



>From: Brian Olsen <address@hidden>
>Organization: MesoWest/UUtah
>Keywords: 200507271854.j6RIs8jo008940 LDM pqact.conf

Hi Brian,

>I attended the LDM workshop last week and installed LDM on my home box.
>
>I can see data coming into the product queue from viewing 'ldmadmin watch':
>Jul 27 18:49:18 pqutil INFO:      135 20050727184918.152 IDS|DDPLUS 115295953 
>  SAUS46 KLOX 271849 /pMTRCQT
>Jul 27 18:49:30 pqutil INFO:      280 20050727184930.444 IDS|DDPLUS 115296131 
>  FXUS56 KMTR 271849 /pMVF001
>Jul 27 18:50:05 pqutil INFO:      130 20050727185003.825 IDS|DDPLUS 115296480 
>  SAUS45 KGGW 271849 /pMTRJDN
>Jul 27 18:50:49 pqutil INFO:      117 20050727185048.646 IDS|DDPLUS 115297201 
>  NZUS99 KMTR 271850 /pHRRSFD
>Jul 27 18:50:59 pqutil INFO:      101 20050727185057.981 IDS|DDPLUS 115297321 
>  NZUS99 KMTR 271850 /pHRROKL
>
>The ldmd.conf file contains:
>EXEC    "pqact"
>
>The pqact.conf file contains:
>DDPLUS  "MTR(...)"
>        FILE    -overwrite -close -flush /home/ldm/data/ldm/\1/MTR\1
>
>...and nothing is being written to /home/ldm/data/ldm
>
>ideas?

Yes.  Remove the quotes from around the pattern you are specifying:

change:

DDPLUS  "MTR(...)"
        FILE    -overwrite -close -flush /home/ldm/data/ldm/\1/MTR\1

to:

DDPLUS  MTR(...)
        FILE    -overwrite -close -flush /home/ldm/data/ldm/\1/MTR\1

I assume you know that the pattern you are specifying with 'MTR(...)'
will match 'MTR 27' in the headers you included from your 'ldmadmin
watch' listing resulting in '\1' evaluationg to ' 27'.

Also, for consistency with other uses of datastream names, change
DDPLUS to IDS|DDPLUS.  This will have no real effect since the bit
pattern will be the same.  It will make your pqact.conf action look
like others and match the datastream name listed for 'ldmadmin watch'
invocations.

Cheers,

Tom Yoksas
--
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.