Skip to content

CreateColourComposite with 3 float32 TIFs creates invalid output #470

@rfrenz-woolpert

Description

@rfrenz-woolpert

I'm attempting to create a composite of three float32 TIFs (all same profile). This mostly works fine, however with very large input images, the result written by CreateColorComposite appears corrupt as evidenced by the sampling of error messages below.

This appears to happen when the input images get to be around 4GB, so I'm suspicious of something related to BIGTIFF support.

Any guidance on how to debug this would be appreciated.

-Ryan

Rasterio:
rasterio.errors.RasterioIOError: output.tif: TIFFReadDirectory:Cannot handle different values per sample for "BitsPerSample"

tifffile:
<tifffile.TiffTag 339 @4611877840> raised ValueError('6138 is not a valid SAMPLEFORMAT')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions