Releases: bcdev/zappend
0.3.0
New Contributors
- @martin-boettcher made their first contribution in #38
- @pont-us made their first contribution in #37
Full Changelog: v0.2.0...v0.3.0
New in Version 0.3.0 (from 2024-01-26)
Enhancements
-
Allow for passing custom slice sources via the configuration.
The new configuration settingslice_source
is the name of a class
derived fromzappend.api.SliceSource
or a function that creates an instance
ofzappend.api.SliceSource
. Ifslice_source
is given, slices passed to
the zappend function or CLI command will be interpreted as parameter(s)
passed to the constructor of the specified class or the factory function.
[#27] -
It is now possible to configure runtime profiling of the
zappend
processing using the new configuration settingprofiling
. [#39] -
Added
--version
option to CLI. [#42] -
Using
sizes
instead ofdims
attribute ofxarray.Dataset
in
implementation code. [#25] -
Enhanced documentation including docstrings of several Python API objects.
Fixes
-
Fixed a problem where the underlying i/o stream of a persistent slice dataset
was closed immediately after opening the dataset. [#31] -
Now logging ignored encodings on level DEBUG instead of WARNING because they
occur very likely when processing NetCDF files.
0.2.0
Version 0.2.0 (2024-18-01)
Enhancements
-
Introduced slice factories
-
Allow passing slice object factories to the
zappend()
function.
Main use case is to return instances of a customzappend.api.SliceSource
implemented by users. [#13] -
The utility functions
to_slice_factories
andto_slice_factory
exported byzappend.api
ease passing inputs specific for a custom
SliceSource
or other callables that can produce a slice object. [#22]
-
-
Introduced new configuration flag
persist_mem_slices
.
If set, in-memoryxr.Dataset
instances will be first persisted to a
temporary Zarr, then reopened, and then appended to the target dataset. [#11] -
Added initial documentation. [#17]
-
Improved readability of generated configuration documentation.
-
Using
requirements-dev.txt
for development package dependencies.
Fixes
-
Fixed problem when passing slices opened from NetCDF files. The error was
TypeError: VariableEncoding.__init__() got an unexpected keyword argument 'chunksizes'
.
[#14] -
Fixed problem where info about closing slice was logged twice. [#9]
Full Changelog: v0.1.1...v0.2.0