Brian Vanderwende

Department of Atmospheric and Oceanic Sciences

Home

Curriculum Vitae

Research

Pedagogy

Programs

Photos

Contact

Experience and Sample Programs

From the beginning of high school through the present in graduate school, I've had an interest in computer programming. I have experience with BASIC (yeah, I know...), Visual Basic, Fortran 90+, Java, and C/C++. I've also extensively used the scientific/interpretive languages IDL and NCL. Finally, I've dabbled with C-shell scripting in the Unix environment.

The following list contains a number of programs that I have written over the years in various languages. In some cases, I have provided the source code so that you can use the scripts should you wish. Feel free to use them or modify them as you wish. I will provide limited support, but it is unlikely that I will make major modifications to the programs on request.

IDL Scripts

Angle averager [Download] - This function accepts an array of angles and then averages them. Using this function avoids the issues associated with averaging over a continuous and repeating numerical range.

Contour plot legend [Screenshot, Download] - This procedure creates a legend on a contour plot. It accepts positioning information, an array of contour levels and an array of colors, label sizing and spacing information and text formatting codes.

Wind rose Generator [Screenshot, Download] - This procedure reads in wind speed and direction data and creates a postscript wind rose. The user has the option of setting the width (and by extension the number) of wind direction binds, four wind speed categories, and a plot title. Note: this program requires the aspect ratio procedure created by David Fanning, which is available here.