Replies: 2 comments 3 replies
-
Hi @Mohima17, we probably need more context (such as some actual example code) to answer your questions properly, but the typical way to take a time mean on an Xarray data array would just look like this:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
In that screenshot, the time coordinate is called
Many xarray operators, including |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I want to get mean of 30years what will be the code with xarray? Dimension would look like (lat, lon, time=1). If I use 'time.year' I get yearly mean and the time dimension is time=30, but I need mean of all year (time=1). Please suggest me how can I get the mean with xarray.
Beta Was this translation helpful? Give feedback.
All reactions