How to get back to a UxDataset? #1328
-
This is probably a dumb question, but I'm struggling to figure out how to get back to a UxDataset. I don't think this is an AB problem, but I will write what I am trying just in case. I have a UxDataset and I want to subset it. The
Now, I have my subset, I want to do something like "find all snow at an elevation > 1500 m". So I need to merge all these UxDataArrays back together. This works:
as So I can now answer my query, but suppose I want to get back to the goodness of uxarray -- further subsetting, plotting, etc. How do I do that? I thought it would be as easy as
but it is not: I've tried the various Would appreciate any insight! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@philipc2 I'm wondering if you had any thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Thanks for the ping, I was out of office when you originally posted this.
The easiest way (if you already have a
Grid
object) is to use the default constructor and pass in the grid that matches the data.