Input issues with sunpy.physics.differential_rotation.solar_rotate_coordinate
#7185
Labels
Bug
Probably a bug
Effort Low
Requires a small time investment
Good First Issue
The best issues for new people to tackle!
Package Novice
Requires little knowledge of the internal structure of SunPy
Priority Medium
Non-urgent action required
Describe the bug
I've been playing around with
solar_rotate_coordinate
and came across some issue s with inputs passed.1. Issues with obstime of coordinate passed:
If you create a coordinate and dont specifically pass an obstime (as its in the observer coordinate in the frame) you get an error such as:
however, of you pass
obstime
in the coordinate frame it doesnt have this issue:so shouldn't
solar_rotate_coordinate
just take the observer coordinateobstime
if the attribute isnt on the coordinate?2. Issue when passing coordinate as HGS
Also there seems to be an issue if you pass a HGS coordinate instead of a HPC coord:
The text was updated successfully, but these errors were encountered: