SunPy


Hi Everybody

SunPy very popular among Python Packages.For installing to package you must apply to instuctions on official internet page.(By the way,for new-mid level users that there is a condition on which  not only standart import module istallations also for SunPy to ghost module installations is characteristic.For example,pytest,sunpy[net],sunpy[database]
(Thus,I absolutely suggest to following to installation instructions)

....



I think,you will realise as a whole to your installation procedure.Next,I am starting first good application;

Chapter:Image Querying by date with SunPy


Firstly,You must use Data Calling procedure;



from sunpy.net.helioviewer import HelioviewerClient
hv = HelioviewerClient()
datasources = hv.get_data_sources()

# print a list of datasources and their associated ids
for observatory, instruments in datasources.items():
    for inst, detectors in instruments.items():
        for det, measurements in detectors.items():
            for meas, params in measurements.items():
                print("%s %s: %d" % (observatory, params['nickname'], params['sourceId']))

Conclusion;





Structure of carried-out  application on format structure and actual date ;


from sunpy.net.helioviewer import HelioviewerClient
import matplotlib.pyplot as plt
from matplotlib.image import imread
hv = HelioviewerClient()
file = hv.download_png('2018/02/04', 4.8, "[SDO,EIT,EIT,171,1,100]", x0=0, y0=0, width=512, height=512)
im = imread(file)
plt.imshow(im)
plt.axis('off')
plt.show()





"[SDO,EIT,EIT,195,1,100]"


 
"[SDO,EIT,EIT,284,1,100]"





"[SDO,EIT,EIT,304,1,100]"



"[SOHO,LASCO,C3,5,1,100]"




"[SOHO,LASCO,C2,4,1,100]"



"[SOHO,AIA,AIA,94,1,100]"



"[SOHO,AIA,AIA,131,1,100]"



 "[SOHO,AIA,AIA,171,1,100]"



"[SDO,EIT,EIT,193,1,100]"




"[SDO,AIA,AIA,193,1,100]"



"[SDO,AIA,AIA,211,1,100]"





"[SDO,AIA,AIA,304,1,100]"




"[SDO,AIA,AIA,335,1,100]"




"[SDO,AIA,AIA,1600,1,100]"




"[SDO,AIA,AIA,1700,1,100]"



"[SDO,AIA,AIA,4500,1,100]"




"[PROBA2,SWAP,SWAP,174,1,100]"






"[Yohkoh,SXT,SXT,AlMgMn,1,100]"








"[Yohkoh,SXT,SXT,thin-Al,1,100]"






"[Yohkoh,SXT,SXT,white-light,1,100]"























































































Yorumlar

Bu blogdaki popüler yayınlar

Important Tectonic Components of Turkey Geography based on Anatolian Plate

Informations about experimental plate structures

Obspy-about Developments