Lab-0022

From CSDMS
Revision as of 15:10, 19 April 2022 by Mpiper (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Tilt Current Meter Analyses

Model
n/a
Duration
2.0 hrs
Updated
2020-10-27
Download
download
Run online using:
  1. Jupyter
  2. Lab
     

Contributor(s)
    Alejandra C. Ortiz at Colby College.

Introduction
We will be analyzing the data from a month long deployment of a Lowell Tilt Current Meter: https://lowellinstruments.com/products/tcm-1-tilt-current-meter/. These meters were deployed at the boat ramp of Bog Stream in North Pond, Maine (44.647773, -69.865923) from Sept. 25th 2020 - Oct. 22, 2020 as part of a final project for GE 254 at Colby College in conjunction with the 7-lakes alliance (https://www.7lakesalliance.org/).

Classroom organization
This was used as a lab to analyze velocity data from a month long deployment in a nearby stream. It was used as part of a final group project students were doing and to further their introduction and comfort with python and pandas dataframes.

Learning objectives
Skills
  • Importing, analyzing, and visualizing time-series data
  • Cleaning up raw data
  • Averaging burst data
  • Exploring potential drivers of velocity changes at our site (meteorological)
Key concepts
  • Averaging Time-series data at different frequencies
  • Importing long-temporal data series
  • learn how to make more complicated plots in python: 2 y-axes or using color of markers to denote a 3rd variable
  • learn how to utilize date-time objects in pandas to work FOR you in time-series analyses

Lab notes
Make sure students have some understanding of how a TCM (tilt current meter) works - https://www.lowellinstruments.com/download_files/Universal_User_Guide.pdf

Please go here for the scripts and files used: https://github.com/ale37911/CSDMS_Labs/tree/main/TCM.

This lab can be run on the lab (for educators) and jupyter (for general use) instances of the OpenEarthscape JupyterHub: just click one of the links under the Run online using heading at the top of this page, then run the notebook in the "CSDMS" kernel.

If you don't already have a JupyterHub account, follow the instructions to sign up at https://csdms.colorado.edu/wiki/JupyterHub. If you're an educator, you can get JupyterHub accounts for students--please contact us through the CSDMS Help Desk: https://csdms.github.io/help-desk.

Note that the data files required for the lab have been uploaded to the CSDMS JupyterHub and placed in the directory /data/TCM_data_CSDMS_Ex; the Notebook will need to be updated with this path. Also note the Notebook uses about 5 GB of memory, so it's possible to run out of memory if many people are using the JupyterHub simultaneously.


Requirements
If run locally, this lab requires the installation of the Python numpy, pandas, and matplotlib packages. You will also need TCM output data files and a local weather output (I manually cleaned that file of all header information). Download these files from https://drive.google.com/drive/folders/1vKAZbYs3rJGVF2ULqCK0ulcq7qmsTsAi.

Acknowledgements
CSDMS and Mark Piper helped me create and host these labs on jupyterhub.

References