Kopernik - Emir Tasan; Mert Bekirogullari; Taha Ucar; Teoman Kaman;: Difference between revisions

From CS486wiki
Jump to navigationJump to search
Content deleted Content added
No edit summary   (change visibility)
No edit summary   (change visibility)
Line 81: Line 81:
-Document script changes for future reference.
-Document script changes for future reference.
-Implement automizatiom for the receive_and_process.sh script to automatically do the job
-Implement automizatiom for the receive_and_process.sh script to automatically do the job

''<big><big>Week 5 10/21/2024</big></big>''
--------------------------------------------------------------------
'''Summary:'''
This week, we updated the satellite processing script (receive_and_process_satellite.sh) to dynamically fetch satellite data from the TLE file. We improved error handling, automated the retrieval of satellite frequencies, and fixed file path issues. The script now automatically processes captured WAV files and generates various satellite images using wxmap and wxtoimg tools. However, we encountered issues with wxtoimg and wxmap not functioning properly, despite the libraries being installed. Additionally, we faced permission issues when trying to install a GUI-related library due to password restrictions.

'''Accomplishments:'''

-Added dynamic satellite data retrieval from weather.tle.
-Automated frequency assignment for NOAA 15, 18, 19, and METEOR-M 2 satellites.
-Improved file handling by removing spaces from satellite names.
-Fixed paths for processing binaries (wxmap and wxtoimg).
-Improved error handling for missing data or failed file creation.
-Debugged signal capture and ensured correct image generation post-capture.
-Investigated issues with wxtoimg and wxmap not working properly, despite the libraries being installed.

'''To-Do:'''

-Resolve issues with wxtoimg and wxmap not functioning correctly after installation.
-Investigate the permission issue related to installing the GUI library (password required for installation).
-Replace the placeholder logic for pass information (get_pass_info) with actual pass calculation.
-Expand the satellite list to include more satellites if needed.
-Further test the script under different satellite pass conditions.
-Implement more robust logging for debugging and error tracking.

Revision as of 19:49, 21 October 2024

Week 1 09/10/2024



Summary: This week, our goal was to successfully access the Raspberry Pi and demonstrate specific tasks related to file management and system understanding.

Accomplishments:


  1. Group meeting has been done.


To-Do: Successfully logged into the Raspberry Pi, demonstrating the ability to establish a connection. Understood the process of connecting to the Raspberry Pi and related it to the instructional link provided. Identified the folders containing the 'pi' folder within the Raspberry Pi directory structure. Demonstrated the ability to copy and move files from 'root/home/pi' to the new system.

  1. New images will be viewed to see if the crontab issue has been resolved.


Week 2 09/12/2024



Summary: This week focused on advancing the Kopernik project, specifically tasks related to the "pi" folder. The group conducted a detailed meeting to discuss the week's objectives, primarily centering on working with the system scripts. The key activities included exploring the system to locate the "schedule_all.sh" script, attempting to execute it, and investigating the integration and access of "wp_bot_sav.py." Despite facing challenges with the script's execution, valuable progress was made in familiarizing with the system and identifying potential issues for further resolution.


Accomplishments:

  1. Group meeting has been done.

Conducted a group meeting to discuss the tasks for the week and to align on the approach for working with the scripts. Explored the system to locate the "pi" folder and attempted to find the "schedule_all.sh" script. Attempted to run the "schedule_all.sh" script to ensure proper execution. Investigated how to access "wp_bot_sav.py" as part of the tasks. Although initial attempts to run the script(schedule_all.sh and schedule_satellite.sh) were unsuccessful(no directory found error in both scripts), progress was made in understanding the system and identifying potential issues.

Found the no directory found issue in the scripts. It was because we put the pi folder into new system so in the script the directories should be fixed.


Week 3 09/20/2024



Summary:

   - Conducted research on Gpredict vs Predict, focusing on platform differences, user interfaces, and satellite tracking capabilities.
   - Tested using schedule_all.sh with Gpredict, noting that the GUI is required for certain operations when working over SSH.
   - Continued exploring Selenium for task automation and integration with other tools.

Accomplishments:

   - Completed detailed comparison research between Gpredict and Predict for satellite tracking needs.
   - Successfully executed schedule_all.sh with Gpredict, identified that GUI support is required for full functionality.

To-Do:

   - Investigate methods for running Gpredict via SSH with screen sharing to bypass GUI limitations.(optional)
   - Develop on wx2 image file processing scripts, focusing on optimizing file handling and data output. Get familirazed with the image processing scripts
   - Finalize Selenium automation scripts for further testing and integration in the upcoming week.

<be>

Week 4 10/14/2024


Summary:

-This week, we debugged and refined key scripts involved in automating the processing and uploading of satellite weather data. After testing, the receive_and_process_satellite.sh script successfully captured and processed satellite data, and updates were made to improve file management and web integration.

Accomplishments:

 Updated receive_and_process_satellite.sh: Optimized satellite data capture and image generation, ensuring wxtoimg functions correctly.
Refined dir_script.sh: Improved the execution of file cleanup, image prep, and data uploads by managing subprocesses efficiently.
Enhanced prep_web_images.py: Debugged the image replacement process and added file size checks to avoid processing incomplete files.
Modified remove_old_files.py: Ensured proper deletion of files older than 7 days with added error notifications.

Downloaded and got access to the new vnc tool: Got the permisson to access to the NOAA system for the new vnc tool VNC Viewer, got familirazed with the new vnc tool

To-Do:

-Continue testing for stability and performance.
-Optimize satellite data capture in receive_and_process_satellite.sh.
-Document script changes for future reference.
-Implement automizatiom for the receive_and_process.sh script to automatically do the job

Week 5 10/21/2024


Summary: This week, we updated the satellite processing script (receive_and_process_satellite.sh) to dynamically fetch satellite data from the TLE file. We improved error handling, automated the retrieval of satellite frequencies, and fixed file path issues. The script now automatically processes captured WAV files and generates various satellite images using wxmap and wxtoimg tools. However, we encountered issues with wxtoimg and wxmap not functioning properly, despite the libraries being installed. Additionally, we faced permission issues when trying to install a GUI-related library due to password restrictions.

Accomplishments:

-Added dynamic satellite data retrieval from weather.tle.
-Automated frequency assignment for NOAA 15, 18, 19, and METEOR-M 2 satellites.
-Improved file handling by removing spaces from satellite names.
-Fixed paths for processing binaries (wxmap and wxtoimg).
-Improved error handling for missing data or failed file creation.
-Debugged signal capture and ensured correct image generation post-capture.
-Investigated issues with wxtoimg and wxmap not working properly, despite the libraries being installed.

To-Do:

-Resolve issues with wxtoimg and wxmap not functioning correctly after installation.
-Investigate the permission issue related to installing the GUI library (password required for installation).
-Replace the placeholder logic for pass information (get_pass_info) with actual pass calculation.
-Expand the satellite list to include more satellites if needed.
-Further test the script under different satellite pass conditions.
-Implement more robust logging for debugging and error tracking.