satellogic / telluric

telluric is a Python library to manage vector and raster geospatial data in an interactive and easy way
MIT License
87 stars 18 forks source link

Set _dtype attribute in image setter for MutableGeoRaster #289

Closed marcronq closed 3 years ago

marcronq commented 3 years ago

This PR fixes a bug that appears when setting a new image attribute for a MutableGeoRaster. The dtype property doesn't get updated and it can lead to an inconsistency between the array real type and the public property. closes #287

codecov-io commented 3 years ago

Codecov Report

Merging #289 (9e9aaa6) into master (5bd5606) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #289   +/-   ##
=======================================
  Coverage   90.64%   90.65%           
=======================================
  Files          37       37           
  Lines        5943     5948    +5     
=======================================
+ Hits         5387     5392    +5     
  Misses        556      556           
Impacted Files Coverage Δ
telluric/georaster.py 93.51% <100.00%> (+<0.01%) :arrow_up:
tests/test_georaster_mutable.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5bd5606...9e9aaa6. Read the comment docs.

drnextgis commented 3 years ago

Thank you!