Python Library

Introduction

The page describes the library of Python routines I've written (unless otherwise noted) that I'm making available to the general public. Independent modules are described on this page, along with links to source code and documentation. Packages, because they are more complex, have their own home pages; links to those pages are given on this library page.

Although I've used these routines in my own research, I cannot guarantee that they will work for your purposes. More disclaimers and other fine print is below.

If you email me your email address, however, I'll let you know of any major bugs that are found in this library.

The page is subdivided into these categories:

Array Manipulation

  • gemath: Package of array manipulation and "good enough" mathematical routines.
  • has_close: This module defines a single function of the same name (has_close) that tests if an array has any values "equal" to a given value and returns 1 if so. File required: Notices and additional documentation:

[Back up top to the Introduction.]

Atmospheric Scienes

  • atmqty: Package of methods to calculate atmospheric quantities that are directly derivative (i.e. not requiring time integration or modeling) from standard state variables.
  • filelist: This module defines a class (FileList) to create/manipulate a list of filenames, such as those generated by the NCAR CCM3. File required: Notices and additional documentation:
  • qtcm: An implementation of the Neelin-Zeng QTCM1 in a Python object-oriented environment.

[Back up top to the Introduction.]

Graphics Routines

  • IaGraph: Package of graphing tools for quick, interactive, single-line plotting.
  • wavelen2rgb: Module defines a function to calculate RGB values given the wavelength of visible light. Based on a routine by Earl F. Glynn II. File required: Notices and additional documentation:

[Back up top to the Introduction.]

Mathematics

  • gemath: Package of array manipulation and "good enough" mathematical routines.

[Back up top to the Introduction.]

Copyright and Licensing

Unless otherwise stated, the Python routines described on this page or which reference this page are copyright © 2003-2004 by Johnny Lin and constitute a library that is covered under the GNU Lesser General Public License (LGPL):

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

You can contact Johnny Lin by email or at this address.

A copy of the GNU LGPL can be found here. Please note that these disclaimers of warranty supercede any implied or explicit warranties or claims found in the text of the routine source code themselves.

[Back up top to the Introduction.]

Return to the Libraries Index.
Return to Johnny Lin's Home Page.

Creative Commons License Updated: Tuesday, 15-Jul-2008 15:30:23 PDT. Disclaimer. Privacy Policy. Valid CSS, HTML.
Author: Johnny Lin <email address>. This library description page is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.