Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Change the way observer location is calculated in Map #3115
In #2972 @wafels changes the observer location in the header (to HGS) which dosen't work with an
This PR changes AIAMap to default to extracting HEA but to fall back to HGS or HGC if those keys are present but not the previous ones.
This however, causes a change in behaviour of Map because it now checks for all three of the observer location keys in one go rather than checking them individually and then defaulting them individually to Earth if they can't be found. This means that if some of the header information is there and some of it isn't before this PR we could end up with an inconsistent observer location, which now wouldn't happen.
Comment last updated at 2019-05-20 10:20:34 UTC