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

geodiff replacing nodata value of 2nd DEM with Nan in output #301

Closed
adehecq opened this issue Mar 19, 2020 · 4 comments
Closed

geodiff replacing nodata value of 2nd DEM with Nan in output #301

adehecq opened this issue Mar 19, 2020 · 4 comments

Comments

@adehecq
Copy link
Contributor

adehecq commented Mar 19, 2020

It seems like geodiff replaces dem2 nodata values with NaN and never set them back to the original no data value (geodiff.cc, line 155 onwards).
Would it be possible to fix this?

@oleg-alexandrov
Copy link
Member

I never saw this before. Do your own DEMs that you try to diff have NaN anywhere? In either way we could fix it, but it would help to know the answer to this.

@oleg-alexandrov
Copy link
Member

I was able to verify this with my own data. I have an idea where that is coming from, I think it should be in geotransform, but that is in widespread use, so I'd rather fix it in geodiff and see if we ever get bitten by it in some other place.

Thank you for the report. I pushed the change. But our daily build is broken, with no resources to fix it, so it will take a while until this will be reflected in the latest build.

@adehecq
Copy link
Contributor Author

adehecq commented Mar 30, 2020

Oleg,
Sorry for the late reply, I should setup GitHub notifications properly because I wasn't aware of your reply...
Thanks for fixing it and let me know when the daily build will be updated.

@oleg-alexandrov
Copy link
Member

oleg-alexandrov commented Mar 30, 2020 via email

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

No branches or pull requests

2 participants