Skip to content

Selecting Specific Time Steps for Rainfall Data Visualization #6261

Answered by keewis
haritha1022 asked this question in Q&A
Discussion options

You must be logged in to vote

then you're looking for

rainnc.isel(time=slice(0, 8), lev_2=0).sum(dim="time")

which sums up the 8 time steps between the 0th and 7th (slices are right-exclusive)

Replies: 10 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

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

Comment options

You must be logged in to vote
2 replies
@keewis
Comment options

@earthtech23
Comment options

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 keewis
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #6228 on February 09, 2022 17:25.