openwind icon indicating copy to clipboard operation
openwind copied to clipboard

problem using SAR_look_direction

Open MikeWooster opened this issue 8 years ago • 4 comments

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.

MikeWooster avatar Jul 14 '16 10:07 MikeWooster

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...

mortenwh avatar Aug 10 '16 08:08 mortenwh

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

MikeWooster avatar Aug 10 '16 08:08 MikeWooster

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 avatar Aug 10 '16 09:08 mortenwh

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

mortenwh avatar Oct 06 '16 13:10 mortenwh