We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a19d11 commit 0af1979Copy full SHA for 0af1979
asv_bench/benchmarks/datatree.py
@@ -0,0 +1,11 @@
1
+import xarray as xr
2
+from xarray.core.datatree import DataTree
3
+
4
5
+class Datatree:
6
+ def setup(self):
7
+ run1 = DataTree.from_dict({"run1": xr.Dataset({"a": 1})})
8
+ self.d = {"run1": run1}
9
10
+ def time_from_dict(self):
11
+ DataTree.from_dict(self.d)
0 commit comments