nansencenter / openwind

A python package for estimating high resolution wind from SAR images
41 stars 25 forks source link

problem using SAR_look_direction #20

Open MikeWooster opened 8 years ago

MikeWooster commented 8 years ago

I am getting the following error when running openwind using a standard envisat N1 file: Cannot find band {'name': 'SAR_look_direction'}! bandNumber is from 1 to 6.

It appears that nansat may have changed "SAR_look_direction" to "look_direction" within their mappers.

mortenwh commented 8 years ago

Which versions of nansat and openwind are you running? I can't reproduce the error. It is correct that the "SAR_look_direction" name has changed in nansat but it shouldn't be a problem if you use the correct versions. I'm closing this issue now - you could try to use the https://github.com/nansencenter/nersc-vagrant configuration develop. That has the develop versions of nansat and openwind preconfigured although these may be unstable at times...

MikeWooster commented 8 years ago

pip freeze shows me that I'm using nansat==0.6.12 and openwind==0.6.1

mortenwh commented 8 years ago

ok - I have changed the version numbers of nansat and openwind in setup.py. If you run python setup.py install in openwind, it should work. Also, it should work with the latest master and develop versions of openwind and nansat.

mortenwh commented 7 years ago

Strangely, this seems not to be fixed anyway. At least in master. Reopened to check and correct later...