Kopernik - Cagkan Demir, Ilke Bayer

From CS486wiki
Revision as of 18:14, 13 March 2023 by Seniorproject (talk | contribs) (added week 7)
Jump to navigationJump to search

Week 1

Date: 01/30/2023

Attendance: Andrew Deskur, Cagkan Demir, Ilke Bayar, Prof. Merwyn Jones


Accomplishments:

- We had our first meeting of the new semester with Drew and Prof. Jones. We looked over on what we did last semester and discussed our goals for this semester.
- Moreover, we got our first tasks of this semester. Prof. Jones stated that we have to simplify our source code and also train ourselves for FTP (File Transfer Protocol).
- We started of this week’s project by simplifying our code. We had 3 separate functions of each satellite; we successfully made these 3 functions into one. Also, we added command lines on the top each function about what the function does.
- Furthermore, we moved on to the second task of this week. We trained ourselves about what FTP does and how can we use it on our project. After we learned about FTP, we got into a conclusion that FTP is not necessary and not helpful for our project.

Problems:

- We believe that File Transfer Protocol should not be implemented to our project. Because of its major disadvantages, implementing FTP will be unhelpful and unnecessary to our project because of the reasons listed below:
- Even though we can add and delete files with the FTP, we cannot sort them in the folder.
- We believe that captions are one of the most important parts of our website because of the information that shares to our viewers. Since we are operating on Linux, as you know, we cannot change (or even view) the captions on the OS, and we do it on the Nextgen Gallery. If we implement the FTP to our project, we will be unable to change the captions as we wish. 

To-Do:

- We will discuss the details with Drew and Prof. Jones about the prospective implementation of the File Transfer Protocol.

Week 2

Date: 02/06/2023

Attendance: Andrew Deskur, Cagkan Demir, Ilke Bayar, Prof. Merwyn Jones


Accomplishments:

- In the last meeting, we settled our new goals for this week. Even though we simplified and added command lines last week, Prof. Jones stated that the source code can be much clearer to understand, and he asked us to add more command lines. Furthermore, as for a new task, he asked us to find a way to change or view the picture descriptions on Linux.
- We started of this week’s project by changing variable names that are the same but have different uses and we changed them to eliminate confusion. Furthermore, we added even more command lines with clear descriptions.
- Then, we moved on to the second task of this week. We looked upon how to view the captions on our OS, Linux. We found out that the captions/descriptions are called “metadata” which we think we can build a function to view the “metadata” on our source code.

Problems:

- All NOAA18 files that got into our system on Feb 5 3PM are broken and they are all same.

To-Do:

- For the next week, we are going to develop a function to view the captions on Linux.

Week 3

Date: 02/13/2023

Attendance: Andrew Deskur, Cagkan Demir, Ilke Bayar, Prof. Merwyn Jones


Accomplishments:

- In the last meeting, we discussed our accomplishments of the past week. We let Prof. Jones and Drew know that the redesigning project of our source code is now complete. We showed them the updated variable names, the new command lines and getting rid of the excess empty lines. It all got approved by all of the team.
- For this week, we assigned for a new project, which is developing a function to read and write the metadata of the satellite images. As you know, we are currently reading and editing the metadata from the NextGen Gallery but we are planning to make these changes on Raspberry Pi to make it more convenient.
- We worked on how to read and edit the Metadata of the satellite images from the Raspberry Pi and we decided to write a Python function for that. After making some research and some trial and error, we managed to reach the metadata with our Python code.

Problems:

- Even though we have no problems at all on reading the metadata, we are getting “TypeError: 'iTXt' object does not support item assignment” error when we try to change the metadata. As you know, we need to change the metadata to get the desired captions of the satellite images on the website.

To-Do:

- For the next week, we are going to try the fix the “TypeError: 'iTXt' object does not support item assignment” error which we get when we try to edit the metadata to reach desired captions of the satellite images on the website.

Week 4

Date: 02/20/2023

Attendance: Andrew Deskur, Cagkan Demir, Ilke Bayar, Prof. Merwyn Jones


Accomplishments:

- In the last meeting, we talked about how is our project doing with the new features. We informed Prof. Jones and Drew that even though we can read the metadata with the function we wrote on Python, we get errors when we try to edit the metadata. After we informed the team, Prof. Jones told us to work on to fix the error and work on build a function about FTP transfer.
- After Prof. Jones assigned our weekly work, we started fixing and building our new functions. First, we made the necessary edits to our Metadata Read/Write function and managed to fix the error code. Then, we started building on projected File Transfer Protocol implementation. Even though it is not ready to implement it yet, we built the code infrastructure to work on next week.

Problems:

- Even though now we can write on the metadata of the satellite images, now we have problems on saving those edits. For example, we made all those edits based on Drew’s suggestion but after the code ran based on the next satellite pass, all the edits we made is gone away.

To-Do:

- For the next week, we are going to work on our FTP function and improve it so we can add this implementation to our source code.
- Furthermore, we are going to work on saving those metadata edits so they do not go away after each satellite pass.

Week 5

Date: 02/27/2023

Attendance: Andrew Deskur, Cagkan Demir, Ilke Bayar, Prof. Merwyn Jones


Accomplishments:

- In the last meeting, we talked about how our project is doing about new implementations. We informed Prof. Jones and Drew about the problems we are having on Metadata edit function, even though we can make all those suggested edits, we could not save it afterwards. Furthermore, we talked about our FTP implementation function, and we sent the code of it to Prof. Jones. We have been asked to fix the metadata edit function and improve the FTP implementation function.
- After we get those suggestions, we started our weekly work. First, we worked on the metadata edit function. We had problems for saving those edits, so we started to try different approach. We tried overwriting or saving it as a new file. With those approaches, while we can save most of the metadata like file name and size, we are still could not figure out saving the caption.  Then, we checked out the validity of our File Transfer Protocol function. We are currently working on that, but it is still far away from a complete function.

Problems:

- While we can save most of the metadata like file size, file name etc., we cannot save the caption metadata.

To-Do:

- We are going to work on about FTP function and discuss how we can implement it.
- Also, we will keep working on the metadata edit function to find out a way for saving the whole metadata after we complete the suggested edits.

Week 6

Date: 03/06/2023

Attendance: Andrew Deskur, Cagkan Demir, Ilke Bayar, Prof. Merwyn Jones


Accomplishments:

- In the last meeting, we talked about how our project is doing about new implementations. We informed Prof. Jones and Drew what are we trying to accomplish to fix the errors and implement the File Transfer Protocol. Furthermore, we talked about our FTP implementation function, and our trials and errors about editing the metadata.
- After we get those suggestions, we started our weekly work. First, we worked on the metadata edit function. Even though we were almost complete with metadata editing, we still had problems saving the caption metadata after we made suggested edits. After a couple of trial and errors, we finally fixed the problem by saving them as keys of the metadata and now this function is ready to use upon FTP.
- Then, as you know last week, we brainstormed about how we can improve our File Transfer Protocol. This week we focused on editing the current function and adding more into it to make it closer for an actual implementation as Prof. Jones suggested.

Problems:

- On March of 3rd, Drew let the team know that the issues he found on some archives. To be exact, after he rebooted the RPi on March 2, there are no images that updated to the archive on all 3 satellites.
- Even though we made some improvements, we could not implement the File Transfer Protocol to our source code.

To-Do:

- We are going to discuss the archive update problems that happened after Drew rebooted the system on March 2.
- Also, we will work together to implement the File Transfer Protocol to our source code.

Week 7

Date: 03/13/2023

Attendance: Andrew Deskur, Cagkan Demir, Ilke Bayar, Prof. Merwyn Jones


Accomplishments:

- During our last team meeting, we reported that we had successfully fixed all of the errors in the metadata read/write function and that it was now ready for implementation upon File Transfer Protocol. We also shared information about the new File Transfer Protocol function. Following that, we received our task for this week, which is finalizing the FTP function.
- After we got our new task for this week, we began by analysing our current FTP implementation function and identified areas that required improvement. We revised our approach to the image sending function and implemented a for loop to send images to the website. Additionally, we added a file removal function to delete expired images (older than 7 days).

Problems:

- We did not encounter any problems.

To-Do:

- We will discuss with the team about our FTP implementation function.