Skip to content

Expose chunksize to save - #2410

Closed
cpelley wants to merge 1 commit into
masterfrom
cpelley-patch-2
Closed

Expose chunksize to save#2410
cpelley wants to merge 1 commit into
masterfrom
cpelley-patch-2

Conversation

@cpelley

@cpelley cpelley commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Addresses #GitHubissuenum

Description

Testing:

  • Ran tests and they passed OK
  • Added new tests for the new feature(s)

CLA

  • If a new developer, signed up to CLA

@cpelley cpelley self-assigned this Jul 10, 2026
compression_level: int = 1,
least_significant_digit: Optional[int] = None,
fill_value: Optional[float] = None,
**kwargs,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Type checking on most of the arguments, but then adding a **kwargs catch-all? 🤔 As well as undermining the type checking it also leads to inconsistent handling of the arguments to iris.fileformats.netcdf.save.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks Richard 👍
This PR represented 'functional coding notes' during a live call with a user (capturing the intent of their requirements, rather than the likely implementation to meet those requirements). I likely should have done this offline in some way :)

The real PR (though still draft until I get a chance to evaluate testing) is here:
#2412

Thanks for your interest @rhattersley ❤️

@cpelley cpelley closed this Jul 20, 2026
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