Skip to content

tbep-tech/otb-temp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otb-temp

Evaluation of the TBEP Optical Model indicated that high water temperatures may be leading to unfavorable seagrass conditions and highlighted the need for continuous summertime temperature data on shallow seagrass beds in Old Tampa Bay. These are the materials for identifying locations for placing temperature loggers in Old Tampa Bay and initial data analyses.

View the logger web page: link

Updating the logger web page

One time prep

  1. Make sure you have git installed, see instructions here.

  2. Clone the repository to your computer. Use your IDE's tools (e.g., within RStudio) or do it from the terminal (as below). If using the terminal, navigate to a folder where the repository will be cloned using cd and use git clone.

    cd path/to/your/directory
    git clone https://github.com/tbep-tech/otb-temp.git
  3. Open the repository in your IDE. In R, make sure you have the required packages installed:

    install.packages(c("tidyverse", "googlesheets4", "googledrive", "janitor", "lubridate", "sf", "here", "knitr", "leaflet", "highcharter", "viridis"))
  4. Make sure you have Quarto installed, see instructions here.

Update every time

  1. Pull the latest version of the repository to your computer. Use your IDE's tools (e.g., within RStudio) or use the terminal:

    cd path/to/your/directory/otb-temp
    git pull origin main
  2. In your IDE, source the file R/dat_proc.R or run it line by line.

  3. Add the markdown text and R code near the bottom of docs/tempeval.qmd for the appropriate year and deployment. Number the header for the deployments sequentially for each year and increase the counter for the ddin by 1. For example, the first 2026 deployment content will look like this, starting with "1" for the first deployment and increasing the counter for ddin regardless of year:

    ### Deploy 1
    
    ```{{r}}
    ddin <- orgs[[28]]
    tsplo_dd(tempdat, ddin)
    mpplo_dd(tempdat, metadat, ddin)
    ```   
    
  4. Render the quarto file docs/tempeval.qmd to create the HTML web page. This will take a minute or two. Do this in your IDE or from the terminal:

    quarto render docs/tempeval.qmd --to html
  5. Stage the changes and add a commit message. Use your IDE's tools (e.g., within RStudio) or from the terminal:

    git add .
    git commit -m "update with first 2026 deployment"
  6. Push the changes to GitHub. Use your IDE's tools (e.g., within RStudio) or from the terminal:

    git push origin main
  7. The updated Quarto file should be online shortly after pushing. Make sure to view the data for accuracy and completeness.

EDA links

About

Materials for temperature loggers in Old Tampa Bay

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages