Skip to content

Data preprocessing for the Oxygen DEpletion Model (ODEM)

License

Notifications You must be signed in to change notification settings

pchanson/odem.data

 
 

Repository files navigation

odem.data

Data preprocessing for the Oxygen DEpletion Model (ODEM)

Installation

remotes::install_github("jsta/odem.data")

Usage

# build odem input data for a specific lake using R
lake_id <-  "nhdhr_34132539"
source("analysis/scripts/01_data_merge_sql.R")
# or build odem input data for a specific lake using the command line
make analysis/data/143249470_Mendota/input.txt

# build odem input data for all lakes using the command line
make all

Data

Input data

  • temperature: pball_*_temperatures.csv

  • meteorology: NLDAS_*.csv

  • water quality data from LTER: wq_data_*.csv

  • nml file : nhdhr_*.nml

Output data for odem

variable
datetime
thermocline_depth
temperature_epi
temperature_hypo
temperature_total
volume_total
volume_epi
volume_hypo
area_thermocline
area_surface
upper_meta
lower_meta
year
day_of_year
max.d
wind
airtemp

This R-package is still under development and functions are likely to change with future updates. odem.data is maintained by UW-Madison Center for Limnology. All data were obtained from online repositories, e.g. NTL-LTER and the USGS Water Quality Portal. This project is part of the Data Science Initiative at UW-Madison.

About

Data preprocessing for the Oxygen DEpletion Model (ODEM)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 97.6%
  • Makefile 2.4%