You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding an additional keyword to the profile_kwargs of the to_raster() method and calling the write_colormap() function from within the rasterio.open(...) context should do the job.
Many thanks for the great work so far!
The text was updated successfully, but these errors were encountered:
When writing GeoTIFF files from an
xarray.DataArray
, the possibility to write colourmaps is currently not provided (if I have not overseen sth.):https://rasterio.readthedocs.io/en/stable/topics/color.html#writing-colormaps
Adding an additional keyword to the
profile_kwargs
of theto_raster()
method and calling thewrite_colormap()
function from within therasterio.open(...)
context should do the job.Many thanks for the great work so far!
The text was updated successfully, but these errors were encountered: