This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| # Set up transformation matrices | |
| def calc_transmat(lat, lon): | |
| rlon = np.deg2rad(lon) | |
| rlat = np.deg2rad(lat) | |
| transmat = dict() | |
| #now transform from local tangent plane coordinates to parent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from functools import partial | |
| import dateutil.parser as dup | |
| import spacepy.datamodel as dm | |
| def read_list(fname='richardson_cane_ICME_list.txt'): | |
| """Read Richardson-Cane ICME list from file | |
| Parameters | |
| ---------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File created on 2016-01-15T21:35:34.948634 | |
| #COORDINATES | |
| GSM | |
| year mo dy hr mn sc msc BX BY BZ UX UY UZ RHO T | |
| #START | |
| 2010 04 04 19 00 00 000 0.00 -4.07 2.18 -490.29 -37.69 22.67 3.73 101590.00 | |
| 2010 04 04 19 01 00 000 0.00 -3.94 3.23 -487.24 -36.39 38.59 3.67 120417.00 | |
| 2010 04 04 19 02 00 000 0.00 -4.63 1.74 -493.04 -41.16 41.98 3.48 117629.00 |