get_observer_meta

sunpy.map.header_helper.get_observer_meta(observer, rsun: (Unit('Mm'), None) = 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. If None, 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 if rsun is given ['rsun_obs', 'rsun_ref'].