massbays-tech / MassWateR

R package for working with Massachusetts surface water quality data
https://massbays-tech.github.io/MassWateR
Creative Commons Zero v1.0 Universal
11 stars 3 forks source link

Fix data import issue from DEP example dataset #34

Closed fawda123 closed 2 years ago

fawda123 commented 2 years ago

Happens here... https://github.com/massbays-tech/MassWateR/blob/2eeb0eb947ed7845eef812640caff33e35c35f99/R/checkMWRresults.R#L246

It's got something to do with chlorophyll and the units they specified, use the file they provided at beta testing. The import with readMWRresults() works if the parameter name for Chlorophyll a is changed to Chl a and the units are changed from mg/m3 to ug/l.