When a product is produced using the geotiff_standard OutputFormatter using rasterio v1.3.9, the color table is correctly added. After upgrading to v1.3.10, however, the color table doesn't get added so the resulting imagery comes out greyscale.
What should have happened?
Imagery should be produced using the appropriate color table.
Replicating the Issue
Update pyproject.toml to require rasterio==1.3.10.
09_164228 geotiff_standard.py:121 INFO: GDAL signalled an error: err_no=1, msg='TIFFSetField:/home/jsolbrig/geoips/github/outdirs/preprocessed/tcwww/tc2020/SH/SH252020/tif/WV/himawari-8/20200405_000000_SH252020_ahi_himawari-8_WV_100kts_100p00_1p0.tif: Cannot modify tag "PhotometricInterpretation" while writing'
Bug Report
What happened?
When a product is produced using the
geotiff_standard
OutputFormatter using rasterio v1.3.9, the color table is correctly added. After upgrading to v1.3.10, however, the color table doesn't get added so the resulting imagery comes out greyscale.What should have happened?
Imagery should be produced using the appropriate color table.
Replicating the Issue
pyproject.toml
to requirerasterio==1.3.10
../tests/scripts/ahi.tc.WV.geotiff.sh > ahi.tc.WV.geotiff.sh.log
.The resulting log file should contain this line:
It should also show:
The incorrect output imagery should look like this:![image](https://github.com/NRLMMD-GEOIPS/geoips/assets/1684491/8e064c55-025a-42d9-b03d-9cc47fe02dbd)
The correct comparison file looks like this:![image](https://github.com/NRLMMD-GEOIPS/geoips/assets/1684491/f301a595-43d7-445f-b4ab-0701af152bf9)
Environment
Checklist for Completion
rasterio = "1.3.10"
torasterio = "*"
in pyproject.toml../tests/scripts/ahi.tc.WV.geotiff.sh
to ensure that it succeeds.Related Issues
545