Skip to content

Chunksize changes output result #89

@priit111

Description

@priit111

I processed multiple S1 datasets with different chunk sizes, and the resulting GTC is very similar, but not identical.

chunks=1024
sarsen.terrain_correction(ds, dem, interp_method="linear", chunks=chunks,  output_urlpath="gtc_{}.tif".format(chunks))

chunks = 1024
Image
chunks = 512
Image
A-B image
Image

The overall difference is very small(the image about about 0.03 max), however the issue is identical for all datasets I tested, that some parts of the image are not identical with different chunk sizes. The overall issue may be a very small floating rounding/shifting issue that is not an issue in practice, however I think it is best to document and potentially take a look at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions