most get_* functions currently rely on effective parsing of series data (i.e. using get_series). however, many tags in the current database do NOT have temperature in the series data. thus, when etuff is written, none of the data includes temperature and thus that var does not exist. get_series ends up pushing an error when trying to get temperature from an eTUFF file because it tries to index etuff$temperature. need to just use names(etuff) %in% c('DateTime','depth','temperature')
most
get_*
functions currently rely on effective parsing of series data (i.e. usingget_series
). however, many tags in the current database do NOT have temperature in the series data. thus, when etuff is written, none of the data includes temperature and thus that var does not exist.get_series
ends up pushing an error when trying to get temperature from an eTUFF file because it tries to index etuff$temperature. need to just usenames(etuff) %in% c('DateTime','depth','temperature')