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

export to raster formats - data sets skewed #294

Closed
GoogleCodeExporter opened this issue Mar 27, 2015 · 3 comments
Closed

export to raster formats - data sets skewed #294

GoogleCodeExporter opened this issue Mar 27, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  Export a data set with negative coord values and a cell size of 0.0833

What is the expected output? What do you see instead?
The results are skewed and do not plot correctly.  

This is likely related to issue #173

Original issue reported on code.google.com by shawnlaffan on 8 Jun 2012 at 11:50

@GoogleCodeExporter
Copy link
Author

The root cause is that the prediction of the number of rows/cols is incorrect 
for some conditions.  The solution is to count the cols and rows as the system 
iterates over the X and Y coords.  This is how it is done in write_table_ers, 
which does not suffer from the issue.  

Original comment by shawnlaffan on 8 Jun 2012 at 12:02

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This issue was updated by revision r947.

Calculating row and column counts using the same loop structures as when we 
iterate over the data.  
Doesn't match for export_ers, but that sub works as-is.  

Original comment by shawnlaffan on 9 Jun 2012 at 6:51

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Mark as fixed

Original comment by shawnlaffan on 4 Jul 2012 at 10:56

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@shawnlaffan shawnlaffan modified the milestone: Release_0.17 Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants