Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
c5de546
prep for new developments
stephenholleran Apr 14, 2025
f596c79
iss #458 numpy pandas update
rm-mol Jun 11, 2025
453b623
loosen pandas numpy requirements in setup.py
rm-mol Jun 13, 2025
b7c793a
add jinja2 to requirements
rm-mol Jun 13, 2025
d314ed8
iss #437 add env to test.yml
rm-mol Jun 13, 2025
3b871ef
add github secrets
rm-mol Jul 7, 2025
b4c6238
iss #458 and #407 fixed bug with pandas v2.0
BiancaMorandi Jul 9, 2025
128383c
iss #458 minor formatting change
BiancaMorandi Jul 9, 2025
0e78ef5
iss #458 updated max requirements for pandas and python
BiancaMorandi Jul 9, 2025
b90f6f1
iss #458 updated changelog
BiancaMorandi Jul 9, 2025
1fc77c1
Merge pull request #505 from brightwind-dev/iss458_fix_bug
stephenholleran Jul 16, 2025
38fbbcb
Merge pull request #506 from brightwind-dev/iss437_add_env_variables
stephenholleran Jul 16, 2025
69610ad
remove python 3.7 as no longer supported by ubuntu 24.04
stephenholleran Jul 17, 2025
dac6713
[Iss531] add function to extrapolate pressure (SR8BM2.5) (#537)
sararafter Oct 23, 2025
ea97684
[Iss530] Add functions to extrapolate temperature and air density (SR…
sararafter Oct 23, 2025
1ec87cf
[Iss535] updated calc_air_density to include humidity and follow IEC …
sararafter Oct 24, 2025
9ef75ff
[Iss541] update scale wind spd name (#542)
sararafter Oct 24, 2025
b270f3d
Moved scaling functions to transform/scale.py (SR1) (#548)
sararafter Nov 26, 2025
88e3c21
iss #520 return deadband offset results table (#551)
olivia-bentley Nov 28, 2025
e8ae2ff
Iss520 rename table headers (#559)
olivia-bentley Nov 28, 2025
e9eb5e0
Iss521 return device orientation offset table (#552)
olivia-bentley Nov 28, 2025
d5826ff
iss #550 include method of authenticating Brighthub requests using AP…
dancasey-ie Nov 28, 2025
ba27030
iss #545 added argument minimum_gap_length to time_continuity_gaps (#…
olivia-bentley Dec 1, 2025
609374e
[Iss504] fix bug offset timestamps (#518)
sararafter Dec 4, 2025
586fa6f
iss255 tackle deprecation warnings (#517)
rm-mol Dec 15, 2025
3c72734
iss #556 add deprecated warning to BrightData (#564)
stephenholleran Dec 16, 2025
8955dae
iss #561 renamed series with _scaled (#563)
sararafter Dec 16, 2025
c6eaa43
[Iss566] Handle dataframes in calc_air_density (#567)
sararafter Dec 17, 2025
a1713c6
prepare for v2.4.0 release (#565)
stephenholleran Dec 17, 2025
a634595
[Iss539] Add alternative air density method (SR5) (#549)
sararafter Feb 10, 2026
6624e0f
[Iss581] Calculate relative humidity from dew point (#582)
sararafter Feb 10, 2026
39686cd
iss #576 allow return of lists and dictionaries from raised child whe…
olivia-bentley Feb 10, 2026
bb0f822
Refactored apply_wind_vane_deadband_offset to use _apply_dir_offset_t…
olivia-bentley Feb 10, 2026
c4f9741
iss #574 applying adjustment to relevant associated columns (#584)
olivia-bentley Feb 12, 2026
a3536ea
update version to 2.5.0
stephenholleran Feb 12, 2026
01821f6
add release dates to changelog
stephenholleran Feb 12, 2026
1441137
Merge branch 'master' into dev
stephenholleran Feb 12, 2026
e06dceb
change tests to assert warning rather than error
sararafter Feb 12, 2026
ed8b6ca
Merge pull request #587 from brightwind-dev/address_air_density_test_…
stephenholleran Feb 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,19 @@ Given a version number MAJOR.MINOR.PATCH, increment the:
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

---
## [2.5.0]
12-Feb-2026

### New Features and Enhancements
1. Updated `calc_air_density()` to incorporate additional methods. The methods differ in their approach to deriving water vapour pressure using `_calc_water_vapour_pressure_Pa()` and include the pre-existing 'IEC' method (default). The two new methods are based on the Herman Wobus approximation (`_calc_water_saturation_vapour_pressure_Pa()`) and require either relative humidity or dew point temperature as inputs. ([#539](https://github.com/brightwind-dev/brightwind/issues/539)).
2. Added `calc_rel_humidity_from_dew_point()` to calculate relative humidity from air temperature and dew point temperature. ([#581](https://github.com/brightwind-dev/brightwind/issues/581)).
3. Updated `MeasurementStation` function `__get_properties()` in order to raise child properties when flattening the dictionary to include sub-lists and sub-dictionaries when raising the following parts of the data model 'mast_properties', 'logger_measurement_config', 'sensor' and 'mounting_arrangement'. This is called by a user with `MeasurementStation.properties` or `MeasurementStation.measurements.properties` ([#576](https://github.com/brightwind-dev/brightwind/issues/576))
4. Updated `apply_wind_vane_deadband_offset()` to use same core function than `apply_device_orientation_offset()` for the adjustment. ([#498](https://github.com/brightwind-dev/brightwind/issues/498))
5. Updated `apply_device_orientation_offset()` and `apply_wind_vane_deadband_offset()` in order to also apply directional adjustment to related columns (for 'avg', 'min', 'max' and 'gust' statistic types) in addition to the main variable itself. ([#574](https://github.com/brightwind-dev/brightwind/issues/574)).

### Bug Fixes
1. Fixed two bugs on `apply_device_orientation_offset()` reported table and prints. ([#571](https://github.com/brightwind-dev/brightwind/issues/571))
2. Fixed bug on `apply_wind_vane_deadband_offset()` reported table and prints. ([#569](https://github.com/brightwind-dev/brightwind/issues/569))
## [2.4.0]

### New Features and Enhancements
Expand Down Expand Up @@ -41,7 +53,41 @@ Additional labels for pre-release and build metadata are available as extensions
1. Fixed pandas deprecating warnings that were linked to frequency strings, .groupby() and .map(). ([#407](https://github.com/brightwind-dev/brightwind/issues/407), [#415](https://github.com/brightwind-dev/brightwind/issues/415) and [#445](https://github.com/brightwind-dev/brightwind/issues/445))


---
## [2.4.0]
17-Dec-2025

### New Features and Enhancements
1. Added `scale_air_pressure_to_height()` to output an air pressure value for any height based on reference air temperature and air pressure values at a different measurement height. ([#531](https://github.com/brightwind-dev/brightwind/issues/531))
2. Added `scale_air_density_to_height()` to output an air density value for any height by applying a constant lapse rate to a known reference air density value at a reference measurement height. ([#534](https://github.com/brightwind-dev/brightwind/issues/534))
3. Added `scale_air_temperature_to_height()` to output an air temperature value for any height by applying a constant lapse rate to a known reference air temperature value at a reference measurement height. ([#530](https://github.com/brightwind-dev/brightwind/issues/530))
4. Updated `calc_air_density()` to include relative humidity as suggested in IEC 61400-12-1. ([#535](https://github.com/brightwind-dev/brightwind/issues/535))
1. Added deprecation warning the `specific_gas_constant` argument of `calc_air_density()` will be removed in v3.0.
1. Added deprecation warning the scaling of air density to height within `calc_air_density()` will be removed in v3.0. Users should use `scale_air_density_to_height()` separately instead.
5. Added `apply_scale_factor()` to scale data by the scale_factor. ([#541](https://github.com/brightwind-dev/brightwind/issues/541))
6. Added optional output to `apply_wind_vane_deadband_offset()` which provides a results table showing the applied offset. ([#520](https://github.com/brightwind-dev/brightwind/issues/520))
7. Added optional output to `apply_device_orientation_offset()` which provides a results table showing the applied offset. ([#521](https://github.com/brightwind-dev/brightwind/issues/521)).
8. Updated `LoadBrightHub()` to use BrightHub API Keys. ([#550](https://github.com/brightwind-dev/brightwind/issues/550))
1. Added deprecation warning the username and password method of authenticating in BrightHub will be removed in a future version.
9. Updated `time_continuity_gaps()` in order to take an argument `minimum_gap_length` which allows the user to filter the time gaps returned. (Issue [#545](https://github.com/brightwind-dev/brightwind/issues/545))
10. Updated `offset_timestamps()`to include last timestamp when date_to is unspecified, so that offset is applied to the entire record if date_to not specified. ([#504](https://github.com/brightwind-dev/brightwind/issues/504))

### Deprecated
1. `LoadBrightdata()` is deprecated and will be removed in version 3.0. Please use `LoadBrightHub()` instead to continue accessing reanalysis data.
2. `LoadBrightHub()` authentication using email and password is deprecated and will be removed in v3.0. Please migrate to API key authentication. Create and manage API keys at: https://brighthub.io/account-settings/settings.
3. `specific_gas_constant` argument of `calc_air_density()` is deprecated and will be removed in v3.0 because the updated method depends on the gas constants for dry air and water vapour, making this argument redundant.
4. The scaling of air density to height within `calc_air_density()` is deprecated and will be removed in v3.0. Users should use `scale_air_density_to_height()` separately instead.
5. Support for **Python ≤ 3.10** is deprecated and will be dropped in v3.0.0. Users should upgrade to Python 3.11 or newer.
6. Support for **Pandas ≤ 2.2** is deprecated and will be dropped in v3.0.0. Users should upgrade to Pandas 2.3 or newer.

### Bug Fixes
1. Fixed pandas<3.0.0 and numpy<2.3.1 dependencies, ([#458](https://github.com/brightwind-dev/brightwind/issues/458))
2. Fixed pandas deprecating warnings that were linked to frequency strings, .groupby() and .map(). ([#407](https://github.com/brightwind-dev/brightwind/issues/407), [#415](https://github.com/brightwind-dev/brightwind/issues/415) and [#445](https://github.com/brightwind-dev/brightwind/issues/445))

---
## [2.3.0]
14-Apr-2025

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
Expand Down
2 changes: 1 addition & 1 deletion brightwind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@

__all__ = ['analyse', 'transform', 'export', 'load', 'demo_datasets']

__version__ = '2.4.0'
__version__ = '2.5.0'
Loading