This page describes how to get the course files for the First Edition (2012) of the book A Hands-On Introduction to Using Python in the Atmospheric and Oceanic Sciences, by Johnny Wei-Bing Lin. These files are found in a directory the book calls course_files. The directory is 31 MB, and you can obtain this directory in a few ways (all work fine, are free, and give you the same files):
- Direct download of the
compressed tarball:
After downloading the file by clicking the
above link, you can extract (on a Unix machine)
the course files directory by typing in:
tar xvfz jwblin-course_files_cd5df00.tar.gz
This will create (if needed) the directory jwblin-course_files_cd5df00 in your current working directory. The latest version of all the course files are in jwblin-course_files_cd5df00. (In the book, I call this directory course_files; you can rename it if you'd like.) - Direct download of the zip archive file: After downloading the file by clicking the above link, use your favorite zip archive manager to extract the course files directory; on some operating systems, double-clicking the file is enough. Once extracted, the directory with all the files will be called jwblin-course_files_cd5df00. (In the book, I call this directory course_files; you can rename it if you'd like.)
- Fork and clone the GitHub repository of course_files: If you clone the repository, you will also get the history of changes to the files since the publication of the book. (This method should be used only by people comfortable with using a distributed version control system like GitHub.)
Note that the errors and/or additions described in the Addenda and Errata are not all incorporated in the above files. This is particularly true about the smaller changes. Thus, you'll want to keep the Addenda and Errata page handy as your first reference if there are minor issues with the course code and dataset files.