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

[IDD #CIX-410192]: GOES R script



Hi Gerry,

re:
> So miniconda3 and python are installed. I'm seeing the following in logs...
> 20190422T172329.599268Z                pqact[21486] pbuf.c:pbuf_flush() ERROR 
> Broken pipe
> 20190422T172329.599303Z                pqact[21486] pbuf.c:pbuf_flush() ERROR 
> Couldn't write to pipe: fd=1022, len=4096
> 20190422T172329.599315Z                pqact[21486] filel.c:pipe_put() ERROR 
> Couldn't write 135778-byte product to pipe
> 20190422T172329.599327Z                pqact[21486] filel.c:pipe_out() ERROR 
> Couldn't write product data to pipe
> 20190422T172329.599339Z                pqact[21486] filel.c:pipe_prodput() 
> ERROR Couldn't pipe product to decoder "-metadata scripts/l2assemble.py -g -t 
> 960 /work/LDM/radar/level2 -f raw --threads 20"
> 20190422T172329.599350Z                pqact[21486] 
> filel.c:fl_removeAndFree() ERROR Deleting failed PIPE entry: pid=21797, 
> cmd="-metadata scripts/l2assemble.py -g -t 960 /work/LDM/radar/level2 -f raw 
> --threads 20"
> 20190422T172329.599394Z                pqact[21486] palt.c:prodAction() ERROR 
> Couldn't process product: feedtype=NEXRAD2, 
> pattern="^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])/([0-9]*)/[0-9]*/(S|I|E)",
>  action=pipe, args="-metadata    scripts/l2assemble.py -g -t 960 
> /work/LDM/radar/level2    -f raw --threads 20"
> 20190422T172329.599522Z                pqact[21486] filel.c:reap() ERROR 
> Child 21797 exited with status 1
> 20190422T172329.601510Z                pqact[21798] filel.c:pipe_open() ERROR 
> No such file or directory
> 20190422T172329.601572Z                pqact[21798] filel.c:pipe_open() ERROR 
> Couldn't execute decoder 
> "scripts/l2assemble.py";PATH=/usr/local/ldm/bin:/usr/local/ldm/bin:/usr/lib64/qt-3.3/bin:/usr/share/centrifydc/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin
> 20190422T172329.601597Z                pqact[21798] pqact.c:cleanup() NOTE  
> Exiting
> 20190422T172329.604343Z                pqact[21486] pbuf.c:pbuf_flush() ERROR 
> Broken pipe
> 20190422T172329.604373Z                pqact[21486] pbuf.c:pbuf_flush() ERROR 
> Couldn't write to pipe: fd=1022, len=4096
> 20190422T172329.604385Z                pqact[21486] filel.c:pipe_put() ERROR 
> Couldn't write 104686-byte product to pipe
> 20190422T172329.604397Z                pqact[21486] filel.c:pipe_out() ERROR 
> Couldn't write product data to pipe
> 20190422T172329.604408Z                pqact[21486] filel.c:pipe_prodput() 
> ERROR Couldn't pipe product to decoder "-metadata scripts/l2assemble.py -g -t 
> 960 /work/LDM/radar/level2 -f raw --threads 20"
> 20190422T172329.604420Z                pqact[21486] 
> filel.c:fl_removeAndFree() ERROR Deleting failed PIPE entry: pid=21798, 
> cmd="-metadata scripts/l2assemble.py -g -t 960 /work/LDM/radar/level2 -f raw 
> --threads 20"
> 20190422T172329.604449Z                pqact[21486] palt.c:prodAction() ERROR 
> Couldn't process product: feedtype=NEXRAD2, 
> pattern="^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])/([0-9]*)/[0-9]*/(S|I|E)",
> action=pipe, args="-metadata    scripts/l2assemble.py -g -t 960 
> /work/LDM/radar/level2    -f raw --threads 20"
> 20190422T172329.604555Z                pqact[21486] filel.c:reap() ERROR 
> Child 21798 exited with status 1

The problem is most likely not having tabs as whitespace in all of the places
needed for the pattern-action file action.  Here is the action should read:

#
# ---------------------------------
# - NEXRAD Level II Radar WSR-88D -
# ---------------------------------
#
CRAFT<tab>^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])/([0-9]*)/[0-9]*/(S|I|E)
<tab>PIPE<tab>-metadata etc/TDS/ldm-alchemy/l2assemble.py -g -t 960 -d 
/data/ldm/pub/native/radar/level2 -f raw --threads 20
#
# File Model Data Message packets separately, since they are on a different
# time schedule
#
CRAFT<tab>^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])/[0-9]*/([0-9]*)/M
<tab>FILE<tab>-close 
/data/ldm/pub/native/radar/level2_model/\1/\2/Level2MDM_\1_\2_\3.ar2v

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: CIX-410192
Department: Support IDD
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.