diff --git a/CITATION.cff b/.github/CITATION.cff similarity index 100% rename from CITATION.cff rename to .github/CITATION.cff diff --git a/CHANGELOG.md b/CHANGELOG.md index 8312db905..bfd5501ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,18 @@ Attention: The newest changes should be on top --> ### Added + +### Changed + +- MNT: Refactor Tank's testing Assertion with CAD data. [#678](https://github.com/RocketPy-Team/RocketPy/pull/678) + +### Fixed + + +## [v1.7.0] - 2024-11-30 + +### Added + - DOC: GENESIS Flight Example [#734](https://github.com/RocketPy-Team/RocketPy/pull/734) - DOC: Camoes Flight Example [#733](https://github.com/RocketPy-Team/RocketPy/pull/733) - ENH: Callback function for collecting additional data from Monte Carlo sims [#702](https://github.com/RocketPy-Team/RocketPy/pull/702) @@ -39,8 +51,9 @@ Attention: The newest changes should be on top --> ### Changed -- MNT: Refactor Tank's testing Assertion with CAD data. [#678](https://github.com/RocketPy-Team/RocketPy/pull/678) +- REL: update version to 1.7.0 in configuration files [#741](https://github.com/RocketPy-Team/RocketPy/pull/741) - MNT: Place filename save parameter to the end. [#739](https://github.com/RocketPy-Team/RocketPy/pull/739) +- DOC: improvements to developers documentation [#732](https://github.com/RocketPy-Team/RocketPy/pull/732) ### Fixed @@ -48,6 +61,7 @@ Attention: The newest changes should be on top --> - BUG: forecast and reanalysis models - Update ECMWF dictionary values [#736](https://github.com/RocketPy-Team/RocketPy/pull/736) - 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) +- DOC: fixed documentation about spherical caps [#728](https://github.com/RocketPy-Team/RocketPy/pull/728) ## [v1.6.2] - 2024-11-08 diff --git a/docs/conf.py b/docs/conf.py index 9324ad9a6..62334799d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ author = "RocketPy Team" # The full version, including alpha/beta/rc tags -release = "1.6.2" +release = "1.7.0" # -- General configuration --------------------------------------------------- diff --git a/docs/user/environment/1-atm-models/ensemble.rst b/docs/user/environment/1-atm-models/ensemble.rst index c1d19722c..97c247f68 100644 --- a/docs/user/environment/1-atm-models/ensemble.rst +++ b/docs/user/environment/1-atm-models/ensemble.rst @@ -24,7 +24,7 @@ Global Ensemble Forecast System (GEFS) The ``GEFS`` model is a global ensemble forecast model ... -.. jupyter-execute:: +.. code-block:: python from datetime import date, timedelta from rocketpy import Environment @@ -45,7 +45,7 @@ The ``GEFS`` model is a global ensemble forecast model ... .. forecasts are kept away stored. .. Changing this is as easy as the following line of code. -.. jupyter-execute:: +.. code-block:: python env_gefs.select_ensemble_member(3) # selects the 3rd forecast member @@ -56,7 +56,7 @@ A very useful thing is to compare the forecast of all ensemble members, as well as confirming how many are there. All of this can be done by calling the :meth:`rocketpy.Environment.all_info` method. -.. jupyter-execute:: +.. code-block:: python env_gefs.all_info() diff --git a/docs/user/installation.rst b/docs/user/installation.rst index b8f0d73b7..ea36f1730 100644 --- a/docs/user/installation.rst +++ b/docs/user/installation.rst @@ -19,7 +19,7 @@ If you want to choose a specific version to guarantee compatibility, you may ins .. code-block:: shell - pip install rocketpy==1.6.2 + pip install rocketpy==1.7.0 Optional Installation Method: ``conda`` diff --git a/pyproject.toml b/pyproject.toml index 244de58d5..024242696 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "rocketpy" -version = "1.6.2" +version = "1.7.0" description="Advanced 6-DOF trajectory simulation for High-Power Rocketry." dynamic = ["dependencies"] readme = "README.md" diff --git a/rocketpy/motors/hybrid_motor.py b/rocketpy/motors/hybrid_motor.py index 58c2fab8e..163cdd811 100644 --- a/rocketpy/motors/hybrid_motor.py +++ b/rocketpy/motors/hybrid_motor.py @@ -616,4 +616,4 @@ def draw(self, *, filename=None): ------- None """ - self.plots.draw(filename) + self.plots.draw(filename=filename) diff --git a/rocketpy/motors/liquid_motor.py b/rocketpy/motors/liquid_motor.py index d99d0165b..d9a3220ae 100644 --- a/rocketpy/motors/liquid_motor.py +++ b/rocketpy/motors/liquid_motor.py @@ -478,4 +478,4 @@ def draw(self, *, filename=None): ------- None """ - self.plots.draw(filename) + self.plots.draw(filename=filename) diff --git a/rocketpy/motors/solid_motor.py b/rocketpy/motors/solid_motor.py index 9f8622cea..f0862e26a 100644 --- a/rocketpy/motors/solid_motor.py +++ b/rocketpy/motors/solid_motor.py @@ -742,4 +742,4 @@ def draw(self, *, filename=None): ------- None """ - self.plots.draw(filename) + self.plots.draw(filename=filename) diff --git a/rocketpy/motors/tank.py b/rocketpy/motors/tank.py index 9cddb2c17..982380891 100644 --- a/rocketpy/motors/tank.py +++ b/rocketpy/motors/tank.py @@ -492,7 +492,7 @@ def draw(self, *, filename=None): ------- None """ - self.plots.draw(filename) + self.plots.draw(filename=filename) def info(self): """Prints out a summary of the tank properties.""" diff --git a/rocketpy/rocket/aero_surface/fins/fins.py b/rocketpy/rocket/aero_surface/fins/fins.py index 3c98855d0..b2af4f55f 100644 --- a/rocketpy/rocket/aero_surface/fins/fins.py +++ b/rocketpy/rocket/aero_surface/fins/fins.py @@ -442,4 +442,4 @@ def draw(self, *, filename=None): ------- None """ - self.plots.draw(filename) + self.plots.draw(filename=filename) diff --git a/rocketpy/rocket/aero_surface/nose_cone.py b/rocketpy/rocket/aero_surface/nose_cone.py index 6c295d1c5..c8f3a2062 100644 --- a/rocketpy/rocket/aero_surface/nose_cone.py +++ b/rocketpy/rocket/aero_surface/nose_cone.py @@ -502,7 +502,7 @@ def draw(self, *, filename=None): ------- None """ - self.plots.draw(filename) + self.plots.draw(filename=filename) def info(self): """Prints and plots summarized information of the nose cone. diff --git a/rocketpy/simulation/monte_carlo.py b/rocketpy/simulation/monte_carlo.py index 70584838a..926576831 100644 --- a/rocketpy/simulation/monte_carlo.py +++ b/rocketpy/simulation/monte_carlo.py @@ -120,6 +120,7 @@ def __init__( a Flight object and returns a value of that variable. For instance .. code-block:: python + custom_data_collector = { "max_acceleration": lambda flight: max(flight.acceleration(flight.time)), "date": lambda flight: flight.env.date,