Lab-0022: Difference between revisions

From CSDMS
m (Include warning about memory use)
No edit summary
Line 52: Line 52:
Please go here for the scripts and files used: https://github.com/ale37911/CSDMS_Labs/tree/main/TCM.
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 CSDMS JupyterHub. If you don't already have an account, follow the instructions to sign up at: https://csdms.colorado.edu/wiki/JupyterHub. If you're an educator using this lab in a class, you can get CSDMS JupyterHub accounts for students. For more information, please contact us through the CSDMS Help Desk: https://github.com/csdms/help-desk. Run the lab Notebook by clicking the "start" link under the '''Run online''' heading at the top of this page. Note that the data files required for the lab have been uploaded to the CSDMS JupyterHub and placed in the directory <code>/data/TCM_data_CSDMS_Ex</code>; 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.
This lab can be run on the CSDMS JupyterHub. If you don't already have an account, follow the instructions to sign up at: https://csdms.colorado.edu/wiki/JupyterHub. If you're an educator using this lab in a class, you can get CSDMS JupyterHub accounts for students. For more information, please contact us through the CSDMS Help Desk: https://csdms.github.io/help-desk. Run the lab Notebook by clicking the "start" link under the '''Run online''' heading at the top of this page. Note that the data files required for the lab have been uploaded to the CSDMS JupyterHub and placed in the directory <code>/data/TCM_data_CSDMS_Ex</code>; 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.
|LabNotesRequirements=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.
|LabNotesRequirements=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.
|LabAcknowledgements=CSDMS and Mark Piper helped me create and host these labs on jupyterhub.
|LabAcknowledgements=CSDMS and Mark Piper helped me create and host these labs on jupyterhub.
}}
}}

Revision as of 15:33, 29 March 2022

Tilt Current Meter Analyses

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

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 CSDMS JupyterHub. If you don't already have an account, follow the instructions to sign up at: https://csdms.colorado.edu/wiki/JupyterHub. If you're an educator using this lab in a class, you can get CSDMS JupyterHub accounts for students. For more information, please contact us through the CSDMS Help Desk: https://csdms.github.io/help-desk. Run the lab Notebook by clicking the "start" link under the Run online heading at the top of this page. 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