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

Re: ETA gribtonc PIPE



On Tue, 25 Jan 2005, Tomislav Urban wrote:

> Jeff/Robb -
>
>
>
> I'm attempting to pipe the ETA grib to gribtonc.  Here is my pqact.conf
> entry.  I've spelled out where I have Tabs ([TAB]) as opposed to spaces:
>
>
>
> HRS[TAB]^[YZ].B... KWBE
> ([0-3][0-9])([0-2][0-9][0-6][0-9])[TAB]PIPE[TAB]-close[TAB]/usr/local/de
> coders/gribtonc /usr/local/decoders/decoders-3.0.6/etc/eta_218.cdl
> /usr/local/ldm/data/eta/net_cdf/(\1:yyyy)/(\1:mm)/\1/eta218_(\1:yyyy)(\1
> :mm)\1\2.nc
>
Tomislav,

a couple of things:

- remove -close flag  that closes the pipe after each write, might cause
file corruption and the pqact entry trashing.

- as user ldm, try it from the command line with the same parameters as
the pqact entry.

/usr/local/decoders/gribtonc /usr/local/decoders/decoders-3.0.6/etc/eta_218.cdl
/usr/local/ldm/data/eta/net_cdf/eta218.nc < eta218.input

it's probably the -close flag

robb...
>
>
> I'm getting the following in the log:
>
>
>
> Jan 25 02:05:59 granger pqact[28142]: pbuf_flush (3) write: Broken pipe
>
> Jan 25 02:05:59 granger pqact[28142]: pipe_put:
> -close/usr/local/decoders/gribtonc/usr/local/decoders/decoders-3.0.6/etc
> /eta_218.cdl/usr/local/ldm/data/eta/net_cdf/2005/01/25/eta218_2005012500
> 00.nc write error
>
> Jan 25 02:05:59 granger pqact[28142]: pipe_prodput: trying again
>
> Jan 25 02:05:59 granger pqact[28142]: pbuf_flush (3) write: Broken pipe
>
> Jan 25 02:05:59 granger pqact[28142]: pipe_put:
> -close/usr/local/decoders/gribtonc/usr/local/decoders/decoders-3.0.6/etc
> /eta_218.cdl/usr/local/ldm/data/eta/net_cdf/2005/01/25/eta218_2005012500
> 00.nc write error
>
> Jan 25 02:05:59 granger pqact[28142]: child 28513 exited with status 127
>
>
> Jan 25 02:05:59 granger pqact[28142]: child 28515 exited with status 127
>
>
> Jan 25 02:06:01 granger pqact[28142]: pbuf_flush (3) write: Broken pipe
>
>
>
> ...
>
>
>
> Etc.
>
>
>
> I'm fairly certain permissions are not an issue.
>
> Any thoughts?
>
>
>
> PS - Robb - The actual file conversion (when I do it manually) seems to
> be working, thanks!
>
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================