sinkovit / Spatial-ecology

Space use software deployed in the Spatial Ecology Gateway
MIT License
2 stars 0 forks source link

Fix bug with table display #11

Closed monaw closed 2 years ago

monaw commented 2 years ago

after refactoring code into separate files and debugging, the table display seems to be broken...

monaw commented 2 years ago
 id  long_min  long_max   lat_min   lat_max   E-W(m)     N-S(m)    px(m)    grid  px(m)    grid  px(m)    grid  px(m)    grid 

Warning in min(x, na.rm = na.rm) : no non-missing arguments to min; returning Inf Warning in max(x, na.rm = na.rm) : no non-missing arguments to max; returning -Inf Warning in min(x, na.rm = na.rm) : no non-missing arguments to min; returning Inf Warning in max(x, na.rm = na.rm) : no non-missing arguments to max; returning -Inf Warning in min(x, na.rm = na.rm) : no non-missing arguments to min; returning Inf Warning in max(x, na.rm = na.rm) : no non-missing arguments to max; returning -Inf all -116.1083 -114.7195 30.2398 31.7428 -Inf -Inf Warning in custom_round(cell.sz) : NaNs produced NaN NAxNA Warning in custom_round(cell.sz) : NaNs produced NaN NAxNA Warning in custom_round(cell.sz) : NaNs produced NaN NAxNA Warning in custom_round(cell.sz) : NaNs produced NaN NAxNA

monaw commented 2 years ago

turns out the time information in the data frame was missing in animalAttributes() due to refactoring the code to split things up into separate files. fix included moving the movebankPreprocess() call to before animalAttributes()

monaw commented 2 years ago

fixed by commit d35d593f330ab19ac47362b44c60b81380612754