diff --git a/pyproject.toml b/pyproject.toml index af0bd1fd..682d0c3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,12 +24,10 @@ readme = "README.rst" license = "BSD-3-Clause" requires-python = ">=3.9, <3.12" authors = [ - {name = "Bas des Tombe", email = "bdestombe@gmail.com"}, - {name = "Bart Schilperoort", email = "b.schilperoort@gmail.com"}, + {name = "Bas des Tombe, Bart Schilperoort"}, ] maintainers = [ - {name = "Bas des Tombe", email = "bdestombe@gmail.com"}, - {name = "Bart Schilperoort", email = "b.schilperoort@gmail.com"}, + {name = "Bas des Tombe, Bart Schilperoort"}, ] keywords = [ "DTS", @@ -56,15 +54,15 @@ dependencies = [ "dask", "pandas", "xarray[parallel]", # numbagg (llvmlite) is a pain to install with pip - "bottleneck", # optional, speed up Xarray - "flox", # optional, speed up Xarray + "bottleneck", # speeds up Xarray + "flox", # speeds up Xarray "pyyaml>=6.0.1", "xmltodict", "scipy", "statsmodels", "matplotlib", "netCDF4>=1.6.4", - "nc-time-axis>=1.4.1" # optional plot dependency of xarray + "nc-time-axis>=1.4.1" # plot dependency of xarray ] dynamic = ["version"] diff --git a/src/dtscalibration/averaging_utils.py b/src/dtscalibration/averaging_utils.py index c94194ba..d17b1f56 100644 --- a/src/dtscalibration/averaging_utils.py +++ b/src/dtscalibration/averaging_utils.py @@ -7,12 +7,7 @@ def inverse_variance_weighted_mean( tmpw_store="tmpw", tmpw_var_store="tmpw_var", ): - """ - Average two temperature datasets with the inverse of the variance as - weights. The two - temperature datasets `tmp1` and `tmp2` with their variances - `tmp1_var` and `tmp2_var`, - respectively. Are averaged and stored in the DataStore. + """Compute inverse variance weighted average, and add result in-place. Parameters ---------- diff --git a/src/dtscalibration/datastore.py b/src/dtscalibration/datastore.py index 459a45dd..d25b4ff6 100644 --- a/src/dtscalibration/datastore.py +++ b/src/dtscalibration/datastore.py @@ -218,7 +218,7 @@ def sections(self, value): "Not possible anymore. Instead, pass the sections as an argument to \n" "ds.dts.calibrate_single_ended() or ds.dts.calibrate_double_ended()." ) - raise NotImplementedError(msg) + raise DeprecationWarning(msg) def check_reference_section_values(self): """