USGS Python for Hydrology Course
Welcome to the USGS python for hydrology and flopy course. This is organized into two parts: part 0 focusing on general python for data analysis in hydrologic contexts, and part 1 focusing on flopy - the python interface into MODFLOW for groundwater modeling.
We encourage students to explore these materials for their own study or to reach out to USGS to attend an in-person course.
Main Curriculum
-      Part 0: Introduction to Python
- 00: Introduction to python for hydrologists
 - 01: Functions and scripts
 - 02: Namespace, modules, packages, and objects
 - 03: Useful standard library modules
 - 03: Solutions to Useful standard library modules exercises
 - 04: File input and output
 - 05: NumPy
 - 05: NumPy exercise solutions
 - 06: 
matplotlib— 2D and 3D plotting - 06a: Using Matplotlib to Create Animation
 - 07: Using functions to solve an equation– The Theis example
 - 07b: VSCode Tutorial
 - 08: Working with tabular data in Pandas
 - 09: GeoPandas - DataFrames with geometry for GIS applications
 - 09: Geopandas exercise solutions
 - 10a: Introduction to Rasterio for working with raster data
 - 10b: Using Rasterio and Numpy to examine ice loss on Mt. Rainier
 - 11: Using Xarray to look at Daymet precipitation around Mt. Rainier
 
 - Part 1: Flopy
- 01: Introduction to FloPy
 - 02: Building and post-processing a MODFLOW 6 model
 - 03: Loading and visualizing groundwater models
 - 04: Modelgrid and intersection
 - 05: Unstructured grid and general mesh generation with FloPy
 - 06: FloPy class project: Structured grid version
 - 06: FloPy class project: Quadtree grid version
 - 06: FloPy class project: Voronoi grid version
 - 07: Evaluating stream capture with a Voronoi grid
 - 08: Modflow-setup demonstration
 - 09: Demonstration of MODFLOW 6 Groundwater Transport with a Voronoi Grid
 - 10a: Particle tracking with MODFLOW 6 PRT
 - 10b: Particle tracking with MODPATH
 
 
Bonus Examples