Closed effigies closed 11 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
5ef205f
) 76.62% compared to head (efa3528
) 76.59%.
Files | Patch % | Lines |
---|---|---|
sdcflows/interfaces/utils.py | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Not yet. Since that needs to work more broadly, a deeper review will be necessary.
int16 images with scale factors can get badly truncated or wrapped. This PR scales the data array and drops the header before passing to
Affine().resample()
to avoid this. We then re-add the dtype, though this may not be necessary. I think the effects of multiple interpolation are going to be minimal here, so keeping dtypes as expected is probably worth it.