You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although a bit more verbose, flat dictionaries may be better in some cases (It is also consistent with the flat mapping of data variables in new returned xarray.Dataset objects):
We might also accept tuples, which are easier to use programmatically (this may be useful if someday "virtual groups" get implemented in xarray, see this issue comment):
If we support the three different formats, we also need to decide if we allow mixing these formats. It should be easy to implement (i.e., test if key is tuple, or <process> or <process__variable>).
The text was updated successfully, but these errors were encountered:
Currently the only accepted format for input and snapshots variables is nested dictionaries of processes and variables, e.g.,
Although a bit more verbose, flat dictionaries may be better in some cases (It is also consistent with the flat mapping of data variables in new returned
xarray.Dataset
objects):We might also accept tuples, which are easier to use programmatically (this may be useful if someday "virtual groups" get implemented in xarray, see this issue comment):
If we support the three different formats, we also need to decide if we allow mixing these formats. It should be easy to implement (i.e., test if key is tuple, or
<process>
or<process__variable>
).The text was updated successfully, but these errors were encountered: