CroatianMeteorNetwork / RMS

RPi Meteor Station
https://globalmeteornetwork.org/
GNU General Public License v3.0
169 stars 47 forks source link

Reprocess script does not write to Station folder in multicam setup when config is not specified #255

Open timbot18 opened 5 months ago

timbot18 commented 5 months ago

When running the reprocess script, if the config file is not explicitly defined, the reprocessed files are placed in the main RMS_data/ArchivedFiles, rather than in the RMS_data/stationNumber/ArchivedFiles folder. It should be using the .config file in the specified folder, even when the --config option is not used.

Example:

python3 -m RMS.Reprocess /home/rms/RMS_data/stationnumber/CapturedFiles/capture-folder #places the reprocessed files in the RMS_data/ArchivedFiles folder

python3 -m RMS.Reprocess /home/rms/RMS_data/stationnumber/CapturedFiles/capture-folder --config /path/to-config #placed the reprocessed files in the RMS_data/stationNumber/ArchivedFiles folder