You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(15) |
Sep
(21) |
Oct
(15) |
Nov
|
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(7) |
Feb
(6) |
Mar
(2) |
Apr
(5) |
May
(6) |
Jun
(3) |
Jul
(4) |
Aug
(4) |
Sep
(3) |
Oct
(14) |
Nov
(16) |
Dec
(10) |
2004 |
Jan
(5) |
Feb
(10) |
Mar
(4) |
Apr
(8) |
May
(1) |
Jun
(5) |
Jul
(5) |
Aug
(4) |
Sep
(10) |
Oct
(3) |
Nov
(4) |
Dec
|
2005 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(15) |
May
(12) |
Jun
(1) |
Jul
(4) |
Aug
(3) |
Sep
(6) |
Oct
(7) |
Nov
(21) |
Dec
(11) |
2006 |
Jan
(16) |
Feb
(12) |
Mar
(4) |
Apr
(6) |
May
(5) |
Jun
(9) |
Jul
|
Aug
(5) |
Sep
(1) |
Oct
(10) |
Nov
(4) |
Dec
(3) |
2007 |
Jan
(6) |
Feb
(4) |
Mar
(6) |
Apr
(11) |
May
(1) |
Jun
(21) |
Jul
|
Aug
(6) |
Sep
(2) |
Oct
(4) |
Nov
|
Dec
|
2008 |
Jan
(14) |
Feb
(1) |
Mar
(5) |
Apr
(22) |
May
(4) |
Jun
(1) |
Jul
(7) |
Aug
(5) |
Sep
(7) |
Oct
(3) |
Nov
|
Dec
(1) |
2009 |
Jan
(14) |
Feb
(1) |
Mar
(9) |
Apr
(5) |
May
(6) |
Jun
(7) |
Jul
(8) |
Aug
(3) |
Sep
|
Oct
|
Nov
(2) |
Dec
(4) |
2010 |
Jan
(2) |
Feb
|
Mar
(6) |
Apr
(6) |
May
(34) |
Jun
|
Jul
(8) |
Aug
(3) |
Sep
|
Oct
(5) |
Nov
(3) |
Dec
(1) |
2011 |
Jan
|
Feb
(4) |
Mar
(3) |
Apr
|
May
|
Jun
(5) |
Jul
(9) |
Aug
(5) |
Sep
(9) |
Oct
(3) |
Nov
(10) |
Dec
(1) |
2012 |
Jan
(1) |
Feb
(3) |
Mar
(2) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(3) |
Nov
(2) |
Dec
(9) |
2014 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2016 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
(1) |
8
(3) |
9
|
10
(2) |
11
(1) |
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
From: Michael T. C. <mt...@ic...> - 2003-01-08 21:13:47
|
Thanks to everyone for the input. Turned out that adding the path to gnuplot in the bash script that was calling the gnuplot.py routine which is all being called from a cron entry did the trick. Thanks again, mtc Michael Haggerty wrote: > Hi, > > My guess is that "gnuplot: not found" indicates that the gnuplot > program (not the Python package but the program itself) is not in your > PATH. > > If that is not the case, make sure that you don't have problems with > temporary files being deleted before they are used. The FAQ.txt file > in the latest CVS version of Gnuplot.py has more information about > this well-known problem. > > If you are interested in Gnuplot.py issues, you might consider > subscribing to the mailing list. You can do that through SourceForge, > > http://sourceforge.net/projects/gnuplot-py > > Let me know if it helps, > Michael > > Michael T. Colee wrote: > >> Hello and thanks for the efforts on gnuplot.py, really a nice tool. >> I'm hoping you might have some insight into a problem I'm having as a >> relatively new python and gnuplot.py user. >> >> I've written a rather brute force script that generates png plots of >> various meteorological fields for posting on a web page. When I run >> it from the command line it functions beautifully and generates all >> my plots in the locations I want them. If you are curious to see the >> results what I'm doing you can look at: >> >> http://neige.bren.ucsb.edu/mmsa/images/weekly/default.htm >> & >> http://neige.bren.ucsb.edu/mmsa/images/daily/default.htm >> >> When I go to run the routine scheduled from a cron entry however, it >> chokes. The system I'm on is running W2K server and I've got cron >> running under cygwin which calls various scripts every hour to >> generate the pages I need. Other python scripts work fine in this >> manner, for example, the following page: >> >> http://neige.bren.ucsb.edu/mmsa/images/hourly/LatestMet.htm >> >> is automatically generated hourly from a seperate python script >> called from the same cron entry. >> >> So, the code (Plotmmsa.py) I'm having trouble with is: >> >> _________________________________________________________ >> #...bunch of prep stuff cut out for brevity... >> print "Read in and set various lists, starting plots. Last depth >> reading:" >> print PlatformTemp[-1:] #make sure we've got data in our lists (we do). >> >> #g = Gnuplot.Gnuplot() >> g = Gnuplot.Gnuplot(debug=1) #debug=1 outputs gnuplot commands to stdout >> g('set data style lines') >> #g('set data style linespoints') >> g('set term png color') >> >> >> g.title('Temperature') >> g.xlabel('Day of Year') >> g.ylabel('Degrees C') >> #This is line 106 which seems to be the problem: >> g('set output "/home/mmsa/wwwroot/mmsa/images/weekly/PlatformTemp.png"') >> g.plot(PlatformTemp[-700:]) #Plot the last 7 days of data. >> time.sleep(1) #Wait for gnuplot to do it's thing. >> g('set output "/home/mmsa/wwwroot/mmsa/images/daily/PlatformTemp.png"') >> g.plot(PlatformTemp[-96:]) #Plot the last day of data. >> time.sleep(1) #Wait for gnuplot to do it's thing. >> #...Rest of plots left out for brevity... >> __________________________________________________________ >> >> >> Output from running Plotmmsa.py at the command prompt: >> >> $ ../bin/python/Plotmmsa.py >> Read in and set various lists, starting plots. Last depth reading: >> [[7.458333333333333, 3.8610000000000002]] >> gnuplot> set data style lines >> gnuplot> set term png color >> gnuplot> set title "Temperature" >> gnuplot> set xlabel "Day of Year" >> gnuplot> set ylabel "Degrees C" >> gnuplot> set output >> "/home/mmsa/wwwroot/mmsa/images/weekly/PlatformTemp.png" >> gnuplot> plot '/cygdrive/c/WINNT/TEMP/@1648.0' notitle >> gnuplot> set output >> "/home/mmsa/wwwroot/mmsa/images/daily/PlatformTemp.png" >> gnuplot> plot '/cygdrive/c/WINNT/TEMP/@1648.1' notitle >> __________________________________________________________ >> >> Output from cron running the same program: >> >> gnuplot> set data style lines >> gnuplot> set term png color >> gnuplot> set title "Temperature" >> gnuplot> set xlabel "Day of Year" >> gnuplot> set ylabel "Degrees C" >> gnuplot> set output >> "/home/mmsa/wwwroot/mmsa/images/weekly/PlatformTemp.png" >> gnuplot> plot '/cygdrive/c/WINNT/TEMP/@1984.0' notitle >> gnuplot: not found >> Read in and set various lists, starting plots. Last depth reading: >> [[7.458333333333333, 3.8610000000000002]] >> Traceback (most recent call last): >> File "/home/mmsa/bin/python/Plotmmsa.py", line 106, in ? >> g('set output >> "/home/mmsa/wwwroot/mmsa/images/daily/PlatformTemp.png"') >> File "/usr/lib/python2.2/site-packages/Gnuplot/_Gnuplot.py", line >> 206, in __call__ >> self.gnuplot(s) >> File "/usr/lib/python2.2/site-packages/Gnuplot/gp_unix.py", line >> 203, in __call__ >> self.flush() >> IOError: [Errno 32] Broken pipe >> >> _________________________________________________________ >> >> Any suggestions would be much appreciated. My next step will be to >> get gnuplot.py running on a linux box and see if I have the same >> problems there. >> >> Thanks in advance, >> mtc >> > > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Michael Colee Internet: mt...@ic... ICESS & Bren SESM Phone : (805) 893-2883 University of California Fax : (805) 893-6113 Santa Barbara CA 93106-3060 Office : 1001 Bren Hall =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
From: Joachim W. <wu...@cr...> - 2003-01-08 08:26:55
|
Michael: > When I go to run the routine scheduled from a cron entry however, it=20 > chokes. The system I'm on is running W2K server and I've got cron=20 > running under cygwin which calls various scripts every hour=20 > to generate the pages I need. > #This is line 106 which seems to be the problem: > g('set output "/home/blabla/out.png"') I guess, the problem is not so much with Python and Gnuplot, but rather with the interaction of W2K, Cygwin, and cron. It looks to me as if your cron job simply doesn't know about the Cygwin file name mapping. Try with a little test script. Alternatively, try with "Windows" (i.e. DOS) file names "D:\cygwin\home\blabla\out.png". Good luck, Joachim |
From: <kai...@t-...> - 2003-01-08 08:18:10
|
Hi, My guess is that "gnuplot: not found" indicates that the gnuplot program (not the Python package but the program itself) is not in your PATH. If that is not the case, make sure that you don't have problems with temporary files being deleted before they are used. The FAQ.txt file in the latest CVS version of Gnuplot.py has more information about this well-known problem. If you are interested in Gnuplot.py issues, you might consider subscribing to the mailing list. You can do that through SourceForge, http://sourceforge.net/projects/gnuplot-py Let me know if it helps, Michael Michael T. Colee wrote: > Hello and thanks for the efforts on gnuplot.py, really a nice tool. > I'm hoping you might have some insight into a problem I'm having as a > relatively new python and gnuplot.py user. > > I've written a rather brute force script that generates png plots of > various meteorological fields for posting on a web page. When I run > it from the command line it functions beautifully and generates all my > plots in the locations I want them. If you are curious to see the > results what I'm doing you can look at: > > http://neige.bren.ucsb.edu/mmsa/images/weekly/default.htm > & > http://neige.bren.ucsb.edu/mmsa/images/daily/default.htm > > When I go to run the routine scheduled from a cron entry however, it > chokes. The system I'm on is running W2K server and I've got cron > running under cygwin which calls various scripts every hour to > generate the pages I need. Other python scripts work fine in this > manner, for example, the following page: > > http://neige.bren.ucsb.edu/mmsa/images/hourly/LatestMet.htm > > is automatically generated hourly from a seperate python script called > from the same cron entry. > > So, the code (Plotmmsa.py) I'm having trouble with is: > > _________________________________________________________ > #...bunch of prep stuff cut out for brevity... > print "Read in and set various lists, starting plots. Last depth > reading:" > print PlatformTemp[-1:] #make sure we've got data in our lists (we do). > > #g = Gnuplot.Gnuplot() > g = Gnuplot.Gnuplot(debug=1) #debug=1 outputs gnuplot commands to stdout > g('set data style lines') > #g('set data style linespoints') > g('set term png color') > > > g.title('Temperature') > g.xlabel('Day of Year') > g.ylabel('Degrees C') > #This is line 106 which seems to be the problem: > g('set output "/home/mmsa/wwwroot/mmsa/images/weekly/PlatformTemp.png"') > g.plot(PlatformTemp[-700:]) #Plot the last 7 days of data. > time.sleep(1) #Wait for gnuplot to do it's thing. > g('set output "/home/mmsa/wwwroot/mmsa/images/daily/PlatformTemp.png"') > g.plot(PlatformTemp[-96:]) #Plot the last day of data. > time.sleep(1) #Wait for gnuplot to do it's thing. > #...Rest of plots left out for brevity... > __________________________________________________________ > > > Output from running Plotmmsa.py at the command prompt: > > $ ../bin/python/Plotmmsa.py > Read in and set various lists, starting plots. Last depth reading: > [[7.458333333333333, 3.8610000000000002]] > gnuplot> set data style lines > gnuplot> set term png color > gnuplot> set title "Temperature" > gnuplot> set xlabel "Day of Year" > gnuplot> set ylabel "Degrees C" > gnuplot> set output > "/home/mmsa/wwwroot/mmsa/images/weekly/PlatformTemp.png" > gnuplot> plot '/cygdrive/c/WINNT/TEMP/@1648.0' notitle > gnuplot> set output > "/home/mmsa/wwwroot/mmsa/images/daily/PlatformTemp.png" > gnuplot> plot '/cygdrive/c/WINNT/TEMP/@1648.1' notitle > __________________________________________________________ > > Output from cron running the same program: > > gnuplot> set data style lines > gnuplot> set term png color > gnuplot> set title "Temperature" > gnuplot> set xlabel "Day of Year" > gnuplot> set ylabel "Degrees C" > gnuplot> set output > "/home/mmsa/wwwroot/mmsa/images/weekly/PlatformTemp.png" > gnuplot> plot '/cygdrive/c/WINNT/TEMP/@1984.0' notitle > gnuplot: not found > Read in and set various lists, starting plots. Last depth reading: > [[7.458333333333333, 3.8610000000000002]] > Traceback (most recent call last): > File "/home/mmsa/bin/python/Plotmmsa.py", line 106, in ? > g('set output > "/home/mmsa/wwwroot/mmsa/images/daily/PlatformTemp.png"') > File "/usr/lib/python2.2/site-packages/Gnuplot/_Gnuplot.py", line > 206, in __call__ > self.gnuplot(s) > File "/usr/lib/python2.2/site-packages/Gnuplot/gp_unix.py", line > 203, in __call__ > self.flush() > IOError: [Errno 32] Broken pipe > > _________________________________________________________ > > Any suggestions would be much appreciated. My next step will be to > get gnuplot.py running on a linux box and see if I have the same > problems there. > > Thanks in advance, > mtc > -- Michael Haggerty mh...@al... |