Slides here: http://stuartmumford.uk/talks/ras2016/
"A Project to facilitate and promote the use and development of a community-led, free and open-source solar data-analysis software based on the scientific Python environment."
A library designed to provide core functionality to enable people to do solar physics with Python.
A community of solar physicists doing science using Python.
# Create a AIA 171 Map from some sample data
mymap = sunpy.map.Map(AIA_171_ROLL_IMAGE)
# Plot the AIA Map object
im = mymap.plot()
#Make the HP grid larger so it can be seen on the projector
plt.gca().coords.grid(color='white', lw=3)
# Overlay the Heliographic Coordinate Grid
l = mymap.draw_grid()
from sunpy.net import vso
from sunpy.net.vso import attrs as a
vc = vso.VSOClient()
results = vc.query(a.Time('2015/12/1T00:00:20', '2015/12/1T00:00:25'),
a.Instrument('AIA') | a.Instrument('HMI'))
results
Start Time [1] | End Time [1] | Source | Instrument | Type |
---|---|---|---|---|
string152 | string152 | string24 | string24 | string64 |
2015-12-01 00:00:22 | 2015-12-01 00:00:23 | SDO | AIA | FULLDISK |
2015-12-01 00:00:22 | 2015-12-01 00:00:23 | SDO | AIA | FULLDISK |
2015-12-01 00:00:24 | 2015-12-01 00:00:25 | SDO | AIA | FULLDISK |
2015-12-01 00:00:25 | 2015-12-01 00:00:26 | SDO | AIA | FULLDISK |
2015-12-01 00:00:24 | 2015-12-01 00:00:25 | SDO | HMI | FULLDISK |
2015-12-01 00:00:24 | 2015-12-01 00:00:25 | SDO | HMI | FULLDISK |
2015-12-01 00:00:24 | 2015-12-01 00:00:25 | SDO | HMI | FULLDISK |
vc.get(results, path="/home/stuart/sunpy/data/{instrument}/{file}").wait()