This page demonstrates Python tips and tricks that I use in my everyday programming as an atmospheric science graduate student.
-Brian Blaylock

Friday, November 11, 2016

Verifying GFS dewpoint data with MesoWest observations

For a class assignment, I needed to verify GFS model output with MesoWest data. I used pygrib to read in the grib file, then used some custom functions that grab data from the MesoWest API.

Here is the output figures and my code.


The output:







gist:

Thursday, November 3, 2016

PEP 8 Coding Standards for Python

For standardized python scripting, study this resource...
https://www.python.org/dev/peps/pep-0008/