USEPA / EPA_MOVES_Model

Estimating emissions for mobile sources
Other
82 stars 23 forks source link

Improve how old MOVES log files are handled #52

Closed danielbizercox closed 2 years ago

danielbizercox commented 2 years ago

When the MOVES GUI is started by double-clicking the desktop icon or by running MOVESMaster.bat, if a log file existed from a previous run (moveslog.txt), it will be renamed to moveslog_old.txt and a new moveslog.txt will be started. If moveslog_old.txt already existed, it will be deleted.

This can cause problems when trying to look at log file contents for previous runs. A proposed solution is to maintain a moveslog.zip archive instead. Instead of renaming the previous run's moveslog.txt to moveslog_old.txt, it will be renamed with a timestamp and added to the archive. Users can clear out old runs from the archive or delete the archive entirely when and if they determine the logs are no longer needed.