/unidata-python-workshop

A series of Jupyter (née IPython) Notebooks on exploring Unidata technology with Python for the 2015 Unidata Training Workshop.

MIT LicenseMIT

Unidata Technology with Python

http://mybinder.org/badge.svg

  • What: Jupyter notebooks and related material on exploring Unidata technology with Python for the 2015 Unidata Training Workshop.
  • When: <2015-07-20 Mon>–<2015-07-23 Wed>
  • Where: UCAR Foothills Lab 4, Room 1201

Workshop Schedule for <2015-07-20 Mon>

SectionIPyNB or MarkdownPresenterLengthTime
1Continental breakfast0:3008:30:00
2Introductions and overviewpresentations/OverviewEthan0:2009:00:00
3Software carpentry for science w/ git/githubpresentations/gitJulien/Ryan1:4509:20:00
4Break0:2011:05:00
5Software carpentry for science w/ conda/binstarpresentations/conda_binstarJulien1:0011:25:00
6Lunch on your own1:1512:25:00
7Jupyter notebook introductionjupyter-notebookWard1:0013:40:00
8Numpy with intro to matplotlib Part 1intro-numpy-and-matplotlibRyan1:0014:40:00
9Break0:2015:40:00
10Numpy with intro to matplotlib Part 2intro-numpy-and-matplotlibRyan1:0016:00:00
11End of day 117:00:00

Workshop Schedule for <2015-07-21 Tue>

SectionIPyNB or MarkdownPresenterLengthTime
1Continental breakfast0:3008:30:00
2Introduction to netCDFintro_netCDFRuss/Ward1:0509:00:00
3Break0:1510:05:00
4Reading netCDFreading_netCDFJeff W.0:4510:20:00
5Writing netCDFwriting_netCDFJeff W.0:4511:05:00
6Lunch on your own1:5511:50:00
7Geoscience vis w/ matplotlib/cartopymatplotlib-and-cartopyRyan1:4513:45:00
8Break0:1515:30:00
9NetCDF case studycasestudyJulien1:0015:45:00
10End of day 216:45:00

Workshop Schedule for <2015-07-22 Wed>

SectionIPyNB or MarkdownPresenterLengthTime
1Continental breakfast0:3008:30:00
2Pythonic Data Analysispythonic-data-analysisRyan1:0009:00:00
3Siphon Part 1, Part 2SIPHON*Josh1:0010:00:00
4Break0:1511:00:00
5MetPyMetPyRyan1:0011:15:00
6Lunch on your own1:0012:15:00
7Accessing radar compositesCompositeRadarRyan1:0013:15:00
8Point observations w/ TDSGeocoded_METARSean1:0014:15:00
9Break0:1515:15:00
10Exploring WMS (w/ ncWMS & Cartopy extensions)wms_sampleSean1:0015:30:00
11End of day 316:30:00

Installation Instructions

For this workshop, we will be using the following Python libraries:

The easiest way to install these libraries is with conda.

  1. Install Miniconda (Python 3.4) from Continuum Analytics. (Determine if your OS 32 or 64 bit)
  2. Once Miniconda is installed, from the command line (e.g., OS X terminal, cmd.exe), run these instructions to clone the repository and create the environment:
git clone https://github.com/Unidata/unidata-python-workshop

cd unidata-python-workshop

conda env create -f environment.yml

From a Unix command line (e.g., OS X terminal)

If your default shell is NOT bash, first type bash. To activate or switch to a conda environment, you can source activate <environment>. For example,

source activate workshop2015

To switch and/or deactivate environments:

source deactivate
source activate <environment>

From a Windows command line (e.g., cmd.exe)

To activate or switch to a conda environment, you can activate <environment>. For example,

activate workshop2015

To switch and/or deactivate environments:

deactivate
activate <environment>

Docker

For those interested in Docker, Unidata maintains a Docker image containing conda and the packages needed to run these notebooks. The relevant conda environment is named unidata.

Running the notebooks

cd unidata-python-workshop

# unix, use bash. windows omit 'source'
source activate workshop2015

ipython notebook

Please give us your feedback

Your feed back is greatly appreciated! Please feel free to use the survey as often as you like, at any time during or after the class as comments come to mind.