Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding open_groups to BackendEntryPointEngine, NetCDF4BackendEntrypoint, and H5netcdfBackendEntrypoint #9243

Merged
merged 33 commits into from
Aug 14, 2024
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
33ee4a9
sandbox open groups
eni-awowale Jul 13, 2024
8186d86
rough implementation of open_groups
eni-awowale Jul 13, 2024
6b63704
removed unused imports
eni-awowale Jul 13, 2024
ef01edc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 13, 2024
08e230a
oops deleted optional
eni-awowale Jul 13, 2024
e01b0fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 13, 2024
9e1984c
commit to test from main
eni-awowale Jul 26, 2024
33a71ac
added tests and small sample file
eni-awowale Jul 30, 2024
b10fa10
merge main into open_groups
eni-awowale Jul 30, 2024
565ffb1
updated what is new
eni-awowale Jul 30, 2024
ce607e6
updated: open_groups to include fullpath of group, improved test to c…
eni-awowale Jul 30, 2024
eaba908
update float_ to float64 for numpy 2.0
eni-awowale Jul 30, 2024
b4b9822
added pr suggestions and mypy changes
eni-awowale Aug 2, 2024
9b9c1e7
merge conflict plugins.py
eni-awowale Aug 6, 2024
225489d
Merge branch 'main' into open_groups
eni-awowale Aug 6, 2024
5fe8e96
added mutable mapping
eni-awowale Aug 6, 2024
3b9c418
added mutable mapping to api
eni-awowale Aug 6, 2024
222279c
lets see if this passes mypy
eni-awowale Aug 7, 2024
4c65b0a
mypy take 2
eni-awowale Aug 7, 2024
8c81a87
mypy
eni-awowale Aug 7, 2024
d2c74d6
updated open_groups_dict
eni-awowale Aug 8, 2024
f206408
changed return type for DataTree.from_dict
eni-awowale Aug 8, 2024
5d34920
Merge branch 'main' into open_groups
eni-awowale Aug 8, 2024
f72f3d2
fix test failures
eni-awowale Aug 8, 2024
2f92b5c
update iter_nc_ to yield parent
eni-awowale Aug 8, 2024
175e287
Merge branch 'main' into open_groups
eni-awowale Aug 13, 2024
6319678
mypy suggestions
eni-awowale Aug 13, 2024
1466147
adding casting
eni-awowale Aug 13, 2024
0e3c946
explicitly convert to dict
eni-awowale Aug 13, 2024
1ffeae5
Merge branch 'main' into open_groups
dcherian Aug 14, 2024
abd4981
Merge branch 'main' into open_groups
eni-awowale Aug 14, 2024
d44bf98
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2024
b2cf9b4
updated to add d_cast for remaining functions
eni-awowale Aug 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changed return type for DataTree.from_dict
  • Loading branch information
eni-awowale committed Aug 8, 2024
commit f2064081fd939d3c8a80170d93fa47eb575574fc
4 changes: 2 additions & 2 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import itertools
import textwrap
from collections import ChainMap
from collections.abc import Hashable, Iterable, Iterator, Mapping, MutableMapping
from collections.abc import Hashable, Iterable, Iterator, Mapping
from html import escape
from typing import (
TYPE_CHECKING,
Expand Down Expand Up @@ -1067,7 +1067,7 @@ def drop_nodes(
@classmethod
def from_dict(
cls,
d: MutableMapping[str, Dataset | DataArray | DataTree | None],
d: dict[str, Dataset],
name: str | None = None,
) -> DataTree:
"""
Expand Down
Loading