2013 reu summarysolar.physics.montana.edu/reu/2013/dstauff/final_summary.pdf2013 reu summary david...

25
2013 REU Summary David Stauffer Augus 7, 2013 Week One Attended introductory meetings and learned how to use the computer system. 5 IDL tutorial sessions and two lectures: Sun as a Star and Sun’s Interior and Dynamo. As part IDL tutorial, downloaded images of sun during solar flare and compared brightness of flare to quiet sun value: The top plot shows the brightness of a section fo the sun containing the flare, clearly peaking when the flare goes off. The bottom graph shows the relative brightness of this flare as compared to the quiet sun brightness value. 1

Upload: others

Post on 07-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

2013 REU Summary

David Stauffer

Augus 7, 2013

Week OneAttended introductory meetings and learned how to use the computer system.5 IDL tutorial sessions and two lectures: Sun as a Star and Sun’s Interiorand Dynamo. As part IDL tutorial, downloaded images of sun during solarflare and compared brightness of flare to quiet sun value:

The top plot shows the brightness of a section fo the sun containing theflare, clearly peaking when the flare goes off. The bottom graph shows therelative brightness of this flare as compared to the quiet sun brightness value.

1

Page 2: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

The main project this week was writing code to track a large coronal holeacross the surface of the sun. Images from the Solar Dynamics Observatoryorbiting earth and the STEREO (A and B) satellites orbiting around thesun. Most of the actual code was pre-existing so we wrote a program thatcalled subprograms to download satellite data from online databases. Theprogram then called another subprogram that projected the images into flatmaps and combined the flat images into one picture of the whole sun. Theoverlaps in the images are not processed very well because the sun appearsbrighter in places (near the limbs). Then, we animated these full sun imagesinto a video showing the progress of a large coronal hole moving across thesun from May 8-24, 2013. Here are three of the frames from this movie:

2

Page 3: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Week TwoMonday I read the main program (ch track surf.pro) myself and then wentover it with Chris. I read two papers on a NP model of the sun that includedelectric currents in the corona and calibration of the HMI/HDI tools onsatellites. I downloaded Python for future use with plotting results. I alsoread notes from Dana Longcope on Magnetohydrodynamics written at anappropriate mathematical level for me.

The main project this week was downloading aia, sta and stb data at a 3hour cadence and writing a program to turn it into a movie. The corona holesappear in white with the rest of the sun black and the large corona hole wemade a video of last week is very visible in this form. The data is downloadedby ch data grab and combined into a single image by ch track surf and thenI wrote code (ch animate) that takes these images and puts them into adatacube with the help of ch map restore. Finally, dat2mov converts thedatacube of frames into an mp4 file. Selected frames below:

3

Page 4: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

4

Page 5: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Week ThreeOver the weekend I downloaded aia, sta and stb data at a one hour candencefor 2013/05/09 - 2013/06/10 and then ran ch track surf on it. We madeit into another movie and with the high frame rate it looks smoother thanprevious videos. I wrote a program ch baddates that may be able to replacebad frames from aia with new from from nearby times. Ch baddates takesthe baddates file created by ch track surf, increments the timestamp of thebad frames by a minute and uses ch data grab to get a new frame in theslightly offset time.

Thursday, Friday and this weekend I’ve worked on writing two pieces ofcode. One, ch track, tracks a specified coronal hole across different frames ofaia sun images. It uses a recursive structure and was fun to write. The secondprogram, ch sync, takes “monthly” synoptic hmi charts, daily synoptic hmicharts and aia/sta/stb images and syncs them up because they have differentcadences in data recording. Both are now written but will most likely needexactly a LOT of time to debug. My IDL abilities are improving a lot withmatrix manipulation.

5

Page 6: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Week FourI started this week by testing my code ch sync which worked after the addi-tion of a parenthesis, pretty remarkable that was the only mistake. Ch trackis now running after some minor fixes but takes quite a while because I tra-verse through every region detected by ch track surf on each frame so I mighthave to switch to using overlap to detect holes. I also wrote code to take mymask from ch track and the hmi data from ch sync to calculate flux.

The tracking code ended up taking a long time to debug after I sped it upby creating a smaller box around the hole to track the hole in. But, now thecode takes about 1 percent of the time it used to. The new masks that trackthe hole of interest intermittently lose some other holes towards the edges ofthe picture, seems like some sort of rounding error but I have yet to figureout what’s really going on there. There’s also a problem with connecting anddisconnecting with new regions but I can probably fix that with some newcode in the coming weeks. So now I have some results to look at. The fluxplots are somewhat hard to decipher but they’ll appear on the summary forweek 5, after I pretty them up. The code seems to track the hole very well,I’m so glad it’s finally working.

6

Page 7: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Week FiveI started this week by testing my code ch sync which worked after the addi-tion of a parenthesis, pretty remarkable that was the only mistake. Ch trackis now running after some minor fixes but takes quite a while because I tra-verse through every region detected by ch track surf on each frame so I mighthave to switch to using overlap to detect holes. I also wrote code to take mymask from ch track and the hmi data from ch sync to calculate flux.

The tracking code ended up taking a long time to debug after I sped it upby creating a smaller box around the hole to track the hole in. But, now thecode takes about 1 percent of the time it used to. The new masks that trackthe hole of interest intermittently lose some other holes towards the edges ofthe picture, seems like some sort of rounding error but I have yet to figureout what’s really going on there. There’s also a problem with connecting anddisconnecting with new regions but I can probably fix that with some newcode in the coming weeks. So now I have some results to look at. The fluxplots are somewhat hard to decipher but they’ll appear on the summary forweek 5, after I pretty them up. The code seems to track the hole very well,I’m so glad it’s finally working.

7

Page 8: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Week SixThis was the week of the SPD conference. I went to a few hours of lecturesmost days and understood a little of what was said. I expanded the timerange of the coronal hole we’re looking at through June 25. After findingall the bad frames, I ran the tracking program on the extended data and itworked quite well. I fixed the tracking program so the user can click on apicture to choose the hole to track. Hopefully, this will make the programeasier to use in the future. Here are the extended plots of are, signed fluxand unsigned flux:

0 10 20 30 40 50Days of Tracking

0

1

2

3

4

5

6

7

8

9

Are

a (

cm^

2)

1e21 Area of Hole

Area of All Holes on Sun

Area of Hole

0 10 20 30 40 50Days of Tracking

1.5

1.0

0.5

0.0

0.5

1.0

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Signed Flux

Corona Hole Monthly

Coronal Hole Daily

0 10 20 30 40 50Days of Tracking

2.01.51.00.50.00.51.01.5

Flux -

Sig

ned (

Mx)

1e22 Total Sun Signed Flux

Total Sun Monthly

Total Sun Daily

8

Page 9: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 10 20 30 40 50Days of Tracking

0.00.51.01.52.02.53.03.54.0

Flux -

Unsi

gned (

Mx) 1e22 Coronal Hole Unsigned Flux

Total Sun Monthly

Total Sun Daily

0 10 20 30 40 50Days of Tracking

012345678

Flux -

Unsi

gned (

Mx) 1e22 Total Sun Unsigned Flux

Total Sun Monthly

Total Sun Daily

There’s really good correspondence near the end of the unsigned flux plot,just off by some small factor. I’m not sure why they correspond so wellthere. For the next few weeks while my advisor Chris is gone I’ll try to runour automate the routine more fully and run it on more coronal holes in thelast couple years.

9

Page 10: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Week SevenI rewrote the coronal hole detecting program, ch track surf, to use daily syn-optic charts instead of the monthly charts. I reran the coronal hole trackingroutine in the hope that using daily charts would help track the holes betterbut they still appear to blink in and out quite frequently on the trackingvideo. I also reran the flux measuring routines and got these resutls (fairlysimilar to the old ones, the coronal hole we’re tracking disappears for a bitwith the daily HMI charts):

0 10 20 30 40 50Days of Tracking

0

1

2

3

4

5

6

7

8

9

Are

a (

cm^

2)

1e21 Area of Hole

Area of All Holes on Sun

Area of Hole

0 10 20 30 40 50Days of Tracking

1.5

1.0

0.5

0.0

0.5

1.0

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Signed Flux

Corona Hole Monthly

Coronal Hole Daily

0 10 20 30 40 50Days of Tracking

2.01.51.00.50.00.51.01.5

Flux -

Sig

ned (

Mx)

1e22 Total Sun Signed Flux

Total Sun Monthly

Total Sun Daily

10

Page 11: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 10 20 30 40 50Days of Tracking

0.00.51.01.52.02.53.03.54.0

Flux -

Unsi

gned (

Mx) 1e22 Coronal Hole Unsigned Flux

Coronal Hole Monthly

Coronal Hole Daily

0 10 20 30 40 50Days of Tracking

0123456789

Flux -

Unsi

gned (

Mx) 1e22 Total Sun Unsigned Flux

Total Sun Monthly

Total Sun Daily

Next, I downloaded data for a new hole to examine over the dates 2011/6/17- 2011/8/23. The data download program has some serious problems runningover such a long time; it slows by a factor of at least 10 and eventually endsup freezing. So downloading such a lengthy data series took quite a while. Iadded some more filtering to the hmi magnetic data (cutting off very smalland very large measurements) and added the ability to track positive andnegative flux in the hole individually. The resulting flux measurements forour new hole look like this:

11

Page 12: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 10 20 30 40 50 60 70Days of Tracking

1.5

1.0

0.5

0.0

0.5

1.0

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Signed Flux

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.5

1.0

1.5

2.0

2.5

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Unsigned Flux

0 10 20 30 40 50 60 70Days of Tracking

1.5

1.0

0.5

0.0

0.5

1.0

1.5

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Positive and Negative Flux

Positive Flux

Negative Flux

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

Are

a (

cm^

2)

1e22 Area of Hole

Area of All Holes on Sun

Area of Hole

12

Page 13: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Week EightThis week’s summary will be in the form of an analysis on the second hole I’veanalyzed over the time 2011.6.17-2011.8.23. There are also videos of correcteddaily synoptic hmi frames and the hole being tracked on the website.

In an attempt to verify coronal hole boundaries detected by our program,I’ve used pfss viewer to trace open field lines. The results are inconclusiveat best. Below are frames from the detection program followed by the corre-sponding pfss viewer image:

13

Page 14: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

14

Page 15: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

15

Page 16: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

The resulting flux plots appear as follows:

16

Page 17: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 10 20 30 40 50 60 70Days of Tracking

1.5

1.0

0.5

0.0

0.5

1.0

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Signed Flux

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.5

1.0

1.5

2.0

2.5

Flux -

Unsi

gned (

Mx)

1e22 Coronal Hole Unsigned Flux

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1.6

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Positive and Negative Flux

Positive Flux

Negative Flux

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

Are

a (

cm^

2)

1e22 Area of Hole

Area of All Holes on Sun

Area of Hole

17

Page 18: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

Weeks Nine and Ten: Final ResultsHere are plots of the flux of four holes that were tracked as well as areas:

2013/5/9-2013/6/25

0 10 20 30 40 50Days of Tracking

0

1

2

3

4

5

6

7

8

9

Are

a (

cm^

2)

1e21 Coronal Hole Areas

Area of All Holes on Sun

Area of Hole

18

Page 19: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 10 20 30 40 50Days of Tracking

0.2

0.0

0.2

0.4

0.6

0.8

1.0

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Signed Flux

0 10 20 30 40 50Days of Tracking

0.0

0.5

1.0

1.5

2.0

2.5

3.0

Flux -

Unsi

gned (

Mx)

1e22 Coronal Hole Unsigned Flux

0 10 20 30 40 50Days of Tracking

2.0

1.5

1.0

0.5

0.0

0.5

1.0

1.5

Flux -

Abso

lute

Valu

e (

Mx)

1e22 Coronal Hole Positive and Negative Flux

Positive Flux

Negative Flux

2011/6/17-2011/8/23

19

Page 20: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

Are

a (

cm^

2)

1e22 Area of Hole

Area of All Holes on Sun

Area of Hole

0 10 20 30 40 50 60 70Days of Tracking

1.5

1.0

0.5

0.0

0.5

1.0

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Signed Flux

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.5

1.0

1.5

2.0

2.5

Flux -

Unsi

gned (

Mx)

1e22 Coronal Hole Unsigned Flux

0 10 20 30 40 50 60 70Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1.6

Flux -

Sig

ned (

Mx)

1e22 Coronal Hole Positive and Negative Flux

Positive Flux

Negative Flux

20

Page 21: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

2011/6/17-2011/7/12

0 5 10 15 20 25 30Days of Tracking

0

1

2

3

4

5

6

7A

rea (

cm^

2)

1e21 Area of Hole

Area of All Holes on Sun

Area of Hole

21

Page 22: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 5 10 15 20 25 30Days of Tracking

4

2

0

2

4

Flux -

Sig

ned (

Mx)

1e21 Coronal Hole Signed Flux

0 5 10 15 20 25 30Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

Flux -

Unsi

gned (

Mx)

1e22 Coronal Hole Unsigned Flux

0 5 10 15 20 25 30Days of Tracking

0

1

2

3

4

5

6

7

8

Flux -

Abso

lute

Valu

e (

Mx)

1e21 Coronal Hole Positive and Negative Flux

Positive Flux

Negative Flux

2011/7/15-2011/8/9

22

Page 23: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 5 10 15 20 25 30Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

Are

a (

cm^

2)

1e22 Area of Hole

Area of All Holes on Sun

Area of Hole

0 5 10 15 20 25 30Days of Tracking

6

4

2

0

2

4

6

Flux -

Sig

ned (

Mx)

1e21 Coronal Hole Signed Flux

0 5 10 15 20 25 30Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

Flux -

Unsi

gned (

Mx)

1e23 Coronal Hole Unsigned Flux

0 5 10 15 20 25 30Days of Tracking

0

1

2

3

4

5

Flux -

Abso

lute

Valu

e (

Mx)

1e22 Coronal Hole Positive and Negative Flux

Positive Flux

Negative Flux

23

Page 24: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

2011/8/6-2011/6/23

0 2 4 6 8 10 12 14 16 18Days of Tracking

0

1

2

3

4

5

6

7A

rea (

cm^

2)

1e21 Area of Hole

Area of All Holes on Sun

Area of Hole

24

Page 25: 2013 REU Summarysolar.physics.montana.edu/reu/2013/dstauff/Final_Summary.pdf2013 REU Summary David Stau er Augus 7, 2013 Week One Attended introductory meetings and learned how to

0 2 4 6 8 10 12 14 16 18Days of Tracking

5

4

3

2

1

0

1

2

3

4Fl

ux -

Sig

ned (

Mx)

1e21 Coronal Hole Signed Flux

0 2 4 6 8 10 12 14 16 18Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1.6

1.8

Flux -

Unsi

gned (

Mx)

1e22 Coronal Hole Unsigned Flux

0 2 4 6 8 10 12 14 16 18Days of Tracking

0.0

0.2

0.4

0.6

0.8

1.0

1.2

Flux -

Abso

lute

Valu

e (

Mx)

1e22 Coronal Hole Positive and Negative Flux

Positive Flux

Negative Flux

25