/MHWsim

Repository containing scripts and files related to the Raspberry Pi MHWsim development and experiment

Primary LanguageHTMLApache License 2.0Apache-2.0

MHWsim

5 gallon tanks in lab containing strabwerry anemones on coral frag tiles

What's in this repository?

This repository contains the scripts and files related to the development of a Marine Heatwave Simulator (MHWsim) using a Raspberry Pi, and the data collected during a MHWsim experiment using Corynactis californica as a study organism.

This repository is maintained by Hofmann Lab graduate student Amelia Ritger (GitHub: @ameliaritger) at the University of California, Santa Barbara in the Department of Ecology, Evolution, & Marine Biology. Please direct any questions or comments about this repository to Amelia Ritger.

How is this repository structured?

.
├── experiment/                                 # directory containing files related to the Amelia's MHWsim experiment
|
├── media/                                      # directory containing media files for project repo
|
├── simulator/                                  # directory containing resources for building and running the RPi MHWsim system
|   └── code/                                   # directory with scripts for the MHWsim
|      └── drafts/                              # directory containing draft .py scripts
|      └── Alert.py                             # script for sending SMS alerts
|      └── CleanUp.py                           # script for saving data, clearing lists/variables, and going to sleep
|      └── IO_ctrl.py                           # script for initializing relay board
|      └── MHWRamp.py                           # script for ramping up and down temperatures at start/end of MHW event
|      └── MHWsim.py                            # script for initializing MHWsim objects, parameters and then running the MHWsim 
|      └── Memory.py                            # script for constructing and saving to .csv file
|      └── PID.py                               # script for Proportional–integral–derivative controller algorithm
|      └── SensorAverage.py                     # script for averaging multiple consecutive temperature probe readings and calculating the average temperature across replicates
|      └── SensorInfo.py                        # script to enter temperature probe ROM numbers and location identification, and calibration values for each probe
|      └── Temperature.py                       # script for reading temperature probes
|      └── main.py                              # main script to run all code associated with MHWsim
|      └── mhw_profile.csv                      # MHWsim experiment data, required for initial code test
|
|   └── documentation/                          # directory containing MHWsim system build documentation
|      └── rpiMHWsimConstruction.docx           # document for building the RPi MHWsim system
|
├── .gitignore
|
├── LICENSE
|
├── README.md
|
└── MHWsim.Rproj

STAY TUNED FOR THE PUBLICATION!