Closed ortk95 closed 5 days ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 10470286746: | 0.001% |
Covered Lines: | 3163 |
Relevant Lines: | 3175 |
If a custom proj projection string is used when mapping, check the string's
+axis
parameter is consistent with the positive longitude direction of the body. I.e. positive west bodies should have+axis=wnu
and positive east bodies should have+axis=enu
. If the wrong+axis
parameter is used, then the output map is likely to be flipped and therefore incorrect, so PlanetMapper now raises aProjStringError
exception if the positive longitude direction and+axis
parameters are inconsistent.Also updated relevant documentation to suggest using
create_proj_string
, which automatically generates the correct+axis
parameter for the body.Closes #397
Pull request checklist
requirements.txt
are reflected insetup.py
and conda-forge feedstockrun_ci.sh
or check GitHub Actions)See CONTRIBUTING.md for more details.