The MIT License (MIT)
Copyright (c) 2017 Massachusetts Institute of Technology

Author: Cody Rude
This software has been created in projects supported by the US National
Science Foundation and NASA (PI: Pankratius)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


In [1]:
%matplotlib notebook
import matplotlib.pyplot as plt

Rinex files from Mahali Alaska 2015 Experiment
MIT led NSF project studying the Earth’s ionosphere with GPS
http://mahali.mit.edu/


In [2]:
from skdaccess.framework.param_class import *
from skdaccess.geo.mahali.rinex import DataFetcher as MAHALI_DF

In [3]:
station_list = AutoList(['mh06','mh08']) # List of stations
mahali_df = MAHALI_DF([station_list], start_date='2015-10-10', end_date='2015-10-12', generate_links=True)

In [4]:
data_wrapper = mahali_df.output() # Get a data wrapper

Generate download links for files (only works in jupyter notebooks)


In [5]:
for site, date, nav, obs  in data_wrapper.getIterator():
    print(site, date.strftime('%Y-%m-%d'), nav, obs, sep='\n',end='\n\n')


mh06
2015-10-10
http://apollo.haystack.mit.edu/mahali-data/rinex/nav/2015/283/mh062830.15n
http://apollo.haystack.mit.edu/mahali-data/rinex/obs/2015/283/mh062830.15o

mh06
2015-10-11
http://apollo.haystack.mit.edu/mahali-data/rinex/nav/2015/284/mh062840.15n
http://apollo.haystack.mit.edu/mahali-data/rinex/obs/2015/284/mh062840.15o

mh08
2015-10-11
http://apollo.haystack.mit.edu/mahali-data/rinex/nav/2015/284/mh082840.15n
http://apollo.haystack.mit.edu/mahali-data/rinex/obs/2015/284/mh082840.15o

mh06
2015-10-12
http://apollo.haystack.mit.edu/mahali-data/rinex/nav/2015/285/mh062850.15n
http://apollo.haystack.mit.edu/mahali-data/rinex/obs/2015/285/mh062850.15o

mh08
2015-10-12
http://apollo.haystack.mit.edu/mahali-data/rinex/nav/2015/285/mh082850.15n
http://apollo.haystack.mit.edu/mahali-data/rinex/obs/2015/285/mh082850.15o