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

BUG: adding rocket radius parameter to rail buttons class #637

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 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
a8676b2
ENH: move aero_surface.py
MateusStano Jun 17, 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
f59c287
MNT: separate aero surface classes into different files
MateusStano Jun 30, 2024
a5b2d8f
MNT: move fins.py into fins folder
MateusStano Jun 30, 2024
290a976
MNT: separate fins classes
MateusStano Jun 30, 2024
01e6e21
ENH: add reference_area to AeroSurface
MateusStano Jul 1, 2024
278e7a2
MNT: minor fixes
MateusStano Jul 2, 2024
4a0324c
ENH: add reference_length to AeroSurface
MateusStano Jul 2, 2024
9398090
DEV: setup vscode workspace
Gui-FernandesBR Jul 6, 2024
9fb479b
MNT: fix some typos
Gui-FernandesBR Jul 6, 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
b6f6697
Merge remote-tracking branch 'origin/develop' into mnt/refactor-aeros…
MateusStano Jul 8, 2024
9c07231
MNT: isort
MateusStano Jul 8, 2024
0d0ba93
MNT: pylint
MateusStano Jul 8, 2024
a749c01
DEV: changelog
MateusStano Jul 8, 2024
eecc71d
DEV: setup vscode workspace
Gui-FernandesBR Jul 6, 2024
4eedbd2
MNT: fix some typos
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
87480c6
BUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
38f62a9
MNT: Updating Pytest (Adding rocket_radius parameter to RailButtons c…
juliomachad0 Jul 11, 2024
46091d5
MNTBUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
429d59d
MNT: Updating unit/stochastic tests. Adding rocket_radius parameter.
juliomachad0 Jul 11, 2024
5496abf
TST: fix environment analysis test
Gui-FernandesBR Jul 12, 2024
97b7852
MNT: fix some broken code
Gui-FernandesBR Jul 12, 2024
ba86fc2
DEV: remove some VS Code extensions recommendations
Gui-FernandesBR Jul 12, 2024
4de2918
Merge branch 'dev/setting-up-vscode' of https://github.com/RocketPy-T…
Gui-FernandesBR Jul 12, 2024
2defa9a
Merge pull request #633 from RocketPy-Team/dev/setting-up-vscode
Gui-FernandesBR Jul 12, 2024
e67d988
MNT: captures JSONDecodeError in open-elevation fetcher
Gui-FernandesBR Jul 12, 2024
3130cdb
Merge branch 'develop' into mnt/refactor-aerosurfaces
MateusStano Jul 12, 2024
92f8c97
Merge pull request #634 from RocketPy-Team/mnt/refactor-aerosurfaces
MateusStano Jul 12, 2024
45971e9
Merge pull request #605 from RocketPy-Team/enh/environment-class-majo…
Gui-FernandesBR Jul 12, 2024
49043db
ENH: Adding rocket_radius to RailButtons class without change the tes…
juliomachad0 Jul 13, 2024
014fbe8
MNT: fix lint
Gui-FernandesBR Jul 13, 2024
ef0ea8b
Adding rocket_radius to RailButtons class without change the tests
juliomachad0 Jul 13, 2024
c1d7780
Merge branch 'bug/adding_rocket_radius_parameter_to_rail_buttons_clas…
juliomachad0 Jul 13, 2024
1c6f15b
TST: fix problematic test
Gui-FernandesBR Jul 13, 2024
77a70ad
BUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
de57666
MNTBUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
b36dd55
Adding rocket_radius to RailButtons class without change the tests
juliomachad0 Jul 13, 2024
b6cf0dd
MNT: Updating Pytest (Adding rocket_radius parameter to RailButtons c…
juliomachad0 Jul 11, 2024
0651ffa
MNT: Updating unit/stochastic tests. Adding rocket_radius parameter.
juliomachad0 Jul 11, 2024
28418fd
Merge branch 'bug/adding_rocket_radius_parameter_to_rail_buttons_clas…
juliomachad0 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
fccabe7
Revert "ENH: Adding rocket_radius to RailButtons class without change…
juliomachad0 Jul 13, 2024
eafbede
Revert "BUG: RailButtons does not have rocket_radius attribute #606."
juliomachad0 Jul 13, 2024
0b3c53c
BUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
99c835f
MNTBUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
20a20c8
Adding rocket_radius to RailButtons class without change the tests
juliomachad0 Jul 13, 2024
be1a4cb
Revert "ENH: Adding rocket_radius to RailButtons class without change…
juliomachad0 Jul 13, 2024
e43775a
Revert "BUG: RailButtons does not have rocket_radius attribute #606."
juliomachad0 Jul 13, 2024
a8144d3
merging branchs
juliomachad0 Jul 13, 2024
ccd6373
BUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
689c05b
MNTBUG: RailButtons does not have rocket_radius attribute #606.
juliomachad0 Jun 17, 2024
43862cb
Adding rocket_radius to RailButtons class without change the tests
juliomachad0 Jul 13, 2024
f60d4a0
Revert "ENH: Adding rocket_radius to RailButtons class without change…
juliomachad0 Jul 13, 2024
acdb316
Revert "BUG: RailButtons does not have rocket_radius attribute #606."
juliomachad0 Jul 13, 2024
99b16f7
Merge branch 'bug/adding_rocket_radius_parameter_to_rail_buttons_clas…
juliomachad0 Jul 13, 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
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ cython_debug/
*.docx
*.pdf

# VSCode project settings
.vscode/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ good-names=FlightPhases,
prop_I_11,
Kt, # transformation matrix transposed
clalpha2D,
clalpha2D_incompresible,
clalpha2D_incompressible,
r_NOZ, # Nozzle position vector
rocket_dry_I_33,
rocket_dry_I_11,
Expand Down
23 changes: 23 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"recommendations": [
"ambooth.git-rename",
"github.vscode-pull-request-github",
"gruntfuggly.todo-tree",
"mechatroner.rainbow-csv",
"ms-python.black-formatter",
"ms-python.debugpy",
"ms-python.pylint",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"ms-toolsai.jupyter-keymap",
"ms-toolsai.jupyter-renderers",
"ms-toolsai.vscode-jupyter-cell-tags",
"ms-toolsai.vscode-jupyter-slideshow",
"ms-vscode.cmake-tools",
"ms-vscode.makefile-tools",
"njpwerner.autodocstring",
"streetsidesoftware.code-spell-checker",
"trond-snekvik.simple-rst",
]
}
214 changes: 214 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"autoDocstring.docstringFormat": "numpy",
"cSpell.enableFiletypes": [
"python",
"jupyter",
"markdown",
"restructuredtext"
],
"cSpell.language": "en-US",
"cSpell.words": [
"Abdulklech",
"adjugate",
"akima",
"allclose",
"altitudemode",
"Alves",
"amax",
"arange",
"arccos",
"arcsin",
"arctan",
"argmax",
"argmin",
"argsort",
"atol",
"attrname",
"autoclass",
"autofetch",
"autopep",
"autouse",
"axhline",
"axup",
"axvline",
"behaviour",
"bijective",
"brentq",
"Calebe",
"calisto",
"Calisto",
"Cardano's",
"cardanos",
"carlo",
"CDEFGHJKLMNPQRSTUVWXX",
"Ceotto",
"cesaroni",
"Cesaroni",
"cftime",
"changealphaint",
"Chassikos",
"clabel",
"clalpha",
"cmap",
"cmcens",
"coeff",
"coeffs",
"colorbar",
"colormaps",
"contourf",
"conusnest",
"cstride",
"csys",
"datapoints",
"ddot",
"deletechars",
"dimgrey",
"discretizes",
"disp",
"dtype",
"ECMWF",
"edgecolor",
"epsabs",
"epsrel",
"errstate",
"evals",
"exponentiated",
"extrap",
"facecolor",
"fastapi",
"Fernandes",
"fftfreq",
"figsize",
"filt",
"fmax",
"fmin",
"fontsize",
"freestream",
"funcified",
"funcify",
"GEFS",
"genfromtxt",
"geopotential",
"geopotentials",
"getdata",
"getfixturevalue",
"Giorgio",
"Giovani",
"github",
"Glauert",
"gmaps",
"Gomes",
"grav",
"hemis",
"hgtprs",
"hgtsfc",
"HIRESW",
"hspace",
"ICONEU",
"idxmax",
"imageio",
"imread",
"intc",
"interp",
"Interquartile",
"intp",
"ipywidgets",
"isbijective",
"isin",
"jsonpickle",
"jupyter",
"Karman",
"linalg",
"linestyle",
"linewidth",
"loadtxt",
"LSODA",
"lvhaack",
"Mandioca",
"mathutils",
"maxdepth",
"mbar",
"meshgrid",
"Metrum",
"mult",
"Mumma",
"NASADEM",
"NDAP",
"ndarray",
"NDRT",
"NETCDF",
"newlinestring",
"newmultigeometry",
"newpolygon",
"nfev",
"NOAA",
"NOAA's",
"noaaruc",
"num2pydate",
"outerboundaryis",
"planform",
"polystyle",
"powerseries",
"Projeto",
"prometheus",
"pytz",
"Rdot",
"referece",
"relativetoground",
"reynolds",
"ROABs",
"rocketpy",
"rstride",
"rtol",
"rucsoundings",
"rwork",
"savetxt",
"savgol",
"scilimits",
"searchsorted",
"seealso",
"simplekml",
"SIRGAS",
"somgl",
"Somigliana",
"SRTM",
"SRTMGL",
"subintervals",
"ticklabel",
"timezonefinder",
"tmpprs",
"toctree",
"trapz",
"TRHEDDS",
"triggerfunc",
"twinx",
"udot",
"ufunc",
"ugrdprs",
"USGS",
"uwyo",
"vectorize",
"vgrdprs",
"viridis",
"vmax",
"vmin",
"vonkarman",
"Weibull",
"windrose",
"wireframe",
"wspace",
"xlabel",
"xlim",
"xticks",
"ylabel",
"ylim",
"zdir",
"zlabel",
"zlim"
]
}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ 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)
- MNT: Refactor AeroSurfaces [#634](https://github.com/RocketPy-Team/RocketPy/pull/634)

### 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"]
Loading
Loading