From 653c36b6c62f27fab37daf14a99d2ab659e59a99 Mon Sep 17 00:00:00 2001 From: Mike Fienen Date: Thu, 18 Jun 2026 15:01:28 -0500 Subject: [PATCH 1/5] agenda shuffling --- AGENDA.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENDA.md b/AGENDA.md index 8500758c..3a6fd65b 100644 --- a/AGENDA.md +++ b/AGENDA.md @@ -18,9 +18,9 @@ Monday - 900-930: 04 Working with files, string formatting (Nick) (continued) - 930-1130: 05 Numpy (where, slicing, indexing)(A: Mt. St. Helens) (Mike) - 1130-1230: lunch -- 1230-1430: 06 Matplotlib (A: make a semi-complex plot, animation, PdfPages, USGS Style) (Kalle) +- 1230-1430: 06 Matplotlib intro (1 hour) and agentic examples (A: make a semi-complex plot, animation, PdfPages, USGS Style) (Kalle) - 1430-1445: break -- 1445-1615: 07 Theis exercise + VSCode IDE debugging, liveshare (Andy) +- 1445-1615: Debugging in VSCode and agentic tools (Andy) - 1615-1630: break - 1630-1730: 08 Pandas (interesting data, viz, excel, apply correction to data, indexing, grouping, retrieving data from NWIS (dataretrieval) (Josh) - 1730: Class Adjourn From bac5a1744e5598d92af44c399834effd9b9144d5 Mon Sep 17 00:00:00 2001 From: Mike Fienen Date: Tue, 30 Jun 2026 15:32:23 -0500 Subject: [PATCH 2/5] minor agenda notes --- AGENDA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENDA.md b/AGENDA.md index 3a6fd65b..b58dd816 100644 --- a/AGENDA.md +++ b/AGENDA.md @@ -34,7 +34,7 @@ Monday - 1430-1445: break - 1445-1615: 11 Xarray/rioxarray (Andy) - 1615-1630: break -- 1630-1730: Code style/quality, testing, version control (Andy and all) +- 1630-1730: Code style/quality, testing (assertions to pytest range), version control (Andy and all) - 1730: class adjourn # Part 1: Application of Python and Flopy to Groundwater Modeling From 17f4a854d949e06774992d9b2aeb591b4ea2a27a Mon Sep 17 00:00:00 2001 From: Mike Fienen Date: Wed, 15 Jul 2026 15:13:30 -0500 Subject: [PATCH 3/5] refactor assignments in agenda --- AGENDA.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/AGENDA.md b/AGENDA.md index b58dd816..a12716c7 100644 --- a/AGENDA.md +++ b/AGENDA.md @@ -4,18 +4,18 @@ Monday - 900-930: Introductions and getting started (Mike) - 930-1000: Python overview and Quick orientation to jupyter, environments, and mamba/conda (Andy) -- 1000-1130: 00 Python basics review and AI overlords: Q&A and discussion https://cscircles.cemc.uwaterloo.ca/ (A: word counting ) (Mike) +- 1000-1130: 00 Python basics review: Q&A and discussion https://cscircles.cemc.uwaterloo.ca/ (A: word counting ) (Mike) - 1130-1230: lunch - 1230-1330: 01 Functions and Scripts (A: build a function) (Kalle) - 1330-1345: break - 1345-1545: 02 Namespace, Modules, Packages, Objects (A: import and use own functions, etc) (Josh) - 1545-1600: break - 1600-1700: 03 Useful Standard Library modules (Andy) -- 1700-1730: 04 Working with files, string formatting (Nick) +- 1700-1730: 04 Working with files, string formatting (Kalle) - 1730: Class Adjourn ## Tuesday -- 900-930: 04 Working with files, string formatting (Nick) (continued) +- 900-930: 04 Working with files, string formatting (Kalle) (continued) - 930-1130: 05 Numpy (where, slicing, indexing)(A: Mt. St. Helens) (Mike) - 1130-1230: lunch - 1230-1430: 06 Matplotlib intro (1 hour) and agentic examples (A: make a semi-complex plot, animation, PdfPages, USGS Style) (Kalle) @@ -30,7 +30,7 @@ Monday - 1000-1130: 09 GeoPandas for open-source GIS and viz (Mike) - 1130-1230: lunch - 1230-1300: 09 GeoPandas for open-source GIS and viz (Mike) (A: working with open-source city data) (continued) -- 1300-1430: 10 Rasterio (Nick) +- 1300-1430: 10 Rasterio (Josh) - 1430-1445: break - 1445-1615: 11 Xarray/rioxarray (Andy) - 1615-1630: break @@ -40,7 +40,7 @@ Monday # Part 1: Application of Python and Flopy to Groundwater Modeling ## Thursday - 900-1000: 01 Introductions and IT sorting (Mike) -- 1000-1100: 02 Build your first model with FloPy (Nick) +- 1000-1100: 02 Build your first model with FloPy (Kalle) - 1100-1115: break - 1115-1245: 03 Loading and visualizing models with FloPy (Andy) - 1245-1345: lunch From 2d564a03858f621466e6ae4b8f5fff080718e470 Mon Sep 17 00:00:00 2001 From: Mike Fienen Date: Wed, 15 Jul 2026 15:21:49 -0500 Subject: [PATCH 4/5] remove flopy version pin and bump python to 3.14 --- installation/environment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installation/environment.yml b/installation/environment.yml index 16b33223..79988483 100644 --- a/installation/environment.yml +++ b/installation/environment.yml @@ -4,7 +4,7 @@ channels: - nodefaults dependencies: # required - - python=3.12 + - python=3.14 - pip - numpy @@ -43,7 +43,7 @@ dependencies: - pytest - statsmodels - dataretrieval - - flopy=3.9 + - flopy - gis-utils - sfrmaker - contextily From 7d8b8afb1a794bee9619ebd124347da71901f2c5 Mon Sep 17 00:00:00 2001 From: Mike Fienen Date: Wed, 15 Jul 2026 15:28:08 -0500 Subject: [PATCH 5/5] minor agenda tweaks --- AGENDA.md | 4 ++-- tests/test_notebooks.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/AGENDA.md b/AGENDA.md index a12716c7..989aad04 100644 --- a/AGENDA.md +++ b/AGENDA.md @@ -1,4 +1,4 @@ -# Python USGS Training Agenda - September 2025 Edition +# Python USGS Training Agenda - August 2026 Edition ## Part 0: Introduction to python for hydrologists Monday @@ -20,7 +20,7 @@ Monday - 1130-1230: lunch - 1230-1430: 06 Matplotlib intro (1 hour) and agentic examples (A: make a semi-complex plot, animation, PdfPages, USGS Style) (Kalle) - 1430-1445: break -- 1445-1615: Debugging in VSCode and agentic tools (Andy) +- 1445-1615: Debugging in VSCode and agentic tools discussion (Andy) - 1615-1630: break - 1630-1730: 08 Pandas (interesting data, viz, excel, apply correction to data, indexing, grouping, retrieving data from NWIS (dataretrieval) (Josh) - 1730: Class Adjourn diff --git a/tests/test_notebooks.py b/tests/test_notebooks.py index 23adc680..86f696bf 100644 --- a/tests/test_notebooks.py +++ b/tests/test_notebooks.py @@ -4,7 +4,6 @@ import platform import pytest - # Notebooks that we don't expect to execute successfully # Notebook: reason xfail_notebooks = {