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

New BatchSchema class to generate patch selectors and combine into batch selectors #132

Merged
merged 32 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0a5d0cc
Typing for generators and accessors
maxrjones Nov 18, 2022
022ebf7
Add recommendations from code review
maxrjones Nov 18, 2022
60501e5
Merge branch 'main' into generators-typing
maxrjones Nov 30, 2022
d199ee0
Merge branch 'main' into generators-typing
maxrjones Dec 1, 2022
4275828
More informative function name
maxrjones Dec 1, 2022
8787b7b
Use keyword only args for internal functions
maxrjones Dec 1, 2022
7ea67b6
Use dict over OrderedDict
maxrjones Dec 1, 2022
d15d6b1
Add type hint for _gen_slices output
maxrjones Dec 1, 2022
ec399bc
More informative function name
maxrjones Dec 1, 2022
1770d36
More informative variable name
maxrjones Dec 1, 2022
bcdcd72
More informative name for batch selectors
maxrjones Dec 1, 2022
cdd92e2
Type hint for _iterate_over_dimensions output
maxrjones Dec 1, 2022
cc9f04c
Fix batch_dims bug
maxrjones Dec 2, 2022
5ca52da
Merge branch 'main' into batch-dims-bug
maxrjones Dec 2, 2022
463546e
Support preload_batch parameter
maxrjones Dec 2, 2022
8b6e4aa
Merge branch 'main' into batch-dims-bug
maxrjones Dec 5, 2022
b320ba7
Merge branch 'main' into batch-dims-bug
maxrjones Dec 12, 2022
191a644
Try out dataclass for batch selectors
maxrjones Dec 14, 2022
6fdd8f0
Update comment
maxrjones Dec 15, 2022
3b33988
Merge branch 'main' into batch-dims-bug
maxrjones Dec 16, 2022
a0a5614
Remove xfail markers
maxrjones Dec 18, 2022
32f736f
Account for duplicate batch and input dims in testing utils
maxrjones Dec 18, 2022
d7ea564
Support duplicate dims in batch and input
maxrjones Dec 18, 2022
1eca395
Split _combine_patches_grouped_by_input_and_batch_dims()
maxrjones Dec 19, 2022
8a43ed6
Mark test with xfail
maxrjones Dec 19, 2022
98d5d19
Remove dataclass decorator
maxrjones Dec 19, 2022
b781280
Fix warning
maxrjones Dec 19, 2022
29f871b
Compute dask arrays before selecting on patches
maxrjones Dec 20, 2022
0b6c495
Remove NotImplementedError
maxrjones Dec 20, 2022
9d0fcb0
Fix case with more batch_dims than input_dims
maxrjones Dec 20, 2022
95e81b6
Merge branch 'main' into batch-dims-bug
maxrjones Dec 31, 2022
288f0dc
Update xbatcher/generators.py
maxrjones Jan 3, 2023
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
2 changes: 1 addition & 1 deletion xbatcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from . import testing # noqa: F401
from .accessors import BatchAccessor # noqa: F401
from .generators import BatchGenerator # noqa: F401
from .generators import BatchGenerator, BatchSchema # noqa: F401
from .util.print_versions import show_versions # noqa: F401

try:
Expand Down
Loading