Skip to content

Remove implementation of ChunkCachedArray.get_duck_array - #2916

Merged
VeckoTheGecko merged 5 commits into
Parcels-code:mainfrom
VeckoTheGecko:remove-compute
Sep 30, 2026
Merged

VeckoTheGecko merged 5 commits into
Parcels-code:mainfrom
VeckoTheGecko:remove-compute

Conversation

@VeckoTheGecko

@VeckoTheGecko VeckoTheGecko commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes #2910 (see my comment within that thread for more info, and implications for people writing interpolators)

Supercedes #2912

Checklist

AI Disclosure

None used

@VeckoTheGecko VeckoTheGecko changed the title Remove implementation of ChunkCachedArray.get_duck_array Remove implementation of ChunkCachedArray.get_duck_array Sep 29, 2026

@erikvansebille erikvansebille left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to raise an error message, see below a small rewording suggestion

Comment thread src/parcels/_chunk_cached_array/core.py Outdated
@VeckoTheGecko
VeckoTheGecko merged commit 2bb0ae2 into Parcels-code:main Sep 30, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Avoid expensive casts to numpy arrays under the hood

2 participants