Skip to content

CPLE_AppDefinedError: Unable to compute a RESAMPLING.NEAREST based transformation #2822

Answered by arthur-e
arthur-e asked this question in Q&A
Discussion options

You must be logged in to vote

I write data to source on this line:

# To facilitate a minimal working example... I'm actually doing a lot to the array
#    before writing it into the "source" dataset
source.write(red, 1)

Which is prior to calling reproject(), so I would expect that there are source data to work with. But perhaps I am missing a step to "flush" the cache or something like that?

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sgillies
Comment options

Answer selected by sgillies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2820 on May 01, 2023 17:13.