Releases: dtscalibration/python-dts-calibration
Releases · dtscalibration/python-dts-calibration
v3.0.3
v3.0.2
Bumpversion configuration was incorrect since v3.0.0. Therefore the 3.0.1 release failed. This is a re-release of 3.0.1:
This release comes with a small fix to allow Oryx v4 users to load in their double ended measurements.
Fixed
- Oryx v4 double ended could have the backward measurements incorrectly cut off during loading.
v3.0.1
This release comes with a small fix to allow Oryx v4 users to load in their double ended measurements.
Fixed
- Oryx v4 double ended could have the backward measurements incorrectly cut off during loading.
v3.0.0
Added
- Calibration functions are now accessed via the
.dts
accessor in favor of theDataStore
class. - Improved the functionality of
merge_double_ended
, by adding a check that handles measurements missing in one channel while present in the other (#171) - Support for Python 3.11
matching_sections
is now similarly implemented assections
.
Fixed
- Single-ended measurements with
fix_alpha
failed due to a bug introduced in v2.0.0 (#173). - Headers in example notebooks and their appearance in the docs are now at correct levels
- Big clean up of the documentation. The documentation is now more consistent and easier to read.
Changed
- Notebooks now reflect the new API with the .dts accessor.
- Calibration functions now return only calibration results instead of adding the results to the Dataset inplace.
- Standardized parameter names. Reduced the freedom in choosing parameter names and dimension names in favor of simplifying the code.
- Requiring netcdf4 >= 1.6.4
- Optional dependencies of xarray that improve performance are now required by default.
- variance_stokes_linear() does not default through zero anymore.
- Refactored calibration_single_ended and calibration_double_ended()
- Moved ParameterIndices classes to calibration_utils.py
- Flox included in requirements to speed up resampling via xarray (Xarray #5734).
Removed
- Removed the
DataStore
module in favor of thedts
accessor. - Removed ds.resample_datastore() in favor of using xarray's resample function. See example notebook 2.
- Removed support for Python 3.8
Developer changes
- Added mypy to dev dependencies and CI.
- Using ruff for most of the formattting. Black is used for the notebooks. Isort is used for sorting the imports.
- Changed all import statements to be absolute instead of relative.
- Cleaned up old 'pylint: disable' comments
v2.0.0
- Faster approach on error propagation. As alternative to computational intensive Monte Carlo runs.
- Refractored some of the indexing logic of the calibration routines.
- Rewritten single-ended and double-ended example notebooks.
- Removed support for OLS calibration, as with minor extra efforts WLS could be used, which has significant benefits.
v1.2.0
Bugfixes
- Fixed deprecated np.float and np.int
Other
- Moved project build system & scripts to hatch.
- Project is now fully configured using pyproject.toml
- Linting is handled by Ruff.
- Notebooks are now rendered as part of the documentation.
Removed
- cli.py script (unused) has been removed.
New contributors:
- Karl Lapo (@klapo)
v1.1.2
1.1.2 (2022-09-25)
- Added support for Sensornet Sentinel v5 files.
v1.1.1
1.1.1 (2022-09-25)
- Deprecated Python 3.7
- Fixed documention rendering
- Updated readme badges
v1.1.0
1.1.0 (2022-09-25)
New features
- Added support for Python 3.9, 3.10.
- Silixa's xml version 8 is now supported
Bug fixes
- Loading in untested sensornet files will not give a UnboundLocalError error anymore
- Sensornet .ddf file version check is now more robust (commas are replaced to periods)
- Changed matplotlib's deprecated DivergingNorm to TwoSlopeNorm
- Updated the stokes_variance_linear docstring to remove incorrect and duplicate information
- Adjusted resample_datastore to avoid using deprecated 'base' kwarg, instead using the new arguments 'origin' and 'offset'. See http://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.resample.html
Others
- Notebook 04 on Stokes variance has been updated to explain the different estimation methods for the variance, and their importance.
- Notebook 07 and 08 have been updated to take into account the changes in ds.stokes_variance.
- Silenced xarray's slots warning
- Deprecated Python 3.6
- CI has been moved to GitHub Actions. Travis-CI and AppVeyor have been removed.
v1.0.2
1.0.2 (2020-05-04)
- Same as v1.0.1
1.0.1 (2020-05-04)
New features
- st_var can now be array-like. The array-like can vary in x or time, or both.
- When converting from a xr.Dataset to a DataStore object, the attributes arenow transfered over
- Added 'verbose' kwarg to shift_double_ended utility function to silence theconsole output
Bug fixes
- If the '_sections' attribute is missing from a DataStore object it is automagically re-added.
- Assert that stokes variances are passed when running a double-ended WLS calibration
- Added check for NaN/inf values in wls_sparse solver to avoid unclear error messages
- Before calibration, the values of the used reference temperatures are checked if they are valid (float dtype, no NaN/inf values, correct time dimension)
Others
- European Geosciences Union conference 2020 presentation added
- Updated documentation with content article
- Use YAPF formatting of the Python files
- Travis-CI.org integration in GitHub restored.