NREL / rex

REsource eXtraction Tool (rex)
https://nrel.github.io/rex
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

Wave stats #91

Closed MRossol closed 3 years ago

MRossol commented 3 years ago

Add a WaveStats sub-class with the ability to run weighted circular means to compute maximum_energy_direction means weighted by omni-directional_wave_power and directionality_coefficient

codecov-commenter commented 3 years ago

Codecov Report

Merging #91 (de63620) into main (91b6a53) will decrease coverage by 0.05%. The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
- Coverage   74.85%   74.80%   -0.06%     
==========================================
  Files          55       55              
  Lines        7645     7806     +161     
==========================================
+ Hits         5723     5839     +116     
- Misses       1922     1967      +45     
Flag Coverage Δ
unittests 74.80% <76.92%> (-0.06%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
rex/temporal_stats/temporal_stats_cli.py 65.11% <ø> (ø)
rex/temporal_stats/temporal_stats.py 76.85% <73.05%> (-5.05%) :arrow_down:
rex/multi_file_resource.py 83.60% <100.00%> (+0.09%) :arrow_up:
rex/version.py 100.00% <100.00%> (ø)
tests/test_temporal_stats.py 98.23% <100.00%> (+0.19%) :arrow_up:
rex/utilities/loggers.py 84.41% <0.00%> (-0.37%) :arrow_down: