The pluto.log file is appended to, not overwritten, when restarting. The fact that the loader looks for units top-down in pluto.log can lead to wrong results.
Example:
- start a PLUTO simulation with a given configuration.
- moments later, realize that you forgot to change UNIT_LENGTH to 5.2 au instead of 1 au.
- kill simulation, edit UNIT_LENGTH to 5.2 au, recompile and restart.
- You now have an unusable directory because units are set on loader level and units['length'] will always be 1 au.
suggestion: either read PLUTO units bottom-up (last occurrence in the log file) or offer manual unit input during call to Data().
The pluto.log file is appended to, not overwritten, when restarting. The fact that the loader looks for units top-down in pluto.log can lead to wrong results.
Example:
suggestion: either read PLUTO units bottom-up (last occurrence in the log file) or offer manual unit input during call to Data().