ERROR: test_sarwind_using_default (openwind.tests.test_sarwind.SARWindTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/miniconda/lib/python2.7/site-packages/openwind/tests/test_sarwind.py", line 45, in test_sarwind_using_default
w = SARWind(self.test_data.radarsat2[i])
File "/home/vagrant/miniconda/lib/python2.7/site-packages/openwind/sar_wind.py", line 92, in __init__
**kwargs)
File "/home/vagrant/miniconda/lib/python2.7/site-packages/openwind/sar_wind.py", line 135, in set_aux_wind
wind_direction, *args, **kwargs)
File "/home/vagrant/miniconda/lib/python2.7/site-packages/openwind/sar_wind.py", line 190, in _get_aux_wind_from_str
*args, **kwargs)
File "/home/vagrant/miniconda/lib/python2.7/site-packages/openwind/sar_wind.py", line 218, in _get_wind_direction_array
timediff = self.SAR_image_time - wind_direction_time
TypeError: can't subtract offset-naive and offset-aware datetimes
Running
nosetests openwind.tests.test_sarwind:SARWindTest.test_sarwind_using_default
and using the recent frile from #23 gives: