Cotton yield off by a factor of 10
Opened this issue · 1 comments
brianwdavis commented
It's supposed to be round(10*x)/10
and they forgot the divide by 10 at the end.
tech-dashboard/src/Yield/YieldTables.js
Line 109 in caaf5a5
Also the yield table isn't showing the treatment column from the response for any of the cash crops.
brianwdavis commented
Also the units toggle isn't working correctly. The units on Cotton are kg/ha and lbs/ac not bu/ac, so I think it's not hitting this conditional.
tech-dashboard/src/Yield/YieldTables.js
Line 106 in caaf5a5