OpenMDAO / Aviary

NASA's aircraft analysis, design, and optimization tool
https://openmdao.github.io/Aviary/
Other
144 stars 66 forks source link

Round outputs based on number of sig figs? #237

Open johnjasa opened 7 months ago

johnjasa commented 7 months ago

Desired capability or behavior.

Tom O., an Aviary user, suggested rounding (or having an option to round) the numbers outputted from Aviary. He doesn't care about the 15th digit and cares only maybe about the third digit, particularly because the input info might only go to a few sig figs.

@crecine suggested that we could use the round_it function that's already in Aviary in more places accordingly.

This is not a high priority task and might not even need to be accomplished. If we're able to smoothly allow users to choose to round results or not, that's probably a good idea. There are also a number of places where we output numbers from Aviary; should we offer options to run in all places? Thinking Aviary dashboard, mission reports, timeseries data, etc.

Is your feature request related to a problem? Please describe.

No response

Associated Bug Report

No response

johnjasa commented 7 months ago

Ken has helpful words here too: https://github.com/OpenMDAO/Aviary/pull/236#issuecomment-2070624783