Aviary icon indicating copy to clipboard operation
Aviary copied to clipboard

Round outputs based on number of sig figs?

Open johnjasa opened this issue 1 year ago • 1 comments

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 avatar Apr 15 '24 19:04 johnjasa

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

johnjasa avatar Apr 22 '24 19:04 johnjasa