Monday, November 20, 2006

WaveMetrics - scientific graphing, data analysis, curve fitting & image processing software

From the scipy mailing list:

It's hard to describe what this amazing program does because it does
so much. I have a few personal dislikes about it but by comparison,
Matlab "isn't even wrong," to misuse a quote from Wolfgang Pauli.


WaveMetrics - scientific graphing, data analysis, curve fitting & image processing software

pydap and pupynere

pydap is a python module that will allow you to read (and serve?) netcdf files over the internet. This is very useful if you don't want to have an entire model run on your laptop. John Evans and I are working on prslice that uses this package.

Even more cool, however, is pupynere (PUre PYthon NEtcdf REader) that can read (only, for now) NetCDF files with only builtin python packages and nympy.

Sunday, July 16, 2006

Tuesday, June 20, 2006

Test post from TextMate

This is my first test post from textmate. Let me try to edit it a bit more.. How about a link in [markdown][].

Friday, June 16, 2006

Compiling netcdf with ifort 9.1 on an Intel Mac

First, if you haven't already done so, you need to do this if you are runing Xcode 2.3, like I am. Otherwise, ifort will not make it through configure.


cd /usr/lib
sudo ln -s gcc/darwin/3.3/crt2.o .


Then, you can set up your environmental variables just like you would using ifort in Linux. For example:


export FC=ifort
export F90=ifort
export FFLAGS="-O -mp"
export CPPFLAGS="-DNDEBUG -DpgiFortran"


Then, like always, run


./configure --prefix=/usr/local
make

Thursday, June 15, 2006

Shed Skin -- python to C++ compiler

Shed Skin - Shed Skin is a compiler that takes pure python code, and coverts it to annotated C++ code. Speedup is (suposedly) much higher than other similar methods.

Wednesday, June 14, 2006

Creating an SVN repository.

First, make sure you have a WebDAV module turned on in you apache server. You need to configure your apache server as described [here](http://www.csoft.net/docs/micro/svndav.html) or [here](href="http://svnbook.red-bean.com/en/1.1/ch06s04.html), for example. Of particular note allowing anonymous access through LimitExcept, and creating a root svn directory for numerous repositories by using SVNParentPath. You can then access this server using svn, a web browser, or mount it like a networked disk. Very cool.

After you set up the WebDAV server, you need to create a snv repository. Here is how I made a repository for my python modules:

# cd /home/svn
# svnadmin create python
# svn mkdir file:///home/svn/python/trunk file:///home/svn/python/branches file:///home/svn/python/tags -m "creating initial repository layout"

You may need to change permissions so that httpd can read this directory. Now, as a user, you can start to populate the reposatory. I will add a directory 'gridgen' and the file 'gridgen.py'. There are some other things in this directory that I don't want to add, so I won't just add the whole thing, but rather I will do it piece by piece. Note, I will log in as a registered user, so that I can write to the repository later.

$ svn co http://rob@pong.tamu.edu/svn/python/trunk python
$ svn add gridgen --non-recursive
$ svn add gridgen/gridgen.py
$ svn commit -m "Initial commit of gridgen module"