WISDEM / WOMBAT

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

Enhancement: Use Polars for the Weather Profile #97

Closed RHammond2 closed 1 year ago

RHammond2 commented 1 year ago

This PR closes #95 by using Polars for all methods acting on the weather profile, which leaves a remaining speed bottleneck in the RepairManger.register_repair() method.

codecov[bot] commented 1 year ago

Codecov Report

Merging #97 (1c8883a) into develop (0e0bcf6) will increase coverage by 0.07%. The diff coverage is 60.00%.

@@             Coverage Diff             @@
##           develop      #97      +/-   ##
===========================================
+ Coverage    54.90%   54.98%   +0.07%     
===========================================
  Files           21       21              
  Lines         3475     3472       -3     
  Branches       704      704              
===========================================
+ Hits          1908     1909       +1     
+ Misses        1452     1448       -4     
  Partials       115      115              
Impacted Files Coverage Δ
wombat/core/mixins.py 63.01% <0.00%> (-1.86%) :arrow_down:
wombat/core/port.py 17.30% <25.00%> (+0.85%) :arrow_up:
wombat/core/service_equipment.py 60.36% <77.77%> (+0.06%) :arrow_up:
wombat/core/environment.py 78.03% <90.90%> (+0.69%) :arrow_up: