R/DO.Screening.R
DO.Screening.Rd
Function to screen dissolved oxygen data within the Everglades Ecosystem prior to evaluating compliance with established water quality standards.
as.POSIXct date and time
Dissolved Oxygen Concentration
Surface water temperature
data.frame() with DateTime (DateTime.EST), Dissolved Oxygen (concentration; DO) and Temperature (Temp) data.
min and max hour to capture "day-time" DO
Limit to the maximum observed DO for the system
limits to water temperature data that seem reasonable based on period of record.
specify other parameters as needed (min.hour,max.hour,max.DO,min.Temp,max.Temp)
DO.Screening() assumes the data has a "DateTime.EST" field (date and time stamp), "DO" Field and "Temp" field to determine suitable data. Returns a "UseData" response.
if (FALSE) {
# data=data.frame(DateTime.EST=as.POSIXct(c("2015-05-01 08:00","2015-10-15 12:00","2015-10-15 5:00")),DO=c(15,2,3),Temp=c(18,27,3))
# data$UseData=DO.Screening(DateTime.EST,DO,Temp,data)
# data
}