CenterForTheBuiltEnvironment / pythermalcomfort

Package to calculate several thermal comfort indices (e.g. PMV, PPD, SET, adaptive) and convert physical variables.
https://pythermalcomfort.readthedocs.io/en/latest/
MIT License
134 stars 49 forks source link

numpy round vs round_ #84

Closed ibrahimmudassar closed 8 months ago

ibrahimmudassar commented 8 months ago

Describe the bug DeprecationWarning: round_ is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use round instead. df['utci'] = utci(tdb=df['temperature_2m'], tr=df['apparent_temperature'],

To Reproduce https://pythermalcomfort.readthedocs.io/en/latest/_modules/pythermalcomfort/models.html#utci Steps to reproduce the behavior:

  1. Use the utci function

Desktop

FedericoTartarini commented 8 months ago

Thank you for opening this issue. I just fixed the error and I am deploying a new version of pythermalcomfort 2.8.9

I closed the issue since everything should be fine but please let me know if the issue persists.