3 ms·
The argument parser doesn't accept coordinates 0.0;0.0
by kseistrup 7y ago
The argument parser doesn't accept coordinates 0.0;0.0
- shakna 7y agoThat should be working. > python3 j6.py --longitude 0.0 --latitude 0.0 > sliceable-ensure-disband-handed-turkey-lure
- kseistrup 7y agoWhen I feed it 0.0; 0.0, it responds with the usage message. Python 3.7.4 here.
- kseistrup 7y agoAnd how does it distinguish between lat=-1, lon=-1 and lat=89, lon=179 Both seems to yield recopy-handset-disband-handed-turkey-lure Shouldn't the longitude be modulused 360 and the latitude modulused 180 (rather than 180 and 90, repectively)?
- shakna 7y agoYep. Missed abs. Fixed. [0] [0] https://git.sr.ht/~shakna/j6/commit/107c4a5913606d93ac79db1ccc89714e1bbb5a94 https://git.sr.ht/~shakna/j6/commit/107c4a5913606d93ac79db1c...