GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cmoestl/solar_wind_to_dst: Calculates from knowledge of the solar wind plasma and magnetic field the Dst index

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
dst_module.py
dst_module.py
 
 
fit_offset.py
fit_offset.py
 
 
solar_wind_to_dst.py
solar_wind_to_dst.py
 
 
wind_to_dst_coupling_2017-Jan-1_to_2017-Dec-31.eps
wind_to_dst_coupling_2017-Jan-1_to_2017-Dec-31.eps
 
 
wind_to_dst_coupling_2017-Jan-1_to_2017-Dec-31.png
wind_to_dst_coupling_2017-Jan-1_to_2017-Dec-31.png
 
 
wind_to_dst_coupling_2017-Jul-1_to_2017-Jul-31.eps
wind_to_dst_coupling_2017-Jul-1_to_2017-Jul-31.eps
 
 
wind_to_dst_coupling_2017-Jul-1_to_2017-Jul-31.png
wind_to_dst_coupling_2017-Jul-1_to_2017-Jul-31.png
 
 

Repository files navigation

Conversion of solar wind to Dst index

In space weather prediction, it is difficult to infer geomagnetic indices such as Dst or Kp from knowledge of the solar wind at the Sun-Earth L1 point. This package provides 3 methods for achieving this for Dst (Kp will be added in the future), namely: Temerin and Li (2002), O'Brien and McPherron (2000), and Burton et al. (1975).

Status: work in progress, November 2018 / issue with offsets needs to be resolved (fit_offset.py)

If you plan to use this code for generating results for peer-reviewed scientific publications, please contact me (see bio).

Dependencies

  • python 3 anaconda, non-standard packages: sunpy, seaborn
  • I use python 3.5.2 / IPython 4.2.0 on MacOSX Mojave

Running the code

  • After cloning the repository, run on the command line:

$ python solar_wind_to_dst.py

  • or in ipython

$ run solar_wind_to_dst

  • The code will download OMNI2 hourly data (158 MB currently) into the main folder, convert the time to the matplotlib time format, and save the data as a numpy recarray in a python pickle file, so when the structure 'omni' contains the data, the variables can be used as 'omni.time','omni.btot', 'omni.speed' etc.

  • The main function to convert a given solar wind to dst is 'make_dst_from_wind' in the dst_module.py file

  • The main program solar_wind_to_dst.py creates a plot of the solar wind, the observed Dst and a Dst calculated from the solar wind for a time interval selected in solar_wind_to_dst.py

About

Calculates from knowledge of the solar wind plasma and magnetic field the Dst index

Topics

geophysicsheliophysicssolarphysicsspacephysicsspaceweather

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.