Closed mortenwh closed 7 years ago
Could you add some more description of the problem?
Not sure what more I can say... It stopped for me in line 248 in sar_wind.py:
/home/vagrant/miniconda/lib/python2.7/site-packages/openwind/sar_wind.pyc in _get_wind_direction_array(self, aux_wind, eResampleAlg, *args, **kwargs)
246 if u_array is None:
247 raise Exception('Could not read wind vectors')
--> 248 return np.degrees(np.arctan2(-u_array, -v_array)), \
249 wind_direction_time, \
250 np.sqrt(np.power(u_array, 2) + np.power(v_array, 2))
MemoryError:
In [3]:
This is in the method were the model wind field is reprojected to return wind directions defined on the SAR grid.
But how do you know it is a memory problem? Not obvious from the error message?
But it says MemoryError
?
Ah, I did not see that, only the first part of your comment is shown, and the three dots at the end for expanding does not work. I had to click "edit" on your message to see all.
aha - ok, is it better now?
Yes, now the whole comment is expanded.
Duplicate with #25
There is a quite serious memory problem in openwind that needs to solved before it can work optimally with sentinel-1 data.