Skip to content

Releases: dtscalibration/python-dts-calibration

v3.1.0

13 Sep 13:30
1a1e7a0
Compare
Choose a tag to compare

Added

  • support for Python 3.12.
  • AP sensing .tra support, as the reference temperature sensor data by this device in only logged in .tra and not in the .xml log files.
    added functions in io/apsensing.py to read .tra files if they are in the same directory as the .xml files.
  • more test data from AP sensing device N4386B, which do also contain their .tra log files

Fixed

  • device ID bug for APSensing. Device ID is N4386B instead of C320. C320 was an arbitrary name given for the wellbore by the user.

Changed

  • the verify_timedeltas keyword argument is now optional when merging two single ended datasets.
  • removed statsmodels as a dependency. It is now optional, and only used for testing the wls_sparse solver

v3.0.3

18 Apr 10:51
f24245a
Compare
Choose a tag to compare

Fixed:

  • Improved error message when some variables cannot be shifted by the suggest_shift_double_ended function.

Changed:

  • [dev] Moved to Ruff instead of isort for import sorting

v3.0.2

13 Apr 11:36
Compare
Choose a tag to compare

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

13 Apr 11:27
fff5722
Compare
Choose a tag to compare

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

05 Nov 10:22
64b924b
Compare
Choose a tag to compare

Added

  • Calibration functions are now accessed via the .dts accessor in favor of the DataStore 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 as sections.

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 the dts 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

24 May 19:59
Compare
Choose a tag to compare
  • 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

04 May 09:00
38ef30b
Compare
Choose a tag to compare

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:

v1.1.2

25 Sep 16:02
Compare
Choose a tag to compare

1.1.2 (2022-09-25)

  • Added support for Sensornet Sentinel v5 files.

v1.1.1

25 Sep 15:33
34efe55
Compare
Choose a tag to compare

1.1.1 (2022-09-25)

  • Deprecated Python 3.7
  • Fixed documention rendering
  • Updated readme badges

v1.1.0

25 Sep 14:16
1c04602
Compare
Choose a tag to compare

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.