Skip to content

Commit

Permalink
Use fully qualified name, as opposed to trying to import from pyspeda…
Browse files Browse the repository at this point in the history
…s.erg (importing from pyspedas.projects.erg also would have worked)
  • Loading branch information
jameswilburlewis committed Aug 24, 2024
1 parent e2bea2c commit d8f185c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyspedas/themis/tests/tests_tplot_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def setUp(self):
def test_timespan(self):
"""Test pytplot.timespan as used in ERG notebook"""
from pytplot import tplot,timespan
from pyspedas.erg import mgf
vars = mgf(trange=['2017-03-27', '2017-03-28']) # load MGF Lv.2 8-s data for 0-24 UT on Mar. 27, 2017.
vars = pyspedas.erg.mgf(trange=['2017-03-27', '2017-03-28']) # load MGF Lv.2 8-s data for 0-24 UT on Mar. 27, 2017.
tplot('erg_mgf_l2_mag_8sec_sm', display=display)
timespan('2017-03-27 09:00:00', 6, keyword='hours')
tplot(['erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_mag_8sec_gsm'], display=display)
Expand Down

0 comments on commit d8f185c

Please sign in to comment.