fix_hmi_meta¶
-
pfsspy.utils.
fix_hmi_meta
(hmi_map)¶ Fix non-compliant FITS metadata in HMI maps.
- This function:
Corrects CUNIT2 from ‘Sine Latitude’ to ‘deg’
Corrects CDELT1 and CDELT2 for a CEA projection
Populates the DATE-OBS keyword from the T_OBS keyword
Sets the observer coordinate to the Earth
Notes
If you have sunpy > 2.1 installed, this function is not needed as sunpy will automatically make these fixes.