-
Notifications
You must be signed in to change notification settings - Fork 27
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
dx, dy can be uninitialised in index file #8
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have found that dx, dy in the index file can be non-deterministic and sometimes incorrect in the index file. For example, here is the output from 2 consecutive runs:
I think the reason for this is that the the line https://github.com/openwfm/convert_geotiff/blob/master/read_geotiff.c#L65 can fail and since
idx,dx
andidx.dy
are not initialised they take on random values. If these values are < 0 then everything is OK because there is code that catches this later on.The text was updated successfully, but these errors were encountered: