SpatioTemporal / STARE

SpatioTemporal Adaptive Resolution Encoding, a unifying index for geo-located data.
Other
10 stars 7 forks source link

BUG: to_latlon(4485585228861014020) yields NaN? #99

Closed michaelleerilee closed 2 years ago

michaelleerilee commented 2 years ago

4485585228861014020 -> nan in pystare

In hex: 0x3e40000000000004

michaelleerilee commented 2 years ago

Bug was not found on MacOS 11.5.1. The lon returned is 0.

Verified the bug on AMCE Fire Daskhub where the lon returned is NaN.

(/home/jovyan/users_conda_envs/work) jovyan@jupyter-mrilee:~/git/STARE/build$ uname -a
Linux jupyter-mrilee 5.4.117-58.216.amzn2.x86_64 #1 SMP Tue May 11 20:50:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

/etc/os-release shows the container is an Ubuntu 20 instance.

michaelleerilee commented 2 years ago

Verified bug on an Ubuntu 20 VM.

michaelleerilee commented 2 years ago

Fixed in 1.2.5.