Skip to content

Commit

Permalink
test improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ericthewizard committed Oct 9, 2022
1 parent 792569c commit e2f4010
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyspedas/maven/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_load_kp_data(self):
self.assertTrue(data_exists('mvn_kp::spacecraft::geo_x'))

def test_load_mag_data(self):
data = maven.mag()
data = maven.mag(datatype='ss1s')
self.assertTrue(data_exists('OB_B'))

def test_load_sta_data(self):
Expand Down
2 changes: 1 addition & 1 deletion pyspedas/mms/tests/wavpol.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_brst(self):
fac_matrix_make(mms_fgm_name, other_dim='xgse', newname=mms_fgm_name + '_fac_mat')
tinterpol('mms4_fgm_b_gse_srvy_l2_bvec_fac_mat', mms_scm_name)
fac_mat = get_data('mms4_fgm_b_gse_srvy_l2_bvec_fac_mat-itrp')
scm_data = get_data(mms_scm_name)
scm_data = get_data(mms_scm_name, dt=True)
scm_fac = [fac_mat.y[idx, :, :] @ scm_data.y[idx, :] for idx in range(0, len(scm_data.y[:, 0]))]
store_data(mms_scm_name + '_fac', data={'x': scm_data.times, 'y': scm_fac})
# number of points for FFT
Expand Down
2 changes: 1 addition & 1 deletion pyspedas/themis/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_check_gmag(self):

def test_load_gmag_data(self):
"""Load gmag."""
pyspedas.themis.gmag(varnames=['thg_mag_amer'])
pyspedas.themis.gmag(varnames=['thg_mag_amer'], sites='amer')
self.assertTrue(data_exists('thg_mag_amer'))


Expand Down

0 comments on commit e2f4010

Please sign in to comment.