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

mitiff writer add config option to add or not to add the size of a pixel in the proj string #2712

Closed
TAlonglong opened this issue Jan 5, 2024 · 1 comment · Fixed by #2713

Comments

@TAlonglong
Copy link
Collaborator

TAlonglong commented Jan 5, 2024

Feature Request

When plotting geotiff and mitiff images from the same satellite, different products, I see the geo location differs.

image
mitiff with the current correction
image
geotiff

Looking in the code I see I add the size of a pixel to the lower left corner of the proj4 string fort DIANA to plot the data correctly.

For some reasons I don't understand now, this apparently is not correct any more.

I want to add a config option to turn off this correction.

I don't think there are any other users of this writer, but to be sure I want to keep the current correction the default.

@djhoese
Copy link
Member

djhoese commented Jan 5, 2024

Since this effects a single writer I would suggest this be done as a keyword argument. I assume by "config option" you meant satpy.config.

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

Successfully merging a pull request may close this issue.

3 participants