Fix bug where pyproj transformations returned by `generate_map_coordinates` could have an inconsistent positive longitude direction with other parts of PlanetMapper #291
All transformation objects used to default to +E longitudes, which could cause issues for +W bodies. This update now explicitly defines the coordinate axes for all transformations so that +E bodies have the +axis=enu convention and +W bodies have +axis=wnu convention. This ensures that the transformation objects should now always work as expected, having the same positive longitude direction as the rest of PlanetMapper.
Closes #289
Pull request checklist
[ ] Add a clear description of the change
[ ] Add any new tests needed
[ ] Run spell check on new text visible to user (documentation, GUI etc.)
[ ] Check any changes to requirements.txt are reflected in setup.py
[ ] Check code passes CI checks (run run_ci.sh or check GitHub Actions)
All transformation objects used to default to +E longitudes, which could cause issues for +W bodies. This update now explicitly defines the coordinate axes for all transformations so that +E bodies have the
+axis=enu
convention and +W bodies have+axis=wnu
convention. This ensures that the transformation objects should now always work as expected, having the same positive longitude direction as the rest of PlanetMapper.Closes #289
Pull request checklist
requirements.txt
are reflected insetup.py
run_ci.sh
or check GitHub Actions)See CONTRIBUTING.md for more details.