Skip to content

Lazy read_xarray with iterables and parsing metadata.#81

Merged
alxmrs merged 5 commits into
mainfrom
iter-only
Oct 4, 2025
Merged

Lazy read_xarray with iterables and parsing metadata.#81
alxmrs merged 5 commits into
mainfrom
iter-only

Conversation

@alxmrs

@alxmrs alxmrs commented Oct 4, 2025

Copy link
Copy Markdown
Collaborator

I no longer convert the block_slices iterables into a list. I've also implemented a quick _parse_schema method to extract the pa.Schema from the dataset without materializing the first block. These should provide a few good performance improvements for working with real datasets.

alxmrs added 5 commits October 4, 2025 15:42
When working with small datasets, we materialized blocks via a `list()` call. This is slow on large datasets. So, we now work only with the iterable of the blocks.
@alxmrs
alxmrs marked this pull request as ready for review October 4, 2025 14:34
@alxmrs alxmrs changed the title Deferred read_xarray with iterables and parsing metadata. Lazy read_xarray with iterables and parsing metadata. Oct 4, 2025
@alxmrs
alxmrs merged commit 1228c1a into main Oct 4, 2025
7 checks passed
@alxmrs
alxmrs deleted the iter-only branch October 4, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant