-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Discussed in #768
Originally posted by damiendavidINSA July 15, 2025
Hi,
You can dramatically speedup the computation of the UTCI with Numba.
You just have to add the numba library and decorators:
from numba import float64, vectorize
@vectorize(
[
float64(
float64,
float64,
float64,
float64,
)
],
cache=True,
)
def utci_polynomial(D_Tmrt, Ta, va, Pa):
Here is the resulting file:
UTCI_calculations_UTCI_OPTIM.py.txt
Regards
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request