[sage-support] Re: netcdf error in sage-4.5.2

2010-09-19 Thread Le Fou Volant
Hello, I am also very interested in being able to work with netcdf and hdf files in Sage. I already is possible if what you want to do is simple. Scipy has a netcdf class. All you have to do is: from scipy.io.netcdf import * ncfile=netcdf_file(yourfilename,'r') Then ncfile.variables.keys() to li

[sage-support] scipy.integrate.ode does not seem to work for more than 7 ODEs

2010-03-26 Thread Le Fou Volant
Hello, I needed to solve several complex ODE. I tried ode from scipy.integrate. It worked up to 7 (included) equations. Of course, I needed to solve a system of 8 equations. When my system of 8 equations did not work, I tried to start from the example of 2 equations that worked and build up some c

[sage-support] Re: Octave in Sage?

2010-01-07 Thread Le Fou Volant
Thank you for pointing out these two packages. I have been trying to find the most complete alternative to Mathematica and it would be nice to be able to solve systems of differential equations with Sage. I will try the feature of scipy pointed out by Jason (above) then look into femhub and sfepy.

[sage-support] Re: Octave in Sage?

2010-01-07 Thread Le Fou Volant
this feature of scipy. I have to look into it to assess whether this will allow me to do what I want. On Jan 6, 7:19 pm, Jason Grout wrote: > Le Fou Volant wrote: > > Hello, > > > Before writing this post, I did search the support group archive and > > therefore > &

[sage-support] Octave in Sage?

2010-01-06 Thread Le Fou Volant
Hello, Before writing this post, I did search the support group archive and therefore what I'm about to write was not addressed (if I didn't miss anything). One can find a post dating from 2007 about why Sage is not in Octave. I need to solve a system of differential equations. It seems sage cann

[sage-support] Re: Insert New HTML Cell?

2010-01-06 Thread Le Fou Volant
Wow! The magic of copy and paste made me miss this one (the shit versus shiFt typo). Alex On Jan 5, 10:01 am, Le Fou Volant wrote: > On Jan 4, 2:32 pm, William Stein wrote:> On Mon, Jan 4, > 2010 at 2:24 PM, Le Fou Volant wrote: > > > > Hello, > > > > shift

[sage-support] Re: Insert New HTML Cell?

2010-01-05 Thread Le Fou Volant
On Jan 4, 2:32 pm, William Stein wrote: > On Mon, Jan 4, 2010 at 2:24 PM, Le Fou Volant > wrote: > > > Hello, > > > shift+left click on the blue line does work. > > > I was not "shit+left clicking" on the blue line before, but > > literally

[sage-support] Re: Insert New HTML Cell?

2010-01-04 Thread Le Fou Volant
Hello, shift+left click on the blue line does work. I was not "shit+left clicking" on the blue line before, but literally "shit+left clicking" any where between two cells. Thank you very much. This post helped me. Alex On Jan 3, 1:15 pm, Simon King wrote: > Hi! > > On 3 Jan., 21:10, Tim Josep

[sage-support] Insert New HTML Cell?

2010-01-03 Thread Le Fou Volant
Hello, How can one document a Sage worksheet? The directive given in the help doesn't work: Shift click between cells to create a new HTML cell. Double click on existing HTML to edit it. Use $...$ and $$...$$ to include typeset math in the HTML block. When I direct the arrow (mouse pointer) betw

[sage-support] Re: How to import Python modules into Sage?

2009-12-09 Thread Le Fou Volant
First, thank you for help. Secondly, I tried to set SAGE_PATH but it didn't work. The packages I typically need are installed in: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- packages So, if I set SAGE_PATH to this directory, sage will display all sort of messages to even

[sage-support] Re: How to import Python modules into Sage?

2009-11-29 Thread Le Fou Volant
On Nov 28, 3:00 pm, David Joyner wrote: > On Sat, Nov 28, 2009 at 5:43 PM, Le Fou Volant > wrote: > > > Hello, > > > How can I import Python modules into Sage? Into the notebook would be > > best. > > I think you do it in the usual way that you would for o

[sage-support] How to import Python modules into Sage?

2009-11-28 Thread Le Fou Volant
Hello, How can I import Python modules into Sage? Into the notebook would be best. Intuitively, I would have to set Python and Sage paths so that they coexist in a constructive way. I found on this post that a SAGE_PATH should exist however I could not find any trace of it in the official documen

[sage-support] Re: Sharing worksheets (not via a server)?

2009-10-19 Thread Le Fou Volant
Thank you very much. That's the one thing I did not try (probably because at the time "download" could not mean what it seems to mean in "download to a file"). Alexandre Guillaume On Oct 18, 6:10 pm, William Stein wrote: > On Sun, Oct 18, 2009 at 4:59

[sage-support] Sharing worksheets (not via a server)?

2009-10-18 Thread Le Fou Volant
Hello, I find the concept of notebooks and worksheets a little confusing. If I spread the word that Sage is great, I would like to send an example to a colleague by e-mail. I could not understand easily how to do that. With Mathematica, one save a .nb file and one would send this file by e-mail

[sage-support] Why do I get "Too many open files"?

2009-08-12 Thread Le Fou Volant
Hello, I am opening many netcdf files, getting one variable and closing each file in each loop: ctt=[] for j in fileList1: for f in j: ncfile=netcdf_file(path+f,'r') ctt.append( ncfile.variables['Cloud_Top_Types'][:] ) ncfile.close() However, I get the following error