Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds classes to structure wind energy data for FLORIS model (#775)
* move files around to get started * move files around to get started * ignore unused in __init__ files * Consolidate wind rose and time series into one module * Update init * Update tests * Add unpack functions * Add grid and unpack tests * Small refactor * Add resample function * Test resample * Add plot wind rose function * Add new wind rose usage example * Delete old code * add super class to import * Add a super class and inheritance * Add wind_data to reinitialize (also ruffing) * Show example of reinit off wind_data objects * Update how compute 0 freq works * Test computing all cases * add n_findex calculation and test * Add unpack_freq function * Get aep using wind data * Move unpack_for functions to super class * simplify get_farm_AEP_with_wind_data * Add docstrings * bugfix * Finalize example * Rename module file and base class * Add description to example explaining plan for updates. * providing unpack() on base class; renaming example. * Inheritance clarified; some cleanup. * Remove copy()s (can point to same memory). * Small fixes throughout. * Python back compatibility type-hinting issue. * Maintain consistent formatting This preserves the style defined in v3 style guide (#292) * Spell check * Remove outdated comments * Expand docs for wind data unit tests * Add dimensions to doc string * Add context to to_wind_rose test comments * Add error to reinitialize * Explain what happens in default cases for WindRose * Rename price to value * Add check on ti and value * Fix bin minimum * remove wind data import * Import WindDataBase correctly * Spell check and formatting --------- Co-authored-by: misi9170 <[email protected]> Co-authored-by: Rafael M Mudafort <[email protected]>
- Loading branch information