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

pass slicing argument to od.plot..._section() #373

Closed
Mikejmnez opened this issue Jun 22, 2023 · 1 comment
Closed

pass slicing argument to od.plot..._section() #373

Mikejmnez opened this issue Jun 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Mikejmnez
Copy link
Collaborator

Mikejmnez commented Jun 22, 2023

Something like

ax = od.plot.horizontal_section(varName='Temp', ..., xstep= 2, ystep=5)

where the xstep and ystep arguments are used as follow:

da = da.isel(Xdim=slice(0, Nx, xstep), Ydim=slice(0, Nx, ystep))

within oceanspy.plot.py

Something similar would occur when making vertical sections (with slicing along the horizontal dimension)... This would greatly speed up making horizontal and vertical section plots (and animations) of very large datasets like the LLC4320.

@Mikejmnez Mikejmnez self-assigned this Jun 22, 2023
@Mikejmnez Mikejmnez added the enhancement New feature or request label Jun 22, 2023
@Mikejmnez
Copy link
Collaborator Author

closed by #377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant