the create function has a few things against it:
- it uses zarr python 2.x parameters, many of which do nothing (
synchronizer, chunk_store, object_codec)
- it has an ambiguous name. create what?
- it is functionally superseded by the
create_array function, which doesn't suffer the previously stated deficiencies
I recommend deprecating create, and deprecating the use of the create-style signature in functions that wrap it. this would entail:
- adding a deprecation warning to the
create function, indicating that it will be removed in the next minor release (3.3.0), and directing people to use create_array instead.
- adding deprecations as needed to any of the functions that use
create (I think zeros, empty, etc all use it). Upon release 3.3.0, these functions will all wrap create_array and use keyword arguments suitable for it.
the
createfunction has a few things against it:synchronizer,chunk_store,object_codec)create_arrayfunction, which doesn't suffer the previously stated deficienciesI recommend deprecating
create, and deprecating the use of thecreate-style signature in functions that wrap it. this would entail:createfunction, indicating that it will be removed in the next minor release (3.3.0), and directing people to usecreate_arrayinstead.create(I thinkzeros,empty, etc all use it). Upon release 3.3.0, these functions will all wrapcreate_arrayand use keyword arguments suitable for it.