Skip to content

Commit

Permalink
BUG: use correct samples
Browse files Browse the repository at this point in the history
  • Loading branch information
jklenzing committed Nov 30, 2023
1 parent 93f75dd commit 1423263
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pysatSeasons/tests/test_avg.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class TestXarrayBasics(TestBasics):
def setup_method(self):
"""Run before every method to create a clean testing setup."""
self.testInst = pysat.Instrument('pysat', 'ndtesting',
num_samples=86400, clean_level='clean')
clean_level='clean')
self.bounds1 = (dt.datetime(2008, 1, 1), dt.datetime(2008, 1, 3))
self.bounds2 = (dt.datetime(2009, 1, 1), dt.datetime(2009, 1, 2))

Expand Down Expand Up @@ -191,7 +191,7 @@ class TestXarrayBasicsMeanBy(TestBasicsMeanBy):

def setup_method(self):
"""Run before every method to create a clean testing setup."""
self.testInst = pysat.Instrument('pysat', 'ndtesting',
self.testInst = pysat.Instrument('pysat', 'ndtesting', sample_rate='1S',
num_samples=86400, clean_level='clean')
self.bounds1 = (dt.datetime(2008, 1, 1), dt.datetime(2008, 1, 3))
self.bounds2 = (dt.datetime(2009, 1, 1), dt.datetime(2009, 1, 2))
Expand All @@ -206,7 +206,7 @@ def setup_method(self):
"""Run before every method to create a clean testing setup."""

self.testInst = pysat.Instrument('pysat', 'ndtesting',
num_samples=86400, clean_level='clean')
clean_level='clean')
self.testInst.bounds = (dt.datetime(2008, 1, 1),
dt.datetime(2008, 2, 1))
self.dname = 'profiles'
Expand Down

0 comments on commit 1423263

Please sign in to comment.