Added terminator_lonlat and limb_lonlat to generate arrays of longitude and latitude coordinates for the terminator and limb respectively. These are equivalents to the already-existing terminator_radec and limb_radec methods that generate RA/Dec coordinate arrays. The only difference is that the default value of only_visible is True for terminator_radec, but False for terminator_lonlat, as the lon/lat arrays are less directly linked to the observer's perspective.
These new methods are mainly useful when plotting the limb and terminator lines on mapped data.
Closes #376
Pull request checklist
[x] Add a clear description of the change
[x] Add any new tests needed
[x] Run spell check on new text visible to user (documentation, GUI etc.)
[x] Check any changes to requirements.txt are reflected in setup.py and conda-forge feedstock
[x] Check code passes CI checks (run run_ci.sh or check GitHub Actions)
Added
terminator_lonlat
andlimb_lonlat
to generate arrays of longitude and latitude coordinates for the terminator and limb respectively. These are equivalents to the already-existingterminator_radec
andlimb_radec
methods that generate RA/Dec coordinate arrays. The only difference is that the default value ofonly_visible
isTrue
forterminator_radec
, butFalse
forterminator_lonlat
, as the lon/lat arrays are less directly linked to the observer's perspective.These new methods are mainly useful when plotting the limb and terminator lines on mapped data.
Closes #376
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.