Skip to content

Add subsample argument to plot_da#22

Merged
CyrilJl merged 2 commits into
mainfrom
subsample-plot-da
Oct 20, 2025
Merged

Add subsample argument to plot_da#22
CyrilJl merged 2 commits into
mainfrom
subsample-plot-da

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

This change introduces a subsample argument to the plot_da function, allowing users to plot a subset of their data to improve performance with large datasets. The implementation uses xarray.DataArray.isel to perform the subsampling.


PR created automatically by Jules for task 1204542419941142705

Adds an optional `subsample` integer argument to the `plot_da` function. When provided, this argument is used to subsample the data along its spatial (x and y) dimensions before plotting, which can improve performance with very large datasets.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

@CyrilJl CyrilJl marked this pull request as ready for review October 20, 2025 15:19
@CyrilJl CyrilJl merged commit cf02b52 into main Oct 20, 2025
1 check passed
@CyrilJl CyrilJl deleted the subsample-plot-da branch October 21, 2025 08:17
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.

2 participants