Skip to content

Releases: ecmwf/thermofeel

2.1.0

11 Nov 09:42
e0b7dbf
Compare
Choose a tag to compare

Version 2.1.0

What's Changed

  • Fix computaiton of normal effective temperature
  • Fix documentation links to new repository URL
  • Better explanation of T0

Full Changelog: 2.0.0...2.1.0

2.0.0

24 Nov 14:54
Compare
Choose a tag to compare

Version 2.0.0

Standardisation

  • I/O variables converted into International System of Units (SI) (e.g., K)
  • Docstrings standardised in their descriptions (e.g., inputs as float arrays) and references
  • Variable names standardised across function declarations (i.e., t2m vs t2k vs t_k → now t2_k)
  • Use of temperature converter functions
  • Input variables are limited to those explicitly needed in the function formula (see e.g., calculate_normal_effective_temperature function)

New Functions

  • scale_windspeed function to scale 10m wind speed to height h with h < 10m
  • calculate_nonsaturation_vapour_pressure to calculate vapour pressure at a given relative humidity and air temperature
  • calculate_wbgt_simple function renamed
  • calculate_normal_effective_temperature function renamed

Improvements

  • thermofeel library docstring lists computed variables in alphabetical order
  • the cosine of the solar zenith angle now computed via the earthkit-meteo <https://github.com/ecmwf/earthkit-meteo>_ library
  • calculate_bgt function is calculated via a 4x faster formula
  • calculate_saturation_vapour_pressure_multiphase formulas replaced with those used in the IFS
  • changeable threshold in approximate_dsrp function (set to 0.1 by default)
  • invalidity outside input variables range specified in calculate_wind_chill function docstring

Bug Fixes

  • fixed approximate_dsrp to avoid fdir being overwritten with dsrp when calculating MRT
  • fixed calculate_wbgt_simple constant value and vapour pressure calculated from non-saturated formula
  • fixed calculate_bgt wind speed at 1.1m in input
  • fixed calculate_mrt_from_bgt wind speed at 1.1m in input
  • fixed calculate_normal_effective_temperature wind speed at 1.2m in input
  • fixed calculate_apparent_temperature wind speed at 10m in input; vapour pressure calculated from non-saturated formula
  • fixed calculate_wind_chill wind speed in km/h and operation symbols in main formula
  • fixed calculate_heat_index_simplified a wrong sign and missing constant value in hiarray; hi set to 2m air temperature when the latter is below 20°C
  • fixed fahrenheit_to_kelvin converter function

1.3.0

31 Oct 08:07
Compare
Choose a tag to compare

Multiple fixes and documentation

1.2.0

13 Feb 22:12
Compare
Choose a tag to compare

Introduced optional Numba JIT optimisation of functions for significant speedup.
Improved some functions to make them compilable and vectorisable by Numba.
Remove __wrap function, as such many functions now require numpy arrays as input.
Fixed calculate_heat_index_adjusted.
Added calculate_wbt_dj
More and improved examples.
Improved documentation.

1.1.3

08 Dec 11:27
Compare
Choose a tag to compare

Update to the Documentation
Small changes to the an example file in the examples folder and updating the documentation for read the docs.

Full Changelog: 1.1.2...1.1.3

1.1.2

23 Nov 14:47
Compare
Choose a tag to compare

Improvements in the examples

1.1.1

15 Nov 09:20
Compare
Choose a tag to compare

What's Changed

  • Temporarily pin the Python version until new NumPy wheels are available by @dvuckovic in #10

New Contributors

Full Changelog: 1.1.0...1.1.1

1.1.0

12 Nov 16:32
Compare
Choose a tag to compare
1.1.0

1.0.5

11 Oct 15:34
Compare
Choose a tag to compare

Updating the cosine of the solar zenith angle to a faster integrating approach, implementing a change to UTCI to take either dew point temperature or e_hPa.

1.0.4

09 Jul 18:16
Compare
Choose a tag to compare
version bump