Recent Releases of brightwind
brightwind - 2.3.0
Below is an extract form the CHANGELOG file showing all the updates for this release.
This update brings a comprehensive set of bug fixes and enhancements across the Brightwind library. Key improvements include more reliable wind and solar data handling, expanded plotting capabilities (including colormap support and better legends), and the introduction of new functions for downloading and applying cleaning rules and device orientation offsets. Enhanced error messages and schema validation strengthen data integrity and user feedback.
Bug Fixes
- Fixed legend display in
plot_scatter_wspdandplot_scatter_wdir, ensuring correct labeling in plots. (#443) - Corrected
is_fileusage, resolving an error when checking file existence. (#447) - Fixed bug in
_Measurements_get_table, which affected how measurement tables were retrieved. (#421) - Made
_Measurements_get_namespublic and fixed an issue with how names were retrieved. (#450) - Improved sensor calibration logic in
_Measurements__get_propertiesfor multi-type sensors by correctly selecting the appropriate calibration. (#449) - Fixed error for solar sites in
_Measurements__get_properties, improving compatibility. (#453) - Improved support for solar and sodar sites in
_LoggerMainConfigs__get_properties. (#454) - Resolved calculation issues in
dist()function when constant values are sent as well as improved error messages. (#459) - Fixed issues in
monthly_means(), correcting plot output and handling of missing months. (#452, #413) - Corrected
Shear.TimeOfDay()logic when months are missing along with improving error message and fixing plot labels. (#441)
New Features and Enhancements
- Updated
monthly_means()andplot_monthly_means()to improve output and visual clarity. (#452, #413) - Enhanced
plot_timeseries()to support more than 12 lines and introduced colormap-based coloring. (#457, #492) - Added error feedback in
Shear: More informative messages returned when no valid data is available. (#205) Shear.TimeSeriesandTimeOfDaynow returnnp.nanfor timestamps with no valid data. (#205)- Enhanced
LoadBrightHub.get_measurement_stations()to support device type filtering and optional dictionary return format. (#287, #378) - Added
LoadBrightHub.get_cleaning_rules(), allowing programmatic retrieval of cleaning rules for a station. (#461) - Added
load.apply_cleaning_rules(), enabling automated column cleaning based on BrightHub rules. (#462) - New function:
apply_device_orientation_offset()adjusts wind direction data based on remote sensing device orientation as stated in it's data model. (#451) - Schema validation added to
MeasurementStation(), ensuring input data matches the expected data model version. (#489)
- Python
Published by stephenholleran over 1 year ago
brightwind - 2.2.1
Below is an extract form the CHANGELOG file showing all the updates for this release.
[2.2.1]
- Bug fix some users encounter with
plot.plot_shear_time_of_day()(Issue #429).
- Python
Published by stephenholleran about 2 years ago
brightwind - 2.2.0
Below is an extract form the CHANGELOG file showing all the updates for this release.
[2.2.0]
- 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).
- Python
Published by stephenholleran about 2 years ago
brightwind - 2.1.0
Below is an extract form the CHANGELOG file showing all the updates for this release.
[2.1.0]
- Update behaviour of
time_continuity_gapsto find any gap that is not equal to the derived temporal resolution. - Added
data_resolutionargument toaverage_data_by_period,monthly_means,coverageandmerge_datasets_by_periodfunctions (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_formatinput update forpandas.to_datetime. (Pull request #387). - Update to work with matplotlib 3.5.2 and bug fix for plotfreqdistribution 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
Correlfix issue when duplicate column names are sent toSpeedSort(Issue #304) - Added subplotting functionality to
sector_ratioand 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 'monthlycoveragethreshold' option for the user to ensure good coverage months.
- In
freq_tableadded option to give as input target wind speed we want the mean frequency distribution to have (Issue #269). - Allow
freq_tablefunction to apply acoverage_thresholdfor both seasonal adjusted and base methods. (Issue #386) - Updated
plot_timeseriesto use a subplot function (_timeseries_subplot) and added arguments xlabel, _ylabel, _xticklabelangle, _linecolors, _legend and figuresize_. (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_speedandTI.by_sectorand added tests. Solved versions issue that were raised from Pandas 1.3.3. (Issue #317). - Address errors and warnings generated for
Shear.TimeOfDayandShearwhen pandas >=1.0.0 (Issue #347). - In
_calc_mean_speed_of_freq_tabforexport_tab_filefix 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
LoadBrightHubURL and generalised functions used for connecting to BrightHub platform without usingboto3(Issue #355). - Removed hardcoded colours for
Shear.TimeOfDayplots whenplot_typeis 'step' or 'line' and added a colour map. (Issue #376). - Fixed bug for
SpeedSortwhere thesector_predictfunction was not interpolating data using two fit lines. (Issue #377). - Updated
_ColorPaletteto automatically update colorlist, colormap, colormapcyclical and adjusted lightness color variables when main colors (primary, secondary etc.) are changed. (Issue #381). - Allow
mommfunction to derive a seasonal adjusted mean of monthly mean, if user setsseasonal_adjustmentto true, and allow to apply acoverage_threshold(Issue #298) - Updated
slice_data,offset_timestamps,_LoadBWPlatform.get_datafunctions to use 'less than' data_to if provided as input. (Issue #385)
- Python
Published by stephenholleran about 3 years ago
brightwind - 2.0.0
[2.0.0]
- 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
- Python
Published by stephenholleran over 5 years ago
brightwind - Beta of first release
- delete unwanted datasets
- Python
Published by stephenholleran almost 7 years ago
brightwind - Beta of first release
- bug fix in plot_scatter()
- apply color map to freq_table()
- LoadBrightdata added monthly_means and momm
- add option to not show correlation parameters
- change Shear.TimeOfDay default plot
- refactor colors to allow users to easily set their own
- Python
Published by stephenholleran almost 7 years ago
brightwind - Beta of first release
- complete refactor of distribution functions
- Python
Published by stephenholleran almost 7 years ago
brightwind - Beta of first release
- incorrect dateutil package name
- Python
Published by stephenholleran almost 7 years ago
brightwind - Beta of first release
complete refactor of shear (not backward compatible)
some bug fixes
- Python
Published by stephenholleran almost 7 years ago
brightwind - Beta of first release
Update with package data files and package requirements.
- Python
Published by stephenholleran about 7 years ago
brightwind - Beta of first release
Update with package data files and package requirements.
- Python
Published by stephenholleran about 7 years ago
brightwind - initial beta open source version
This is an initial beta release of the library. Anything may change at any time. The public API must not be considered stable.
- Python
Published by stephenholleran over 7 years ago