GithubHelp home page GithubHelp logo

mbobra / smarps Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 2.0 8.9 MB

The SMARP data includes images of active regions, together with metadata keywords that describe their characteristics, taken by the ESA/NASA Solar and Heliospheric Observatory

License: MIT License

Jupyter Notebook 99.92% Python 0.08%

smarps's Introduction

SMARPs

We derived Space-weather MDI Active Region Patches, or SMARPs, from maps of the solar surface magnetic field taken by the Michelson Doppler Imager (MDI) aboard the ESA/NASA Solar and Heliospheric Observatory (SoHO). These data include maps that track every solar active region observed by MDI, along with keywords that describe the physical characteristics of each active region. These data are stored in a publicly-available, web-accessible pSQL database at Stanford University. We describe these data in detail in Bobra et al. 2021, published in the Astrophysical Journal Supplement Series.

We designed the SMARP data for use in concert with another data product called the Space-Weather HMI Active Region Patches (SHARPs, Bobra et al. 2014), derived from photospheric magnetic field data taken by the Helioseismic and Magnetic Imager instrument aboard the NASA Solar Dynamics Observatory. Combined, the SMARP and SHARP databases provide a continuous, seamless set of active region data from 1996 until the present day.

Users can access these data with a SunPy affiliated package called drms. If you use drms in your research, please cite The SunPy Community et al. 2020 and Glogowski et al. 2019. We released v0.1.0 of this repository and published it on Zenodo as 10.5281/zenodo.5138025.

Contents

This repository contains two folders. The example_gallery folder contains several notebooks and functions designed to help users understand the SMARP data and how to use the SMARP and SHARP data together. The paper folder contains notebooks that reproduce the figures and analysis in the SMARP paper (Bobra et al. 2021). To use these notebooks together with all the requisite Python packages, create a new conda environment called smarp using the provided smarp.yml environment file like this:

> conda env create -f smarp.yml

Example Gallery

  • The notebook Create_SMARP_and_SHARP_maps_with_SunPy.ipynb is a good place to get started. This notebook queries SMARP and SHARP data using the SunPy affiliated package drms, generates a Pandas dataframe of all the associated keyword metadata, and creates SunPy Maps of the SMARP and SHARP image data.
  • The notebook Compare_SMARP_and_SHARP_bitmaps.ipynb compares the activity bitmaps in the SMARP and SHARP data sets. The activity bitmaps encode the spatial distribution of the active regions -- called TARP and HARP regions, respectively -- as well as additional information about magnetic field strength and, for the TARP bitmaps, photometric features observed in the continuum intensity data.
  • The notebook Extract_SMARP_and_SHARP_maps_from_full-disk_data.ipynb shows how to extract the SMARP and SHARP partial-disk maps in Helioprojective Cartesian coordinates directly from full-disk maps.
  • The notebook Compare_SMARP_and_SHARP_coordinates.ipynb shows how to map a coordinate in the SHARP data to the same physical feature in the SMARP data. It also explains how optical distortion in the MDI data limits the ability for high-precision alignment between the two data series.
  • The notebook Coalign_SMARP_and_SHARP_maps.ipynb shows how to co-align SMARP and SHARP magnetic field maps.
  • The functions in calculate_smarpkeys.py calculate spaceweather keywords from the line-of-sight magnetic field data in the SMARP series. Sample data are included in this repository under the files directory.

Paper

  • The notebooks Figure1.ipynb, Figure2.ipynb, and Figure3.ipynb reproduce the three figures Bobra et al. 2021.
  • The notebook Matching_TARPs_and_HARPs.ipynb shows how to match HARP regions with TARP regions during the overlap period when both MDI and HMI took data. The SMARP and SHARP data overlap for half a year, between 1 May 2010 and 28 October 2010.

Citation

If you use the Space-weather MDI Active Region Patch data in your research, please consider citing our paper (Bobra et al. 2021):

@article{Bobra_2021,
	doi = {10.3847/1538-4365/ac1f1d},
	url = {https://doi.org/10.3847/1538-4365/ac1f1d},
	year = 2021,
	month = {sep},
	publisher = {American Astronomical Society},
	volume = {256},
	number = {2},
	pages = {26},
	author = {Monica G. Bobra and Paul J. Wright and Xudong Sun and Michael J. Turmon},
	title = {{SMARPs} and {SHARPs}: Two Solar Cycles of Active Region Data},
	journal = {The Astrophysical Journal Supplement Series}
}

smarps's People

Contributors

mbobra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.