Skip to content

Commit

Permalink
TST: updated file tests
Browse files Browse the repository at this point in the history
Updated the file tests to include the updated AMPERE date ranges and files.
  • Loading branch information
aburrell committed Mar 14, 2023
1 parent 69068be commit c522df0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions ocbpy/tests/test_files.py
Expand Up @@ -140,7 +140,7 @@ def setUp(self):
self.comp_dict = {'ocb': {'amp_north_radii.ocb':
{'instrument': 'amp', 'hemisphere': 1,
'stime': dt.datetime(2010, 1, 1, 0, 0),
'etime': dt.datetime(2017, 1, 1, 0, 0)},
'etime': dt.datetime(2022, 1, 1, 0, 0)},
'wic_north_circle.ocb':
{'instrument': 'wic', 'hemisphere': 1,
'stime': dt.datetime(2000, 5, 4, 0, 0),
Expand All @@ -160,7 +160,7 @@ def setUp(self):
'amp_south_radii.ocb':
{'instrument': 'amp', 'hemisphere': -1,
'stime': dt.datetime(2010, 1, 1, 0, 0),
'etime': dt.datetime(2017, 1, 1, 0, 0)}},
'etime': dt.datetime(2022, 1, 1, 0, 0)}},
'eab': {'wic_north_circle.eab':
{'instrument': 'wic', 'hemisphere': 1,
'stime': dt.datetime(2000, 5, 4, 0, 0),
Expand All @@ -176,7 +176,15 @@ def setUp(self):
'si12_north_circle.eab':
{'instrument': 'si12', 'hemisphere': 1,
'stime': dt.datetime(2000, 5, 4, 0, 0),
'etime': dt.datetime(2002, 11, 1, 0, 0)}}}
'etime': dt.datetime(2002, 11, 1, 0, 0)},
'amp_north_radii.eab':
{'instrument': 'amp', 'hemisphere': 1,
'stime': dt.datetime(2010, 1, 1, 0, 0),
'etime': dt.datetime(2022, 1, 1, 0, 0)},
'amp_south_radii.eab':
{'instrument': 'amp', 'hemisphere': -1,
'stime': dt.datetime(2010, 1, 1, 0, 0),
'etime': dt.datetime(2022, 1, 1, 0, 0)}}}

self.short_to_long = {"amp": "ampere", "si12": "image",
"si13": "image", "wic": "image", "": "image"}
Expand Down

0 comments on commit c522df0

Please sign in to comment.