read HMI fits file and wavelet transform