/IAGA_SummerSchool2019

Materials for the workshop on magnetic observatories and modelling - being replaced by https://github.com/MagneticEarth/book.magneticearth.org

Primary LanguageJupyter NotebookMIT LicenseMIT

Binder nbviewer

IAGA Summer School 2019

Materials for the workshop on magnetic observatories and modelling. Tutorials are written in Python as Jupyter Notebooks and can be found in the notebooks directory.

Authors: David Kerridge, Grace Cox, Ashley Smith (for info, contact ashley.smith@ed.ac.uk)

Contents

  1. Visualising Geomagnetic Observatory Data
    • plotting observatory time series data, from years to seconds
  2. K Index Calculation
    • how to calculate the activity "K" index
  3. Magnetic Field Line Tracing
    • moving along field lines and finding magnetically conjugate points
  4. Spherical Harmonic Models 1
    • representation and evaluation of the IGRF
  5. Spherical Harmonic Models 2
    • building SH models, and using a satellite-derived virtual observatory (VO) dataset
  6. Accessing Swarm Data and Models Using VirES (viresclient)

Use nbviewer to view the notebooks non-interactively

Use Binder to launch them interactively

Running on the ESA Virtual Research Environment (VRE)

The VRE provides cloud-based JupyterLab servers where the tutorials can be run interactively. Students at the summer school will be given access.

To get started:

  • Login at https://vre.vires.services/
  • Open a terminal (File/New/Terminal)
  • (You should be in your home directory)
  • git clone https://github.com/smithara/IAGA_SummerSchool2019.git

If a newer version is available:

This will get the newer version and overwrite any local changes:

  • cd ~/IAGA_SummerSchool2019/
  • git fetch
  • git reset --hard origin/master

Instructions to set up on your own machine

Prerequisite: You will need an installation of Python 3.6+ with recent versions of numpy, matplotlib, pandas, scipy, jupyter. Anaconda is the recommended way to install all this.

Download the project to the location of your choice (the green button near the top right of this page). Or using git, just:

git clone https://github.com/smithara/IAGA_SummerSchool2019.git

Project structure

.
├── LICENSE
├── README.md
├── data
│   ├── external       <- Data that is sourced from elsewhere
│   ├── downloaded     <- (currently empty)
├── notebooks          <- Jupyter notebooks (tutorials)
└── src                <- Source code for this project (modules)

Included data

Useful links