TruSat/trusat-orbit

Angle Regex catches too wide angles

interplanetarychris opened this issue · 0 comments

This regex still needs a little work, as it still tries to process angles that are off by one character, or one character too wide.

https://github.com/consensys-space/trusat-orbit/blob/ea82c90af2645183318f7fc716a901960e0d5c65/iod.py#L32-L43

Problem angle: '1711809-682410' - Offending line:
39462 13 072A 0899 G 20171020002300180 17 25 1711809-6824100 37 S