Closed leppott closed 3 years ago
Example file that works.
User's Air file is missing "Air" in the name of the plot title and in the temperature column header.
Looking at the functions code:
Cell A1 is ignored.
SiteID and DataType come from filename.
Air and Water Temp are looking for the words "Air Temp" and "Water Temp". Having just "Temp" is ambiguous and is not resolved.
Could potentially modify the routine for "Air" and "Water" files to assume "Temp" means "Air Temp" or "Water Temp" depending on the file type.
In the mean time, if add "Air" or "Water" to the Temp columns in the user's file it should work.
Column names that are searched for include:
Update function help file to be more explicit with the above text.
Do not think it is an issue with the HOBOware software. The function works after properly formatting the file.
Modified file
Result
Describe the bug One user with file that didn't work.
To Reproduce formatHobo() with the users file.
Expected behavior Should get a column for each.
Screenshots
Additional context It is possible HOBO changed the file output format.