From ddf71f94ec6a75245eb6bc9ab7ad35c54fee439d Mon Sep 17 00:00:00 2001 From: William Armstrong Date: Sat, 23 Nov 2024 03:49:39 -0700 Subject: [PATCH] BUG: forecast and reanalysis models - move wind_speed to correct position (#735) * forecast_reanalysis - move wind_speed to correct position * forecast_reanalysis - move wind_speed to correct position * DEV: adds #735 to CHANGELOG --------- Co-authored-by: Gui-FernandesBR Co-authored-by: Gui-FernandesBR <63590233+Gui-FernandesBR@users.noreply.github.com> --- CHANGELOG.md | 1 + rocketpy/environment/environment.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bbb7605e..47b37198a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ Attention: The newest changes should be on top --> ### Fixed +- BUG: forecast and reanalysis models - move wind_speed to correct position [#735](https://github.com/RocketPy-Team/RocketPy/pull/735) - BUG: Sideslip Angle and Damping Coefficient Calculation [#729](https://github.com/RocketPy-Team/RocketPy/pull/729) ## [v1.6.2] - 2024-11-08 diff --git a/rocketpy/environment/environment.py b/rocketpy/environment/environment.py index 5cef60b21..c7a85c002 100644 --- a/rocketpy/environment/environment.py +++ b/rocketpy/environment/environment.py @@ -1884,9 +1884,9 @@ def process_forecast_reanalysis( temper, wind_u, wind_v, - wind_speed, wind_heading, wind_direction, + wind_speed, ) # Save atmospheric data self.__set_pressure_function(data_array[:, (1, 0)])