The location is of type EarthLocation and is added here, but while the other parameters are instantiated, longitude, latitude, and elevation are not. Now since they are based on the location attribute which can presumably change, it would be best if these instances reported the correct and human readable value as astropy.quantity.Quantity instances, even after a change of state.
According to the docs, https://astroplan.readthedocs.io/en/latest/api/astroplan.Observer.html#astroplan.Observer
Observer
has parameters of elevation, longitude, and latitude as attributes, but this is not true. There is of course an implicit elevation instance in therepr
and inside thelocation
attribute.https://github.com/astropy/astroplan/blob/b3cf55340c50ccf69ec363889c1fe8ff2f93cada/astroplan/observer.py#L187-L193
The location is of type
EarthLocation
and is added here, but while the other parameters are instantiated, longitude, latitude, and elevation are not. Now since they are based on thelocation
attribute which can presumably change, it would be best if these instances reported the correct and human readable value asastropy.quantity.Quantity
instances, even after a change of state.The linked PR #522 shows my proposed fixes.