Closed mdsumner closed 6 years ago
Looks good:
set.seed(1)
rando <- sample(roc::initbin(4320)$totbins, 10000)
sum(do.call(cbind, roc::bin2lonlat(rando, 4320)) - b2ll(rando, 4320))
rando <- sample(roc::initbin(8260)$totbins, 10000)
sum(do.call(cbind, roc::bin2lonlat(rando, 8260)) - b2ll(rando, 8260))
rando <- sample(roc::initbin(126)$totbins, 10000)
sum(do.call(cbind, roc::bin2lonlat(rando, 126)) - b2ll(rando, 126))
We don't need it, this should be enough to replace bin2lonlat: