OpenMDAO / Aviary

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

added a warning if a variable is not in meta_data nor in guess_names #298

Closed xjjiang closed 1 month ago

xjjiang commented 1 month ago

Summary

This is to respond to issue #56. If a user variable in csv file is not in meta_data nor in guess_names, then print a warning message. This variable is ignored.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

xjjiang commented 1 month ago

I replaced verbosity to settings:verbosity in utils/process_input_decks.py.

xjjiang commented 1 month ago

In Aviary, we set verbosity in two ways: one in .cvs file, it is settings:verbosity, the other is as a function attribute, it is verbosity. We should use the Settings.VERBOSITY everywhere and not the string itself. I will work on that later.