- Produce publication quality graphics
- Perform standard model performance evaluations
- Create emission perturbations
- Add custom modifications to each exercise
Attendees will learn how to leverage Python to interact with air pollution-related model and observational data. Air research and application relies on big data. In addition to the challenge presented by data size, researchers must understand a multitude of formats and meta-data standards. For example, CMAQ, CAMx, and GEOS-Chem all use different formats and different meta-data conventions. This tutorial provides format-independent and convention-independent tools.
- Some scripting experience (R, Python, Perl, bash, or csh). Attendees who do not have experience can follow my on-line Python-primer (http://www.barronh.com/software/tutorials/python-tutorial) to satisfy the requiremnt.
- A computer with either
- Windows, Linux, or Mac; a text editor; and Anaconda 3.5 installed.
- or a computer and an account on wakari.io
- files and groups
- dimensions
- properties
- variables
- Conventions
- IOAPI and WRF-IOAPI
- Climate Forecasting (CF) Conventions
- Conceptualizing any data set as CDM
- Loading key libraries
- Running interactively
- Running a saved file
- Making and saving a figure
Make tile plots of ozone with 3 different methods from CMAQ data.
- Python Environment
- Python with PseudoNetCDF
- Command Line Interface (terminal or DOS)
- Advanced users will overlay observations
- Advanced users will repeat with CAMx or GEOS-Chem
This section will explain many of the techniques used in the tile plot section and in all subsequent sections.
- slicing in numpy
- dimensional reductions
- Loading data from different formats
- CMAQ (already done)
- CAMx, WRF, GEOS-Chem, CSV, NASA AMES, AQS
- Adding coordinate variables
- Using named dimensions via PseudoNetCDF
- Adding derived variables via PseudoNetCDF
Make time series plots with 3 different methods from CMAQ data.
- Python Environment
- Python with PseudoNetCDF
- Command Line Interface (terminal or DOS)
- Advanced users will add observations
- Advanced users will add another species on a secondary axis
- Advanced users will repeat with CAMx or GEOS-Chem
- Python Environment
- Python with PseudoNetCDF
- Command Line Interface (terminal or DOS)
- Advanced users will switch from time/space paired to rank paired
- Python with PseudoNetCDF
- Command Line Interface
- Advanced users will write their own function.
- CMAQ - Python without PseudoNetCDF
- CAMx - Python with PseudoNetCDF
- Expanding on what we've done
- Questions
- k-cluster analysis in Python
- ttest, Mann-Whitney-U
- applying evaluations over specified dimensions