-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenWind incompatible with Nansat #37
Comments
I was comparing the output before and after the changes but I think they were identical. |
In the wind files we are using, wind components have standard_name |
The only difference I noticed was that in the band 'look_direction' these metadata have disappeared:
This is obviously a bug. But is it this bug which causes problems in OpenWind now? |
This seems to be one part of the problem, as OpenWind expects metadata "standard_name: sensor_azimuth_angle" But there seems also to be some issues around "eastwards_wind"/"x_wind". I tried to make a workaround, which apparently works, but erroneous output is produced (see attachment). |
Regarding metadata; I have now checked two different datasets, and the
Serious Nansat bug needing immediate action..... I am working on some wind retrieval now, so will look for possible other issues as well but won't have time to look into s1... |
Forget the last comment. |
I've fixed the issue with wkv and standard names. It is soon coming into the master version. |
I tried again now with the latest master version of Nansat, and the develop-version of OpenWind, but keep getting errors like: Does calculation of wind with OpenWind work for you, for wind files which contain |
I have made two local changes in sar_wind.py to be able to process wind:
except OptionError:
withexcept:
after calls toaux_wind._get_band_number()
look_dir = self[self._get_band_number({'standard_name': 'sensor_azimuth_angle'})]
tolook_dir = self[self._get_band_number({'name':'look_direction'})]
as standard_name sensor_azimuth_angle seems no more to be present for S1 files.Wind is now produced, but results look very wrong, and sometimes gives coredumps.
The text was updated successfully, but these errors were encountered: