gme.isr.mho

Module: gme.mho

This module handles Millstone Hill ISR data

Class:
  • mhoData: Read Millstone Hill data, either locally if it can be found, or directly from Madrigal
class gme.isr.mho.mhoData(expDate, endDate=None, dataPath=None, fileExt=None, getMad=False, user_fullname=None, user_email=None, user_affiliation=None)[source]

Read Millstone Hill data, either locally if it can be found, or directly from Madrigal

Args:
  • expDate (datetime.datetime): experiment date
  • [endDate] (datetime.datetime): end date/time to look for experiment files on Madrigal
  • [getMad] (bool): force download from Madrigal (overwrite any matching local file)
  • [dataPath] (str): path where the local data should be read/saved
  • [fileExt] (str): file extension (i.e., ‘g.002’). If None is provided, it will just look for the most recent available one
  • user_fullname (str): required to download data from Madrigal (no registration needed)
  • user_email (str): required to download data from Madrigal (no registration needed)
  • user_affiliation (str): required to download data from Madrigal (no registration needed)
Example:
# Get data for November 17-18, 2010
import datetime as dt
user_fullname = 'Sebastien de Larquier'
user_email = 'sdelarquier@vt.edu'
user_affiliation = 'Virginia Tech'
date = dt.datetime(2010,11,17,20)
edate = dt.datetime(2010,11,18,13)
data = mhoData( date, endDate=edate, 
         user_fullname=user_fullname, 
         user_email=user_email, 
         user_affiliation=user_affiliation )

written by Sebastien de Larquier, 2013-03

getFileLocal()[source]

Look for the file in the dataPath or current directory

Belongs to: mhoData

Returns:
  • filePath: the path and name of the data file
getFileMad(user_fullname, user_email, user_affiliation)[source]

Look for the data on Madrigal

Belongs to: mhoData

Returns:
  • filePath: the path and name of the data file
look()[source]

Returns radar pointing directions during selected experiment

readData(filePath)[source]

Read data from HDF5 file

Args:
  • filePath (str): Path and name of HDF5 file
gme.isr.mho

alias of gme.isr.mho

Previous topic

gme.isr

Next topic

gme.plot

This Page