Closed padilla410 closed 2 years ago
Assuming there are no major bugs hiding, this will take <<30 min.
Good catch. That feet_to_meters
function is going to be slightly different since it rounds the conversion to get 3.28 instead of the equivalent 3.28084.
I prefer your function because it is more accurate but that complicates things when replacing it.
It does, but convert_ft_to_m
is pretty old (2018). I think making all parsers use feet_to_meters
will add an hour, tops (there are only 20 files in src/data_parsers
and I can check through the initial commit to quickly ID most of files. I will update the issue
Related to closed issue #235. When double checking files after merging PR #268 I noticed that Sam added a
parse_unit_functions
script to7a_temp_coop_munge
. This results in a duplicate functionI propose the following steps to resolve this issue: ~1. Move the functions from Sam's script from
7a_temp_coop_munge
togeneric_utils.R
. Sam's function will replace my conversion functionconvert_ft_to_m
~convert_ft_to_m
withfeet_to_meters
feet_to_meters
andfahrenheit_to_celsius
(especially, inparse_Bull_Shoals_Lake_DO_and_Temp
- left over from #235).fahrenheit_to_celsius
togeneric_utils.R
parse_unit_functions.R
from7a_temp_munge/src/data_parsers