Repository navigation
Support nested Zarr datasets - #114
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #114 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 30 30
Lines 1467 1559 +92
=========================================
+ Hits 1467 1559 +92 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
67b18a6 to
52e8d3e
Compare
backup backup ready for review add issue number ruff
13e93fc to
700b83a
Compare
forman
left a comment
There was a problem hiding this comment.
Nice. I only have minor suggestions.
|
|
||
| Type _string_. | ||
| The fully qualified name of a class or function that receives a slice item as argument(s) and provides the slice dataset. If a class is given, it must be derived from `zappend.api.SliceSource`. If the function is a context manager, it must yield an `xarray.Dataset`. If a plain function is given, it must return any valid slice item type. Refer to the user guide for more information. | ||
| The fully qualified name of a class or function that receives a slice item as argument(s) and provides a slice object. If a class is given, it must be derived from `zappend.api.SliceSource`. If the function is a context manager, it must yield an `xarray.Dataset` or `xarray.DataTree`. If a plain function is given, it must return any valid slice item type. Refer to the user guide for more information. |
There was a problem hiding this comment.
Do not exceed 80 characters in a line whenever possible.
There was a problem hiding this comment.
This is the case in the entire config.md. I applied changes to the entire docs directory so that we do not exceed 89 characters.
| return self._config.get("variables") or {} | ||
|
|
||
| @property | ||
| def group_variables(self) -> dict[str, dict[str, Any]]: |
There was a problem hiding this comment.
Avoid Any whenever possible and replace it by any type or type union that is more specific than Any and represents a variable-definition (override).
There was a problem hiding this comment.
This come from
@property
def variables(self) -> dict[str, Any]:
I change both to Sequence | dict (see docs for variables)
Co-authored-by: Norman Fomferra <norman.fomferra@brockmann-consult.de>
Co-authored-by: Norman Fomferra <norman.fomferra@brockmann-consult.de>
Co-authored-by: Norman Fomferra <norman.fomferra@brockmann-consult.de>
Added support for nested Zarr structures represented by
xarray.DataTree, including atomic rollback of complete DataTree slices and optional per-group variable encoding configuration.Closes #113
Checklist (strike out non-applicable):
CHANGES.mdCHANGES.mddocs/*