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

Fix InexactError in Read Raster #240

Merged
merged 5 commits into from
Jun 9, 2020
Merged

Fix InexactError in Read Raster #240

merged 5 commits into from
Jun 9, 2020

Conversation

vlandau
Copy link
Member

@vlandau vlandau commented Jun 9, 2020

Closes #239. In read_raster, convert array to Float before proceeding with any array operations so that Int types can be handled without error (particularly in the assignment of -9999.0 NoData values).

Vincent Landau added 2 commits June 9, 2020 10:20
prevents issues with certain types that don't support -9999 values
@vlandau vlandau changed the title Vl/tifs Fix InexactError in Read Raster Jun 9, 2020
@vlandau vlandau marked this pull request as draft June 9, 2020 17:03
@vlandau vlandau marked this pull request as ready for review June 9, 2020 17:40
@coveralls
Copy link

coveralls commented Jun 9, 2020

Pull Request Test Coverage Report for Build 651

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 85.495%

Totals Coverage Status
Change from base Build 645: 0.02%
Covered Lines: 1556
Relevant Lines: 1820

💛 - Coveralls

@vlandau vlandau merged commit 71167a2 into master Jun 9, 2020
@vlandau vlandau deleted the vl/tifs branch June 24, 2020 03:53
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

Successfully merging this pull request may close these issues.

InexactError while parsing nodata values
2 participants