merging dataArrays without the need for a DataSet #9323
Unanswered
dorak88783
asked this question in
General
Replies: 1 comment 2 replies
-
See https://docs.xarray.dev/en/stable/user-guide/combining.html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a list of dataarrays that I'd like to merge. In theory
xr.merge
does the job, but it will return a Dataset and refuses to work on unnamed dataArrays.Example:
This works, but it's a bit silly to have to include the
[x.name]
at the end to get the dataArray out. Now if I remove thename="var1"
line, it will not work.How do I get the exact same functionality of
xr.merge
, just applied to lists of dataArrays, without any regards for the.name
property?Beta Was this translation helpful? Give feedback.
All reactions