Two more quick notes on test_day.py:
def test_correct_time_shape(self):
self.assertEquals(len(self.dataset.times), 1857)
Fails because the file only has a single time value.
def test_valid_date_conversion(self):
start = dt.datetime(1854, 1, 1)
self.assertTrue(start == self.dataset.times[0])
Fails because the single value in the file is 1149681600 in units:
seconds since 1970-01-01T00:00:00Z which makes it Wed, 07 Jun 2006
12:00:00 GMT.
Is it ok for me to update the test case to reflect what's actually in
the test file?
Michael A. Anderson