Skip to content

Gap-filled NDVI timeseries to xarray #51

Answered by aazuspan
singhamninder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @singhamninder, glad you're finding wxee useful!

Are you sure the NaN pixels you're getting aren't masked in Earth Engine? to_xarray assigns NaNs to masked pixels, so maybe something is going wrong with the gap filling and those pixels have no data.

If you haven't already, I would try checking those images without wxee, either by looking at them with geemap or downloading them manually with ee.batch.Export.image.toDrive. If those pixels do have valid data and it gets lost by to_xarray, I'll definitely look into that!

Also, if you want to post your entire code (and make the assets public) I can take a closer look.

EDIT: Adding the answer from below to the top:

Okay, you just need to se…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@aazuspan
Comment options

@singhamninder
Comment options

@aazuspan
Comment options

@singhamninder
Comment options

@aazuspan
Comment options

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