A Hands-On Introduction to Using Python in the Atmospheric and Oceanic SciencesThis book is a mini-course for researchers in the atmospheric and oceanic sciences. "We assume readers will already know the basics of programming... in some other language." - Back cover. |
Contents
What Is and Why Python? | 1 |
Using the Python Interpreter and Interactive Development Environment | 7 |
Basic Data and Control Structures | 17 |
Array Operations | 47 |
File Input and Output | 73 |
Putting Together a Basic Data Analysis Routine | 89 |
Part IBasic Principles and Syntax | 97 |
Part IIApplication to Atmospheric Sciences Problems | 121 |
Common terms and phrases
2-D array accessed August 16 apt-get array syntax assignment atmospheric and oceanic attributes and methods Basemap basic bibliography boolean arrays built-in calculate chapter class definition command contour plot coursefiles create data analysis dataset defined dictionary dimension docstring domain dtype=’f element addresses Enthought Example exception handling execute Exercise False False figure file object fileobj fill_value floating point Fortran hello Here’s import numpy input/output install instance attribute integer keyword arguments language latall latitude linestyle longitude loop Mac OS X marker masked array masked variables Matlab matplotlib metadata methods attached module myaddress namespace netCDF file Note NumPy array object-oriented programming oceanic sciences operations output package procedural programming Python interpreter reference run the file savefig ScientificPython SciPy slicing Solution and discussion specify statement submodule subroutine tion True True tuple users UV-CDAT variable name variable object visualization write zero