fix_observer_location#

aiapy.calibrate.fix_observer_location(smap)[source]#

Fix inaccurate HGS_LON and HGS_LAT FITS keywords.

The heliographic Stonyhurst latitude and longitude locations in the AIA FITS headers are incorrect. This function fixes the values of these keywords using the heliocentric aries ecliptic keywords, HAEX_OBS, HAEY_OBS, HAEZ_OBS.

Note

AIAMap already accounts for the inaccurate HGS keywords by using the HAE keywords to construct the derived observer location.

Parameters:

smap (AIAMap) – Input map.

Returns:

AIAMap