rioxarray icon indicating copy to clipboard operation
rioxarray copied to clipboard

Read colormap and colorinterp from GeoTIFF as an attribute

Open weiji14 opened this issue 2 years ago • 2 comments

Preliminary support to read in and write color interpretation information from GeoTIFF files. Partially based on @alando46's code at https://github.com/pydata/xarray/pull/3136. Rasterio reference at https://rasterio.readthedocs.io/en/latest/topics/color.html

  • [ ] Addresses #191
  • [ ] Tests added
  • [ ] Fully documented, including docs/history.rst for all changes and docs/rioxarray.rst for new API

weiji14 avatar Oct 02 '21 00:10 weiji14

#429 should help.

snowman2 avatar Nov 08 '21 15:11 snowman2

Codecov Report

Merging #414 (edc9972) into master (1755f90) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #414      +/-   ##
==========================================
+ Coverage   96.07%   96.11%   +0.04%     
==========================================
  Files          13       13              
  Lines        1530     1546      +16     
==========================================
+ Hits         1470     1486      +16     
  Misses         60       60              
Impacted Files Coverage Δ
rioxarray/_io.py 95.21% <100.00%> (+0.09%) :arrow_up:
rioxarray/raster_writer.py 91.50% <100.00%> (+0.69%) :arrow_up:

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 1755f90...edc9972. Read the comment docs.

codecov[bot] avatar Nov 08 '21 18:11 codecov[bot]

Closing because this PR has become stale. Feel free to re-open or submit a new PR if you would like to contribute this feature.

snowman2 avatar Apr 18 '23 17:04 snowman2