API instructions

This program requires a Python interpreter, which can be obtained here. Other Python compilers are also available online. The program can be opened using a graphical user interace (e.g. Spyder), or run from the operative system's (OS) commad prompt by typing "python SWEMED_download_app.py". In some cases it may be required to indicate the program's full path and that of the Python interpreter.

To download data using the API follow these steps:

  1. Choose the desired data type from the dropdown menu, selecting one of the following data formats:
   • "Original files" - raw geomagnetic data files as generated by the data logger.
   • "IAGA2002 format" - raw data in IAGA 2002 data excange format (missing data appears as 99999.99).
   • "Calibrated data" - preliminary data calibration using a linear interpolation of the baseline defined here
  2. Select the start and end dates for the data.
  3. Click 'Show Files' to display the available files within the selected data range.
  4. Select the desired files from the list. Tick "All" to choose all files and untick it if you want to clear your selection.
  5. Click 'Choose directory' to select folder in which data will be downloaded.
  6. Click 'Download Files' to to download data to your chosen folder.