All notable changes to this project will be documented in this file. If you make a notable change to the project, please add a line describing the change to the "unreleased" section. The maintainers will make an effort to keep the Github Releases page up to date with this changelog. The format is based on Semantic Versioning e.g. '1.1.0'
Given a version number MAJOR.MINOR.PATCH, increment the:
1. MAJOR version when you make incompatible API changes,
2. MINOR version when you add functionality in a backwards compatible manner, and
3. PATCH version when you make backwards compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
- Bug fix some users encounter with
plot.plot_shear_time_of_day()
(Issue #429).
- Modify
Correl.OrdinaryLeastSquares()
to force the intercept to pass through the origin (Issue #412). - Update
LoadBrightHub.get_data()
to use a new API (Issue #419). - Added new function
LoadBrightHub.get_cleaning_log()
to pull the cleaning log for a particular measurement station on BrightHub (Issue #405). - Added new function
LoadBrightHub.get_reanalysis()
to pull reanalysis datasets from BrightHub (Issue #431). - Modify
load.apply_cleaning()
andapply_cleaning_windographer()
to clean columns specified in cleaning file by matching the sensor name from the beginning of the string. (Issue #249).
- Update behaviour of
time_continuity_gaps
to find any gap that is not equal to the derived temporal resolution. - Added
data_resolution
argument toaverage_data_by_period
,monthly_means
,coverage
andmerge_datasets_by_period
functions (Issue #297) - Update to work with Pandas 1.3.2. This mostly includes depreciating pd.Timedelta and using pd.DateOffset instead. (Pull request #312).
- Update to work with Pandas 2.0.1, due to
date_format
input update forpandas.to_datetime
. (Pull request #387). - Update to work with matplotlib 3.5.2 and bug fix for plot_freq_distribution and dist functions (Issue #315).
- Update to work with numpy>=1.20.0 when pandas=0.25.3. (Issue #344).
- Addressed all Future and Deprecation warnings for matplotlib<=3.6.3, numpy<=1.24.1, pandas<=1.5.3. (Issue #356).
- In
Correl
fix issue when duplicate column names are sent toSpeedSort
(Issue #304) - Added subplotting functionality to
sector_ratio
and improved user control of plotting (Issue #309) - Allow
dist()
function to take a pd.DataFrame so user can plot multiple distributions on the same plot. (Issue #264)- As part of this added subplotting functionality for bar plots
- Allow
freq_table()
function to derive a seasonal adjusted frequency distribution if user sets 'seasonal_adjustment' to true. (Issue #334)- As part of this, added 'monthly_coverage_threshold' option for the user to ensure good coverage months.
- In
freq_table
added option to give as input target wind speed we want the mean frequency distribution to have (Issue #269). - Allow
freq_table
function to apply acoverage_threshold
for both seasonal adjusted and base methods. (Issue #386) - Updated
plot_timeseries
to use a subplot function (_timeseries_subplot
) and added arguments x_label, y_label, x_tick_label_angle, line_colors, legend and figure_size. (Issue #349). - In
average_data_by_period()
fixed issue when wind direction average is derived for a period equal to the data resolution period (Issue #319). - In
average_data_by_period()
fixed issue when wind direction average is derived for a period equal to the data resolution period (Issue #319). - Fixed bugs for
TI.by_speed
andTI.by_sector
and added tests. Solved versions issue that were raised from Pandas 1.3.3. (Issue #317). - Address errors and warnings generated for
Shear.TimeOfDay
andShear
when pandas >=1.0.0 (Issue #347). - In
_calc_mean_speed_of_freq_tab
forexport_tab_file
fix issue around using wind speed bins less than 1 m/s (Issue #359). - Update to work with versions 1.0 to 1.2 of IEA WIND Task 43 WRA Data Model (Issue #306).
- Updated
LoadBrightHub
URL and generalised functions used for connecting to BrightHub platform without usingboto3
(Issue #355). - Removed hardcoded colours for
Shear.TimeOfDay
plots whenplot_type
is 'step' or 'line' and added a colour map. (Issue #376). - Fixed bug for
SpeedSort
where thesector_predict
function was not interpolating data using two fit lines. (Issue #377). - Updated
_ColorPalette
to automatically update color_list, color_map, color_map_cyclical and adjusted lightness color variables when main colors (primary, secondary etc.) are changed. (Issue #381). - Allow
momm
function to derive a seasonal adjusted mean of monthly mean, if user setsseasonal_adjustment
to true, and allow to apply acoverage_threshold
(Issue #298) - Updated
slice_data
,offset_timestamps
,_LoadBWPlatform.get_data
functions to use 'less than' data_to if provided as input. (Issue #385)
- Major changes, notably
- Incorporating the IEA WIND Task 43 WRA Data Model
- Adding APIs to pull data from the BrightHub platform www.brightwindhub.com
- Change license to MIT
- Correl - add linear regression by direction sector
- Correl - add different aggregation methods to both ref and target
- better function to average wind directions
- Bug fixes
- Initial release