The Dst index is an index of magnetic activity derived from a network of near-equatorial geomagnetic observatories that measures the intensity of the globally symmetrical equatorial electrojet (the "ring current")
There are two interfaces. Command line interface (on master
branch) and Webapp interface (on webapp
branch)
There is also a .sqlite
database which keeps a cashed copy of all the indices that have aldready been searched for to preserve bandwidth.
For either of the interface, switch to the branch and do
pip install -r requirements.txt
To get readings for a month
python main.py --year <year> --month <month>
or
python main.py -y <year> -m <month>
To get result for a specific day
python main.py --year <year> --month <month> --day <day>
or
python main.py -y <year> -m <month> -d <day>
The flag --plot-days
and --plot-month
are used for getting matplotlib graphs for the given day / month (average value for each day of the month).
Example:
python main.py --year 1969 --month 12 --day 12 --plot-days
This web application is based on Flask Microframework. Make sure that flask is installed and run:
python app.py
The live version is up on heroku can be accessed here .