WISDEM / WOMBAT

Windfarm Operations & Maintenance cost-Benefit Analysis Tool
https://wisdem.github.io/WOMBAT/
Apache License 2.0
20 stars 11 forks source link

distance_km is NaN for CTVs #85

Closed amcooperman closed 1 year ago

amcooperman commented 1 year ago

With the latest update, the distance_km output metric is reporting NaN for CTVs (and sometimes DSVs but not always). Nothing is obviously wrong with the CTV distances in the events log image

amcooperman commented 1 year ago

This warning may be related

C:\Users\acooperm\AppData\Local\Continuum\anaconda3\envs\wombat06\lib\site-packages\pandas-1.5.2-py3.10-win-amd64.egg\pandas\core\dtypes\cast.py:1153: RuntimeWarning: invalid value encountered in cast if (arr.astype(int) == arr).all():