Skip to content
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

Loading SLSTR composite doesn't respect the view #1532

Closed
simonrp84 opened this issue Feb 3, 2021 · 1 comment · Fixed by #1533
Closed

Loading SLSTR composite doesn't respect the view #1532

simonrp84 opened this issue Feb 3, 2021 · 1 comment · Fixed by #1533
Assignees
Labels

Comments

@simonrp84
Copy link
Member

Describe the bug
SLSTR data is in two views, oblique and nadir. By default, Satpy loads nadir data.
If the user requires oblique view data they can request this, which works well when a single channel is requested. However, if the user requests and oblique view composite then instead satpy returns the nadir view.

To Reproduce

scn = Scene(files, reader='slstr_l1b')
scn.load([DataQuery(name='natural_color', view='oblique')])
scn.save_datasets(filename='oblique.tif')

scn2 = Scene(files, reader='slstr_l1b')
scn2.load([DataQuery(name='natural_color', view='nadir')])
scn2.save_datasets(filename='nadir.tif')

Expected behavior
The above code should create two tif files, one with nadir view data and one with the oblique view.

Actual results
Both of the tif files contain the nadir view data.

@simonrp84
Copy link
Member Author

This is fixed in #1533, will close the issue once it's merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants