v0.2.0
Backward Incompatible Changes
-
Complete rewrite of interpolator classes. The old interpolator class
spatial.interpol.Interpolator()
is depreciated. New interpolator base classes
for IDW and Kriging have been added together with a convenience inteprolator
for CML data. Usage is showcased in a new example notebook. -
Some old functionality has moved to separate files.
- resampling to a given
DatetimeIndex
is now availabel inutil.temporal
and will be removed fromvalidatoin.validator.Validation()
class soon. - calculation of wet-dry error is now in module
validation.stats
- calculation of spatial coverage with CMLs was moved to function
spatial.coverage.calc_coverage_mask()
. - error metric for performance evaluation of wet-dry classification is now
invalidation.stats
. Errors are now returned with meaningful names as
namedtuples.validation.validator.calc_wet_dry_error()
is depreciated now.
- resampling to a given
Enhancements
-
Read and write to and from multiple cmlh5 files (#12)
-
Improved
NaN
handling inwet
indicator for baseline determination -
Speed up of KDtreeIDW using numba and by reusing
previously calculated variables -
Added example notebook for baseline determination
-
Added data set of 75 CMLs (with fake locations)
-
Added example notebook to show usage of new interpolator classes
-
Added decorator to mark depreciated code
Bug fixes
-
setup.py
now reads all packages subdirectories correctly -
Force integers for shape in
nans
helper function instft
module -
Always use first value of
dry_stop
timestamp list instft
module.
The old code did not work anyway for a list with length = 1 and would
have failed ifdry_stop
would have been a scalar value. Now we
assume that we always get a list of values (which should be true for
mlab.find
.