Lab-0012: Difference between revisions
No edit summary |
m Minor edits to text |
||
Line 32: | Line 32: | ||
|LabCOIntro=This lab is appropriate for advanced undergraduates and graduate students majoring in earth science/engineering. | |LabCOIntro=This lab is appropriate for advanced undergraduates and graduate students majoring in earth science/engineering. | ||
We will be looking at data on river discharge -- the volume of water transported through a given cross section per time -- | We will be looking at data on river discharge--the volume of water transported through a given cross section per time--in the Colorado River. | ||
This Notebook lends itself to a short introduction on the concept of river discharge | This Notebook lends itself to a short introduction on the concept of river discharge and how it is measured, as well as an introduction to the gauging stations of the USGS. | ||
The data analysis | The data analysis requires basic Python data handling skills, but the coding is introductory level. | ||
Students can run | Students can run the Notebook, and they're encouraged to do assignments on their own or as homework. A review and discussion of solutions by the instructor after completion by the participants is recommended. | ||
This lab can be run on the CSDMS JupyterHub; follow the instructions to sign up for an account at: https://csdms.colorado.edu/wiki/JupyterHub. Once approved, run the Notebook by clicking on the "start" link under the '''Run online''' heading at the top of this page. | This lab can be run on the CSDMS JupyterHub; follow the instructions to sign up for an account at: https://csdms.colorado.edu/wiki/JupyterHub. Once approved, run the Notebook by clicking on the "start" link under the '''Run online''' heading at the top of this page. | ||
Line 43: | Line 43: | ||
}} | }} | ||
{{LabLearningObjectivesSkills | {{LabLearningObjectivesSkills | ||
|LabSkill=Load csv data from a file using the | |LabSkill=Load csv data from a file using the pandas library | ||
}} | }} | ||
{{LabLearningObjectivesSkills | {{LabLearningObjectivesSkills | ||
Line 62: | Line 62: | ||
}} | }} | ||
{{LabNotes | {{LabNotes | ||
|LabNotesInstructions=River discharge data for many US rivers is available from the USGS | |LabNotesInstructions=River discharge data for many US rivers is available from the USGS WaterWatch website: | ||
http://waterwatch.usgs.gov/?m=real&r=co | http://waterwatch.usgs.gov/?m=real&r=co. | ||
River stage data is typically measured by keeping track of the water surface height over time, i.e. stage, and this needs to be converted to discharge through a stage-discharge relationship. | River stage data is typically measured by keeping track of the water surface height over time, i.e. stage, and this needs to be converted to discharge through a stage-discharge relationship. | ||
Tabular data like | Tabular data like these, with a combination of dates, name and data quality strings, and numbers are best handled by spreadsheets where entries such as dates and times are in some useful format. In Python the Python Data Analysis Library (a.k.a. Pandas) is really useful for this purpose. | ||
We use one discharge data file downloaded for the USGS station at Kremmling, CO, for the Upper Colorado. | We use one discharge data file downloaded for the USGS station at Kremmling, CO, for the Upper Colorado. | ||
|LabAcknowledgements=This material is based upon work supported by the National Science Foundation under Grant No. 1831623, ''Community Facility Support: The Community Surface Dynamics Modeling System (CSDMS)''. | |LabAcknowledgements=This material is based upon work supported by the National Science Foundation under Grant No. 1831623, ''Community Facility Support: The Community Surface Dynamics Modeling System (CSDMS)''. | ||
}} | }} |
Revision as of 15:12, 25 August 2020
River Discharge Data Analysis
Contributor(s)

- Concepts of river discharge and stage
- What are stage-discharge relationships?
- What are some difficulties for relating stage to discharge?
Python Skill Learning Objectives:
- Load csv data from a file using the pandas library
- Access data in a DataFrame
- Create plots of data from a DataFrame
- Save plots to a file
Classroom organization
This lab is appropriate for advanced undergraduates and graduate students majoring in earth science/engineering.
We will be looking at data on river discharge--the volume of water transported through a given cross section per time--in the Colorado River. This Notebook lends itself to a short introduction on the concept of river discharge and how it is measured, as well as an introduction to the gauging stations of the USGS. The data analysis requires basic Python data handling skills, but the coding is introductory level.
Students can run the Notebook, and they're encouraged to do assignments on their own or as homework. A review and discussion of solutions by the instructor after completion by the participants is recommended.
This lab can be run on the CSDMS JupyterHub; follow the instructions to sign up for an account at: https://csdms.colorado.edu/wiki/JupyterHub. Once approved, run the Notebook by clicking on the "start" link under the Run online heading at the top of this page.Download associated file: RiverStageDischargeIntroduction.pdf
Concept Diagrams of Stage and Discharge Measurements
Skills
- Load csv data from a file using the pandas library
- Access data in a DataFrame
- Create plots of data from a DataFrame
- Save plots to a file
- River discharge and stage
- Stage-discharge relationship
Lab notes
River discharge data for many US rivers is available from the USGS WaterWatch website:
http://waterwatch.usgs.gov/?m=real&r=co.
River stage data is typically measured by keeping track of the water surface height over time, i.e. stage, and this needs to be converted to discharge through a stage-discharge relationship.
Tabular data like these, with a combination of dates, name and data quality strings, and numbers are best handled by spreadsheets where entries such as dates and times are in some useful format. In Python the Python Data Analysis Library (a.k.a. Pandas) is really useful for this purpose.
We use one discharge data file downloaded for the USGS station at Kremmling, CO, for the Upper Colorado.Acknowledgements
This material is based upon work supported by the National Science Foundation under Grant No. 1831623, Community Facility Support: The Community Surface Dynamics Modeling System (CSDMS).
References