-
Notifications
You must be signed in to change notification settings - Fork 70
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
Update inconsistent naming for angle of attack #647
base: main
Are you sure you want to change the base?
Conversation
…he variable now stored in the variable meta data.
aviary/models/N3CC/N3CC_data.py
Outdated
@@ -1606,7 +1606,7 @@ def _split_aviary_values(aviary_values, slicing): | |||
landing_fullstop_initial_guesses.set_val('velocity', [135., 0.01], 'kn') | |||
landing_fullstop_initial_guesses.set_val('mass', detailed_landing_mass, 'lbm') | |||
landing_fullstop_initial_guesses.set_val('throttle', 0.) | |||
landing_fullstop_initial_guesses.set_val('angle_of_attack', 0., 'deg') | |||
landing_fullstop_initial_guesses.set_val(Dynamic.Vehicle.ANGLE_OF_ATTACK, 0., 'deg') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you did a global search and replace, which is a good way to do this. For this N3CC data file though, it looks like we haven't updated any of the other dynamic variables (velocity, mass, etc.).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving. Mostly good, though there is room for a little more cleanup in the N3cc data file. ALso, some PEP issues to clean up.
Summary
This PR will pull in Task152 branch from the nathanperreau/Aviary forked repository. The branch focuses on modifying 'angle_of_attack' strings that exist in various files through the Aviary directory. They are being replaced with a standardized variable stored in the meta data.
Related Issues
Backwards incompatibilities
None
New Dependencies
None