zarr-python icon indicating copy to clipboard operation
zarr-python copied to clipboard

Array creation with strings for filters, serializer, compressors

Open brokkoli71 opened this issue 11 months ago • 2 comments

  • fixes #2705

TODO:

  • [x] Add unit tests and/or doctests in docstrings
  • [x] Add docstrings and API docs for any new/modified user-facing classes and functions
  • [x] New/modified features documented in docs/user-guide/*.rst
  • [x] Changes documented as a new file in changes/
  • [x] GitHub Actions have all passed
  • [x] Test coverage is 100% (Codecov passes)

brokkoli71 avatar Feb 15 '25 22:02 brokkoli71

i think this is a good idea, and for codecs that have simple defaults (blosc and gzip and most conventional compressors), it's very user-friendly. but IMO we need to give users a very clear error when they use a string name for a codec that takes required parameters.

d-v-b avatar May 13 '25 12:05 d-v-b

@d-v-b what do you think of the updated error messages?

brokkoli71 avatar Jun 10 '25 10:06 brokkoli71