Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Environment class major refactor may 2024 #605

Merged
merged 82 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from 78 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
fe29c0c
ENH: Adds rocketpy.environment.tools module
Gui-FernandesBR May 17, 2024
5d9e09a
ENH: creates the environment.fetchers module
Gui-FernandesBR May 17, 2024
2977ab1
ENH: generates WeatherModelMapping class
Gui-FernandesBR May 17, 2024
23be7b2
DOC: Adds docstrings and comments to the fetchers.py module
Gui-FernandesBR May 20, 2024
afa0ff0
BUG: Fix bug in fetch_atmospheric_data_from_windy function
Gui-FernandesBR May 20, 2024
17c57bd
ENH: Add modulo operator to Function class
Gui-FernandesBR May 20, 2024
66c19ff
ENH: adds tools.geopotential_height_to_geometric_height function
Gui-FernandesBR May 20, 2024
27caf85
DOC: Adds docstrings and comments to the environment.tools.py module
Gui-FernandesBR May 20, 2024
ade79ad
MNT: refactor initialization methods in the Environment class
Gui-FernandesBR May 20, 2024
32ee023
MNT: refactor Environment.export_environment() method
Gui-FernandesBR May 20, 2024
d39c07f
MNT: refactors the standard atmosphere calculations
Gui-FernandesBR May 20, 2024
8ce0100
ENH: Adds auxiliary private setters. to the Environment class
Gui-FernandesBR May 20, 2024
56199c7
MNT: refactor Environment.set_elevation() method
Gui-FernandesBR May 20, 2024
da4fcdb
MNT: refactors the Environment.set_atmospheric_model() method
Gui-FernandesBR May 20, 2024
53544b9
MNT: refactors the Environment.process_windy_atmosphere() method
Gui-FernandesBR May 20, 2024
415317a
MNT: refactors the Environment.process_noaaruc_sounding() method
Gui-FernandesBR May 20, 2024
e10640a
MNT: re-organize the environment module imports
Gui-FernandesBR May 20, 2024
dbdb68e
MNT: refactors the Environment.process_custom_atmosphere() method
Gui-FernandesBR May 20, 2024
30e4856
MNT: refactors the Environment.process_wyoming_sounding() method
Gui-FernandesBR May 20, 2024
a5edda1
MNT: refactors the Environment.process_ensemble() method
Gui-FernandesBR May 20, 2024
e6b062a
ENH: adds some validation functions to the Environment class
Gui-FernandesBR May 20, 2024
ec072d4
MNT: refactors the Environment.process_forecast_reanalysis() method
Gui-FernandesBR May 20, 2024
4fcf892
MNT: refactors the Environment.select_ensemble_member() method
Gui-FernandesBR May 20, 2024
7112df7
MNT: minor refactors some of the topography methods in Environment class
Gui-FernandesBR May 20, 2024
e88bc91
MNT: minor fix to the Environment.set_earth_geometry() method
Gui-FernandesBR May 20, 2024
df5398e
MNT: refactors Environment.add_wind_gust() method
Gui-FernandesBR May 20, 2024
290bb34
TST: updates Environment tests
Gui-FernandesBR May 20, 2024
eabb172
Fix code style issues with Black
lint-action May 20, 2024
dea0c81
TST: updates some Environment integration tests
Gui-FernandesBR May 20, 2024
56bb3eb
Merge branch 'enh/environment-class-major-refactor-may-2024' of https…
Gui-FernandesBR May 20, 2024
344ff68
Fix code style issues with Black
lint-action May 20, 2024
99b4332
TST: fix bug in the geodesic to UTM conversion tests
Gui-FernandesBR May 20, 2024
bad6ae1
ENH: Adds rocketpy.environment.tools module
Gui-FernandesBR May 17, 2024
a512d05
ENH: creates the environment.fetchers module
Gui-FernandesBR May 17, 2024
ebd2da3
ENH: generates WeatherModelMapping class
Gui-FernandesBR May 17, 2024
e87ac6b
DOC: Adds docstrings and comments to the fetchers.py module
Gui-FernandesBR May 20, 2024
9253c48
BUG: Fix bug in fetch_atmospheric_data_from_windy function
Gui-FernandesBR May 20, 2024
3e55990
ENH: Add modulo operator to Function class
Gui-FernandesBR May 20, 2024
209a70a
ENH: adds tools.geopotential_height_to_geometric_height function
Gui-FernandesBR May 20, 2024
84012a6
DOC: Adds docstrings and comments to the environment.tools.py module
Gui-FernandesBR May 20, 2024
2038755
MNT: refactor initialization methods in the Environment class
Gui-FernandesBR May 20, 2024
34aa193
MNT: refactor Environment.export_environment() method
Gui-FernandesBR May 20, 2024
2f0b613
MNT: refactors the standard atmosphere calculations
Gui-FernandesBR May 20, 2024
0e29f92
ENH: Adds auxiliary private setters. to the Environment class
Gui-FernandesBR May 20, 2024
a1f2425
MNT: refactor Environment.set_elevation() method
Gui-FernandesBR May 20, 2024
bfc6f81
MNT: refactors the Environment.set_atmospheric_model() method
Gui-FernandesBR May 20, 2024
2eb12d2
MNT: refactors the Environment.process_windy_atmosphere() method
Gui-FernandesBR May 20, 2024
a589615
MNT: refactors the Environment.process_noaaruc_sounding() method
Gui-FernandesBR May 20, 2024
2bcc38b
MNT: re-organize the environment module imports
Gui-FernandesBR May 20, 2024
5e70ae4
MNT: refactors the Environment.process_custom_atmosphere() method
Gui-FernandesBR May 20, 2024
21dd59e
MNT: refactors the Environment.process_wyoming_sounding() method
Gui-FernandesBR May 20, 2024
4874d9a
MNT: refactors the Environment.process_ensemble() method
Gui-FernandesBR May 20, 2024
323ee37
ENH: adds some validation functions to the Environment class
Gui-FernandesBR May 20, 2024
0243b15
MNT: refactors the Environment.process_forecast_reanalysis() method
Gui-FernandesBR May 20, 2024
321310f
MNT: refactors the Environment.select_ensemble_member() method
Gui-FernandesBR May 20, 2024
988c97d
MNT: minor refactors some of the topography methods in Environment class
Gui-FernandesBR May 20, 2024
82e4352
MNT: minor fix to the Environment.set_earth_geometry() method
Gui-FernandesBR May 20, 2024
74fe181
MNT: refactors Environment.add_wind_gust() method
Gui-FernandesBR May 20, 2024
4256500
TST: updates Environment tests
Gui-FernandesBR May 20, 2024
318e2b9
Fix code style issues with Black
lint-action May 20, 2024
95ca456
TST: updates some Environment integration tests
Gui-FernandesBR May 20, 2024
3982f29
Fix code style issues with Black
lint-action May 20, 2024
83af338
TST: fix bug in the geodesic to UTM conversion tests
Gui-FernandesBR May 20, 2024
8bdaa0e
Merge branch 'enh/environment-class-major-refactor-may-2024' of https…
Gui-FernandesBR Jun 29, 2024
2ec38bf
Merge branch 'mnt/update-pylint-rules' into enh/environment-class-maj…
Gui-FernandesBR Jun 29, 2024
49f10de
MNT: adjusts after merge
Gui-FernandesBR Jun 29, 2024
a2310cd
Merge branch 'mnt/pylint-tests-module' into enh/environment-class-maj…
Gui-FernandesBR Jul 6, 2024
cd5b953
TST: fix tests
Gui-FernandesBR Jul 6, 2024
c540da0
MNT: final touches before opening the PR
Gui-FernandesBR Jul 6, 2024
b1d4b89
TST: fix and updates environment tests
Gui-FernandesBR Jul 6, 2024
6231fe6
DEV: adds 605 to the CHANGELOG
Gui-FernandesBR Jul 6, 2024
9c9c0a5
TST: fix docs tests
Gui-FernandesBR Jul 6, 2024
07f4764
Merge branch 'develop' into enh/environment-class-major-refactor-may-…
Gui-FernandesBR Jul 9, 2024
2af6c86
MNT: fix review comments
Gui-FernandesBR Jul 10, 2024
6279345
Merge branch 'enh/environment-class-major-refactor-may-2024' of https…
Gui-FernandesBR Jul 10, 2024
5496abf
TST: fix environment analysis test
Gui-FernandesBR Jul 12, 2024
97b7852
MNT: fix some broken code
Gui-FernandesBR Jul 12, 2024
e67d988
MNT: captures JSONDecodeError in open-elevation fetcher
Gui-FernandesBR Jul 12, 2024
014fbe8
MNT: fix lint
Gui-FernandesBR Jul 13, 2024
1c6f15b
TST: fix problematic test
Gui-FernandesBR Jul 13, 2024
86b5bb7
STY: fix black
Gui-FernandesBR Jul 13, 2024
3f83395
Merge branch 'develop' into enh/environment-class-major-refactor-may-…
Gui-FernandesBR Jul 12, 2024
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Attention: The newest changes should be on top -->

### Changed

- ENH: Environment class major refactor may 2024 [#605](https://github.com/RocketPy-Team/RocketPy/pull/605)
- MNT: Refactors the code to adopt pylint [#621](https://github.com/RocketPy-Team/RocketPy/pull/621)

### Fixed
Expand Down
7 changes: 7 additions & 0 deletions rocketpy/environment/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
"""The rocketpy.environment module is responsible for the Atmospheric and Earth
models. The methods and classes not listed in the __all__ variable will be
considered private and should be used with caution.
"""

from .environment import Environment
from .environment_analysis import EnvironmentAnalysis

__all__ = ["Environment", "EnvironmentAnalysis"]
MateusStano marked this conversation as resolved.
Show resolved Hide resolved
Loading
Loading