Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Group decoding options into single argument#10429

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kmuehlbauer wants to merge19 commits intopydata:main
base:main
Choose a base branch
Loading
fromkmuehlbauer:coder_kwargs_dataclass

Conversation

kmuehlbauer
Copy link
Contributor

@kmuehlbauerkmuehlbauer commentedJun 18, 2025
edited
Loading

Split out from#10422 for easier review.

Example Usage:

# simple call, use coder default optionsds=xr.open_dataset("test.nc",engine="netcdf4")# simple call# define once, use many , these should be imported from the backendcoder_opts=NetCDF4CoderOptions(decode_times=False,mask_and_scale=False)# engine could also be the `BackendEntryPoint`ds=xr.open_dataset("test.nc",engine="netcdf4",coder_opts=coder_opts)# still worksds=xr.open_dataset("test.nc",engine="netcdf4",decode_times=True)

@github-actionsgithub-actionsbot added topic-backends topic-documentation topic-CF conventions topic-zarrRelated to zarr storage library CIContinuous Integration tools dependenciesPull requests that update a dependency file io labelsJun 18, 2025
@kmuehlbauerkmuehlbauer marked this pull request as ready for reviewJune 18, 2025 13:37
@kmuehlbauer
Copy link
ContributorAuthor

OK, it looks as it should work the way@shoyer suggested in#4490. This should be complete enough for a first round of review.

I've tried to address docstrings/docs, but I'm happy to rework those.

@kmuehlbauerkmuehlbauer mentioned this pull requestJun 20, 2025
4 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
CIContinuous Integration toolsdependenciesPull requests that update a dependency fileiotopic-backendstopic-CF conventionstopic-zarrRelated to zarr storage library
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Group together decoding options into a single argument
2 participants
@kmuehlbauer@dcherian

[8]ページ先頭

©2009-2025 Movatter.jp