Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GNS Magnetic Instrument
# Name: K102
# Project: GNS Magnetic instrument
# Author: Data Curator, Antarctica NZ
# Purpose: Demonstrate how to access and download GNS Magnetic data
library(tidyverse)
# Parameter: Geomagnetic data
# Host: Intermagnet
# Example (manual download) ------------------------------
# Access: https://www.intermagnet.org/data-donnee/download-eng.php
# Select 'Start Date' and 'End Date'
# Select 'Regions'
# Select 'Pacific Ocean/Australia/Antarctica
# Select 'Search for data'
# Select 'SBA, Scott Base'
# Select `Add file` tick box
# Select 'Download data' (at bottom of page)
# Read downloaded data (this example: 2021-09-15)
theData <- read.table("sba20210915pmin.min", skip = 22)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment