xCDAT / xcdat

An extension of xarray for climate data analysis on structured grids.
https://xcdat.readthedocs.io/en/latest/
Apache License 2.0
113 stars 12 forks source link

[Feature]: Use xarray-datatree to analyse ensembles #400

Open TomNicholas opened 1 year ago

TomNicholas commented 1 year ago

I'm sat in your AMS talk, and this package looks really cool!

Is your feature request related to a problem?

I made the xarray-datatree package, which generalises xarray.Dataset to a hierarchical tree of groups, represented as a DataTree object. It will eventually be merged upstream in xarray.

One of the use cases I imagined was analysing ensembles of different climate models/experiments/scenarios. In fact @jbusecke and I wrote a whole pangeo blog post about our initial efforts. You might also want to watch Julius' talk at AMS from yesterday (link).

Describe the solution you'd like

You guys to explore supporting xarray-datatree for analysing whole ensembles at once.

Datatree is in a fairly early stage still, so any input or ideas you have would be incredibly useful! (You can already define an accessor on a DataTree though.)

I gave a talk on datatree at AMS on Monday, you can see the slides here.

Describe alternatives you've considered

No response

Additional context

No response

tomvothecoder commented 1 year ago

Hi Tom, thank you for taking time to reach out and open up a GH ticket!

I also watched your AMS talk on xarray-datatree and actually referred your package to our core team before you opened up this ticket because it looks awesome. We'll definitely consider where and how xarray-datatree might be integrated into xcdat.

I added the link to Julius' talk in your description, which I also attended and found to be great!

I'll keep you posted if we have any updates here.

TomNicholas commented 1 year ago

Great! Please don't hesitate to tag me or rose things on Datatree if you have any questions or ideas 😃