get_observer_meta#
- sunpy.map.header_helper.get_observer_meta(observer, rsun=None)[source]#
Function to get observer meta from coordinate frame.
- Parameters:
observer (
BaseCoordinateFrame) – The coordinate of the observer, must be transformable to Heliographic Stonyhurst.rsun (
astropy.units.Quantity, optional) – The radius of the Sun. IfNone, the RSUN_OBS and RSUN_REF keys are not set.
- Returns:
coord_meta (
dict) – WCS metadata, with the keys['hgln_obs', 'hglt_obs', 'dsun_obs'], and additionally ifrsunis given['rsun_obs', 'rsun_ref'].