picar / pyrrd

Automatically exported from code.google.com/p/pyrrd
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add support to get graph PRINT data from command line #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
RRDTool lets you do some RPN calculations using VDEFs. However the only way to 
get this data is using the print command.

Current PyRRD does not expose the stdout data from the graph command to the 
user.

Feature was implemented in my forked version:

https://code.google.com/r/caseymcginty-pyrrd/source/detail?r=1cbb35de83d020525f2
d0aa373452a8084b684ec

Original issue reported on code.google.com by casey.mc...@gmail.com on 29 Nov 2011 at 3:30

GoogleCodeExporter commented 9 years ago
Casey - I'm a little worried about your fix conflicting with what I think is 
the correct fix for issue 20. (Where you should just return the result of _cmd 
because it could be the image file bytes.) I think it would be better to just 
return the output of _cmd and do the processing you're trying to do in 
_graph_stdout_to_dict outside of pyrrd

Original comment by ssuch...@gmail.com on 17 Jun 2012 at 3:54

GoogleCodeExporter commented 9 years ago
Yes, it does look like this conflicts. You can go with #20 fix as long as I can 
get the raw stream, that is fine. Thanks.

Original comment by casey.mc...@gmail.com on 20 Jun 2012 at 2:41