Skip to main content

thermofeel logo

license tag release docs ci maturity

thermofeel

[!IMPORTANT] This software is Graduated and subject to ECMWF's guidelines on Software Maturity.

thermofeel (pronounced thermo-feel)

A library to calculate human thermal comfort indices.

Currently calculates the thermal indices:

  • Universal Thermal Climate Index
  • Apparent Temperature
  • Apparent Temperature (radiation)
  • Heat Index Adjusted
  • Heat Index Simplified
  • Humidex
  • Discomfort Index
  • Summer Simmer Index
  • Normal Effective Temperature
  • Relative Strain Index
  • Wet Bulb Globe Temperature
  • Wet Bulb Globe Temperature Simple
  • Wet Bulb Globe Temperature (Liljegren method)
  • Heat Force (KNMI 0–10 heat-stress scale)
  • Excess Heat Factor and Excess Cold Factor
  • Predicted Mean Vote and Predicted Percentage of Dissatisfied (PMV/PPD)
  • Wind Chill

In support of the above indices, it also calculates:

  • Globe Temperature
  • Mean Radiant Temperature
  • Mean Radiant Temperature from Globe Temperature
  • Relative Humidity Percentage
  • Saturation vapour pressure
  • Wet Bulb Temperature

The thermofeel.approximations namespace additionally provides clearly-labelled estimators (currently the direct solar radiation fdir from global radiation, via the Erbs 1982 or DISC/Maxwell 1987 models) for datasets that lack an input that a radiation index needs.

PyPI

pypi status pypi release pypi downloads code size

Install with:

pip install thermofeel

System dependencies

thermofeel core functions depend on:

  • numpy

Optionally, thermofeel depends on:

  • pytest — for unit testing

Release notes

Version 2.2 adds the physically based Liljegren Wet Bulb Globe Temperature and the KNMI 0–10 Heat Force scale, the Excess Heat / Excess Cold Factors, inline type hints with a py.typed marker, and raises the minimum Python to 3.10. See the ChangeLog for the full list.

Thermofeel 2.0 brings a number of changes to the underlying code but most importantly to the API.

Consequently, downstream packages using thermofeel 1.* will require code changes to migrate to version 2.0 and beyond.

The main changes are:

  • standardisation of input and output variables
  • standardisation of variable names
  • removal of dependency on numba for code acceleration
  • removal of solar zenith angle calculation (now provided by earthkit-meteo)
  • several bug fixes and improvements

Please consult the ChangeLog for more details.

Contributing

The main repository is hosted on GitHub. Testing, bug reports and contributions are highly welcomed and appreciated.

Please see the Contributing document for the best way to help.

Current developers:

  • Claudia Di Napoli — ECMWF
  • Tiago Quintino — ECMWF

See also the contributors for a more complete list.

License

Copyright 2021 European Centre for Medium-Range Weather Forecasts (ECMWF)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.

Citing

In publications, please use our paper in SoftwareX as the main citation for thermofeel:

Brimicombe, C., Di Napoli, C., Quintino, T., Pappenberger, F., Cornforth, R., & Cloke, H. L. (2022). Thermofeel: A python thermal comfort indices library. SoftwareX, 18, 101005. https://doi.org/10.1016/j.softx.2022.101005

To cite thermofeel the code currently please use:

Brimicombe, C., Di Napoli, C., Quintino, T., Pappenberger, F., Cornforth, R., & Cloke, H. L. (2021). thermofeel: a python thermal comfort indices library https://doi.org/10.21957/mp6v-fd16

Acknowledgements

Past and current funding and support for thermofeel is listed in the adjoining Acknowledgements.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thermofeel-2.3.0.tar.gz (50.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thermofeel-2.3.0-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file thermofeel-2.3.0.tar.gz.

File metadata

  • Download URL: thermofeel-2.3.0.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for thermofeel-2.3.0.tar.gz
Algorithm Hash digest
SHA256 3546db63e93737e91692973d642c016c1ae832626258e2d8d31aca82fc0fb254
MD5 b0ff02f567216731b4a0eba4b0084b3a
BLAKE2b-256 faa5aeec22f9a35735f62061d133206960b67e72a0ea3ac3ff1ce8bfb5b3e338

See more details on using hashes here.

File details

Details for the file thermofeel-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: thermofeel-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for thermofeel-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32b9b1db96edaebbff84c82d78f8850400c84e7b5c0e5c2304a39942a67972ad
MD5 69739f6a94a34ff71ee62d0bee7f0c79
BLAKE2b-256 c1e2eac387d67ccf3df506e858af16d5a20201cbcf21dae53e923be2e70efbee

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 files

2.2.0

2 files

2.1.7

2 files

2.1.4

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

1 file

1.3.0

1 file

1.2.0

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

0.2.0

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page