Skip to content

Issue on page /user-guide/time-series.html #5485

Answered by dcherian
gagebeni asked this question in Q&A
Discussion options

You must be logged in to vote

I recommend looking at .query and .isin.

transect = data_sst.SST.where (mask_lon & mask_lat, drop = True) looks like it could work. Did you try it?

This webpage might also be useful: https://xarray.pydata.org/en/stable/user-guide/indexing.html#more-advanced-indexing

Replies: 3 comments

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
Answer selected by max-sixty
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 #5484 on June 17, 2021 17:46.