2.4.0
Below is an extract from the CHANGELOG file showing all the updates for this release.
[2.4.0]
New Features and Enhancements
- 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) - 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) - 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) - Updated
calc_air_density()to include relative humidity as suggested in IEC 61400-12-1. (#535)- Added deprecation warning the
specific_gas_constantargument ofcalc_air_density()will be removed in v3.0. - Added deprecation warning the scaling of air density to height within
calc_air_density()will be removed in v3.0. Users should usescale_air_density_to_height()separately instead.
- Added deprecation warning the
- Added
apply_scale_factor()to scale data by the scale_factor. (#541) - Added optional output to
apply_wind_vane_deadband_offset()which provides a results table showing the applied offset. (#520) - Added optional output to
apply_device_orientation_offset()which provides a results table showing the applied offset. (#521). - Updated
LoadBrightHub()to use BrightHub API Keys. (#550)- Added deprecation warning the username and password method of authenticating in BrightHub will be removed in a future version.
- Updated
time_continuity_gaps()in order to take an argumentminimum_gap_lengthwhich allows the user to filter the time gaps returned. (Issue #545) - 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)
Deprecated
LoadBrightdata()is deprecated and will be removed in version 3.0. Please useLoadBrightHub()instead to continue accessing reanalysis data.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.specific_gas_constantargument ofcalc_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.- The scaling of air density to height within
calc_air_density()is deprecated and will be removed in v3.0. Users should usescale_air_density_to_height()separately instead. - Support for Python ≤ 3.10 is deprecated and will be dropped in v3.0.0. Users should upgrade to Python 3.11 or newer.
- Support for Pandas ≤ 2.2 is deprecated and will be dropped in v3.0.0. Users should upgrade to Pandas 2.3 or newer.