Articles on swsrkty's Bloghttps://blogs.python-gsoc.orgUpdates on different articles published on swsrkty's BlogenTue, 15 Nov 2022 11:27:44 +0000Blog #22https://blogs.python-gsoc.org/en/swsrktys-blog/blog-22/<p style=""><span style="">Hello!</span></p> <p style=""><span style="">I’m really excited as this is my last week of coding for this program although I'm going to miss writing my blogs. As I write this now, I feel overwhelmed and happy to look back on the wonderful journey. Getting on to what I did the previous week, I completed building the CLI tool, wrote the documentation and a few tests. I was stuck for a while during the local build but my mentors helped me with that. I’m currently writing the GSoC final evaluation report and also trying the local build to check if everything works fine. In the coming weeks, you won’t see any weekly blogs from my side but I’ll continue contributing to MSS and work on the stretch goals. All said and done, I want to thank</span><a href="https://summerofcode.withgoogle.com/" style=""><span style=""> </span></a><span style="">Google, Python Software Foundation, my awesome mentors, my friend Anand and family for all the support. This journey wouldn’t have been successful without you all!</span></p> <p style=""><span style="">: )</span></p>sreelakshmipj555@gmail.com (swsrkty)Tue, 15 Nov 2022 11:27:44 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-22/Weekly Check-In #21https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-21/<p style=""><span style="">Hii,</span></p> <p style=""><span style="">What did you do this week?</span></p> <p style=""><span style="">This week I tried to fix the errors in refactoring and I asked my mentors for help. They helped me and I was able to fix them. I’m currently working on the CLI tool to read settings from a json file. I’m also excited and nervous at the same time as my final evaluation is next week.</span></p> <p style=""><span style="">What is coming up next?</span></p> <p style=""><span style="">In the coming week, I’ll be working on testing the CLI tool and also writing documentation for it.</span></p> <p style=""><span style="">Did you get stuck anywhere?</span></p> <p style=""><span style="">No, I didn’t get stuck anywhere.</span></p> <p style=""><span style="">: )</span></p>sreelakshmipj555@gmail.com (swsrkty)Thu, 10 Nov 2022 03:12:04 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-21/Blog #20https://blogs.python-gsoc.org/en/swsrktys-blog/blog-20/<p style=""><span style="">Hii</span><span style="">,</span></p> <p style=""><span style="">In the past week I received a review on my PR on refactorisation. I’m working on fixing those issues. We also had a meet where I clarified my doubts regarding the CLI tool. I wasn’t well towards the end of the week due to which I couldn’t work much. I’m better now and I’ll continue with fixing the errors in the refactoring. In the coming week after fixing the errors, I’ll continue my work on the CLI Tool.</span></p> <p style=""><span style="">: )</span></p>sreelakshmipj555@gmail.com (swsrkty)Mon, 31 Oct 2022 14:34:09 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-20/Weekly Check-In #19https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-19/<p style=""><span style="">Hii,</span></p> <p style=""><span style="">What did you do this week?</span></p> <p style=""><span style="">This week I worked on refactoring and testing of the top, side and linear views. I completed most of it and have asked my mentor for a review. One issue I faced was the labels weren’t getting plotted while testing in the plot module. I have asked a doubt regarding that to my mentor. I also started working on the CLI tool and I completed a prototype tool using Click.</span></p> <p style=""><span style="">What is coming up next?</span></p> <p style=""><span style="">In the coming week I’ll be working on building the CLI tool to address the 2 use cases mentioned in my proposal.</span></p> <p style=""><span style="">Did you get stuck anywhere?</span></p> <p style=""><span style="">No, I didn’t get stuck anywhere.</span></p> <p style=""><span style="">: )</span></p>sreelakshmipj555@gmail.com (swsrkty)Wed, 26 Oct 2022 10:16:27 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-19/Blog#18https://blogs.python-gsoc.org/en/swsrktys-blog/blog-18/<p>Hii<b>,</b></p> <p> </p> <p>In the past week I worked on testing the interactor classes. As I worked on it, I realised more changes need to be done in the refactoring process. So currently I'm doing the refactoring and also testing at the same time.I got stuck for a while in the process while I was not getting the path and labels plotted. My mentors have given me some comments on the same and I'm working on it now. I also got some time to read the documentation of Click, which is the library I'm using to build the CLI tool. I hope to complete the refactoring and testing within a few days and continue with building the CLI tool.</p> <p> </p> <p>: )</p>sreelakshmipj555@gmail.com (swsrkty)Wed, 19 Oct 2022 07:28:41 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-18/Weekly Check-In #17https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-17/<p style=""><span style="">Hii,</span></p> <p style=""><span style="">What did you do this week?</span></p> <p style=""><span style="">This week I worked on refactoring the side view and linear view. I completed the work for linear view but I was facing some issues with the side view. I asked for help from my mentors and they helped me fix it. Now I’m working on testing of the Interactor classes</span></p> <p style=""><span style="">What is coming up next?</span></p> <p style=""><span style="">In the coming week I’ll be working to complete the testing and also start working on CLI tool.</span></p> <p style=""><span style="">Did you get stuck anywhere?</span></p> <p style=""><span style="">No, I didn’t get stuck anywhere.</span></p> <p style=""><span style="">: )</span></p>sreelakshmipj555@gmail.com (swsrkty)Fri, 14 Oct 2022 16:25:56 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-17/Blog #16https://blogs.python-gsoc.org/en/swsrktys-blog/blog-16/<p>Hii,</p> <p>In the past week I worked on refactoring Top view in Interactor class. I got stuck for a while because I wasn’t able to correctly split the classes. I asked help from my mentors and they helped me with a draft PR where they refactored the Top View. I’m currently continuing the work on Side view. I hope to finish Side and linear view in the coming week. My mentors also gave me the opportunity to attend a flight planning meeting, which I found interesting. I also started to learn about building a CLI tool as it is the upcoming task.</p> <p>: )</p>sreelakshmipj555@gmail.com (swsrkty)Thu, 06 Oct 2022 04:11:45 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-16/Weekly Check-In #15https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-15/<p style=""><span style="">Hii,</span></p> <p style=""> </p> <p style=""><span style="">What did you do this week?</span></p> <p style=""><span style="">This week I worked on refactoring the Interactor classes. I started with refactoring the HPathInteractor which deals with the plotting of the path of the flight track in Top View. As I had my practical exams in my college, I couldn’t work much on the project.</span></p> <p style=""> </p> <p style=""><span style="">What is coming up next?</span></p> <p style=""><span style="">In the coming week I’ll be working to complete the refactoring of the Top view in the Interactor class.</span></p> <p style=""> </p> <p style=""><span style="">Did you get stuck anywhere?</span></p> <p style=""><span style="">No, I didn’t get stuck anywhere.</span></p> <p style=""><span style="">: )</span></p>sreelakshmipj555@gmail.com (swsrkty)Wed, 28 Sep 2022 11:20:17 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-15/Blog #14https://blogs.python-gsoc.org/en/swsrktys-blog/blog-14/<p>Hii,</p> <p>In the past week I worked on testing the new classes in the plot module. I came across a couple of issues and my mentors helped me with all of them. I also had a meeting with them where we talked about the upcoming plans. I continued working on the testing and finished top, side and linear views. After that I fixed some failing tests. I noticed that some unrelated tests were failing and I asked my mentors about that. They helped me with that and I pushed all the commits. After review from my mentors, the PR got merged. In the coming week, I’m going to work on refactoring the Interactor module. I hope to finish refactoring of top and side views this week. I didn’t get stuck anywhere while working this week.</p> <p>: )</p> <p> </p>sreelakshmipj555@gmail.com (swsrkty)Wed, 21 Sep 2022 05:00:26 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-14/Weekly Check-In #13https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-13-5/<p>Hii,</p> <p>What did you do this week?<br> This week I had my mid-term evaluations. I answered the questions on my evaluations and continued working on testing Top view in the plot module. On Sept 10 morning, I got an email saying I passed my evaluations. I was really happy and I also read my mentor's feedback. We had a meeting on Thursday where we discussed the upcoming plans. My mentor Joern scheduled a meet with me on Monday to clarify doubts and to discuss about refactoring the Interactor classes. I also had a doubt regarding the testing of Top view, which I asked during the meet today. Joern helped me by telling his suggestions on slack. I’m currently looking into the comments and trying to make it work.</p> <p>What is coming up next?<br> In the coming week I’ll complete testing for Top, Side and Linear views.</p> <p>Did you get stuck anywhere?<br> No, I didn’t get stuck anywhere.</p> <p>: )</p> <p> </p>sreelakshmipj555@gmail.com (swsrkty)Mon, 12 Sep 2022 17:15:12 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-13-5/Blog #12https://blogs.python-gsoc.org/en/swsrktys-blog/blog-12/<p>Hii,</p> <p>This week I worked on refactoring of top, side and linear views. I completed refactoring Top view and pushed a commit for the same. My mentors reviewed it and I got some feedback. I incorporated their feedback and I started working on the side view and linear view. Plotting in side view was having some issues and I asked some doubts to my mentors regarding that. I got the answers and I’m currently working on it. As I don't have any classes in my college due to Onam vacation, I’m able to work on my project full-time and communicate frequently with my mentors. In the coming week, I’ll be working on testing all the Plotting classes in the plot module and also I will start with refactoring plotting of the flight paths in all views as well. I also see that some tests are failing in my PR. I had a look into it and will fix it at the earliest. While working, I got stuck for a while because the local testing wasn’t working well on my PC and I had to install MSS again to make it work. My mid- evaluations are happening this week so I’m excited about it and I also hope to finish refactoring of the Interactor classes before evaluation.</p> <p>: )</p>sreelakshmipj555@gmail.com (swsrkty)Wed, 07 Sep 2022 07:22:24 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-12/Weekly Check-In #11https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-11-15/<p>Hii,</p> <p>What did you do this week?<br> This week I didn’t work much as I had my university exams. After the exam, I continued with refactoring Top view.</p> <p>What is coming up next?<br> In the coming week, I'll be working on refactoring Top, Side and Linear Views so that Plotting functionalities is separated from Qt functionalities.</p> <p>Did you get stuck anywhere?<br> No, I didn’t get stuck anywhere.</p> <p>: )</p> <p> </p>sreelakshmipj555@gmail.com (swsrkty)Tue, 30 Aug 2022 14:04:31 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-11-15/Blog #10https://blogs.python-gsoc.org/en/swsrktys-blog/blog-10/<p>Hello!</p> <p>This week I pushed a commit for my module and asked for feedback from my mentors. They gave me detailed feedback where they explained why some more refactoring needs to be done and also suggested ways to do it. I also asked some follow up questions to clarify all my doubts. After spending some time on understanding the feedback, I got started with implementing the solution. I began with Refactoring Top view, which isn’t over yet. I didn’t get stuck anywhere as I’m familiar with lost of the code there. As I have my University exams this week, I informed my mentors that I won’t be able to work much on the project. I’ll continue my work on Top view next week. Once it works well I will also do the refactoring for the side and linear views.</p> <p>: )</p>sreelakshmipj555@gmail.com (swsrkty)Tue, 23 Aug 2022 05:47:37 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-10/Weekly Check-In #9https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-9-21/<p>Hii,</p> <p>What did you do this week?</p> <p>This week I worked on the module. I created a module in which the associated functionalities are grouped together as classes. A base class is created which has the common functionalities for all the views. The subclases contain methods specific for their function.</p> <p>What is coming up next?</p> <p>In the coming week, I'll be working on reusing this module in various parts of the MSUI codebase in order to avoid repetitive code.</p> <p>Did you get stuck anywhere?</p> <p>No, I didn’t get stuck anywhere.</p> <p>: )</p> <p> </p>sreelakshmipj555@gmail.com (swsrkty)Tue, 16 Aug 2022 08:08:55 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-9-21/Blog #8https://blogs.python-gsoc.org/en/swsrktys-blog/blog-8/<p>Hi,<br>  <br> This week I worked on plotting linear views. It was more challenging than refactoring top and side views as there was no prototype script available. My mentors gave me some idea about linear views and how it is different from the top and side views. It helped with the understanding of the same and I also took inspiration from the top and side view scripts too. While working on linear view, I got stuck for a while in a part where the script gets xml files from the server and in plotting the data. The former was a silly mistake which a friend of mine made me realise and I figured out the second one after using a debugger and spending some time to understand the methods being called.</p> <p>After completing the linear view, I pushed the commits and asked my mentors for feedback. They found it good . In the coming week, I’ll be working on creating a module in which the top, side and linear views would be structured into classes and its associated methods.</p> <p><br> : )</p> <p> </p>sreelakshmipj555@gmail.com (swsrkty)Wed, 10 Aug 2022 16:51:49 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-8/Weekly Check-In #7https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-7-24/<p>Hii,<br>  <br> <strong>What did you do this week?</strong></p> <p>This week I completed creating plots of Side view and started with Linear view. As I don’t have a prototype available, I made use of debugger to understand the methods being called while using Linear view in the MSUI. Most of the time was spent on understanding the differences and similarities of Linear plots from the other ones. My mentors  helped me by clearing all of my doubts during a meet. I’m currently working on the part where the script sends a request to WMS to get an XML document.</p> <p><strong>What is coming up next?</strong></p> <p>In the coming week, I'll be working on the other parts of linear view.</p> <p><strong>Did you get stuck anywhere?</strong></p> <p>Yep, I’m stuck at the part where the layers are used to send a request to the WMS server.</p> <p>: )</p> <p> </p>sreelakshmipj555@gmail.com (swsrkty)Mon, 01 Aug 2022 12:50:21 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-7-24/Blog #6https://blogs.python-gsoc.org/en/swsrktys-blog/blog-6-1/<p>Hii,</p> <p>This week I had exams so I wasn’t able to work much on the project. After my exams, I continued working on the side view part. I refactored the code using the ‘getmap()’ method which is used to get layers plot from the WMS server. In the coming week I will be working on the ‘plotting paths and labels’ and ‘setup ticks and labels’ parts. I didn’t get much stuck while refactoring using ‘getmap()’ because I’ve done it similarly for the top view.</p> <p>: )</p>sreelakshmipj555@gmail.com (swsrkty)Tue, 26 Jul 2022 05:04:43 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-6-1/Weekly Check-In #5https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-5-24/<p>Hii,</p> <p><strong>What did you do this week?</strong></p> <p>I worked on refactoring the sideview part of retriever.py and understanding how MSUI generates sideview plots. I looked into my mentors’ comments which gave me a good idea. I had some doubts which my mentors cleared during a meet.</p> <p><strong>What is coming up next?</strong></p> <p>I have my exams this week so I won't be able to work on my project.</p> <p><strong>Did you get stuck anywhere?</strong></p> <p>Yep, I’m stuck at the part where the script gets a map from a WMS server. I’ll continue looking into it on Saturday, after my exams.</p> <p>: )</p>sreelakshmipj555@gmail.com (swsrkty)Mon, 18 Jul 2022 17:18:06 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-5-24/Blog #4https://blogs.python-gsoc.org/en/swsrktys-blog/blog-4-1/<p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">Hii,</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">This week I continued working on plotting paths. I understood the ‘redraw_path’ function which does the plotting in the MSUI and tried to implement it in the ‘retriever.py’ script. I didn’t get the expected results at first. I had a meeting with my mentors where they helped me understand my mistakes. I made the changes and I was able to get the plotting of the paths correctly.</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">After that I looked into plotting labels for which I referred to the same function from the PathInteractor class and I got the labels plotted onto the MapCanvas. Understanding ‘matplotlib’ concepts is something that I struggled with last week. My mentor shared a tutorial blog with me which has been helpful.</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">As I’ve finished refactoring most of the parts of the horizontal view, I’m moving on to implementing the functionalities for vertical sections (side view).</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">: )</p>sreelakshmipj555@gmail.com (swsrkty)Tue, 12 Jul 2022 12:35:12 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-4-1/Weekly Check-In #3https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-3-28/<p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">Hii,</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"><strong>What did you do this week?</strong></p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">I worked on plotting paths and labels and I found a quick approach by using the existing MSS functionalities. I discussed it with my mentors and they made me realise that this approach wasn't right since the classes I used involve a Qt object. As the module I’m building should be used by both the CLI tool and the GUI, Qt objects should not be involved.</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"><strong>What is coming up next?</strong></p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">I'm working on finding the necessary parts of the HPathInteracter class required for plotting paths to create a new class and functions.</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"><strong>Did you get stuck anywhere?</strong></p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">No, but sometimes I take quite a lot of time to resolve the bugs which come up during experimenting.</p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;"> </p> <p style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;">: )</p>sreelakshmipj555@gmail.com (swsrkty)Wed, 06 Jul 2022 16:51:27 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-3-28/Blog #2https://blogs.python-gsoc.org/en/swsrktys-blog/blog-2-2/<p>Hi!</p> <p>My project is to help MSS users automate their atmospheric research flight planning. I aim to build a module to let users download a number of plots in Jupyter notebooks and user scripts in an automated fashion according to the given settings. A CLI tool would also be provided for the same. A hacky, prototype script (retriever.py) already exists which creates plots without involving the MSUI. I'm currently working on understanding and refactoring retriever.py using MSS functions so that I can get started with building the module.</p> <p>This week I worked on refactoring a part of retriever.py responsible for sending a request to the WMS and getting the plot by using MSS functionalities. First, I used a debugger to find all the functions being called while creating a top view plot using the MSUI. I found the function getmap() to get the plot from WMS and used it in retriever.py. I opened a PR for the same, which my mentors reviewed and gave comments.</p> <p>Afterwards I looked into the "plotting paths and labels" part. I wasn't able to find the corresponding MSS functions. Me and my mentors had a meet where we discussed the PR and what to be done next. Joern gave some comments on my PR to help me with finding the MSS functions related to "plotting paths and labels". As retriever.py would need to access parts of functions located in different places, I need to refactor the MSS functions first. I aim to use the existing MSS functionalities to the fullest while keeping keep an eye on the tests. The main thing I struggle with is understanding the large codebase since my project involves understanding and refactoring different parts of MSS. Using debug statements and getting comments from my mentors really help.</p> <p>This week, I'll be looking into the comments on my PR and continue refactoring retriever.py.</p>sreelakshmipj555@gmail.com (swsrkty)Tue, 28 Jun 2022 17:30:14 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/blog-2-2/Weekly Check-In #1https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-1-22/<p>Hii,</p> <p>I'm Sreelakshmi Jayarajan, a second year IT undergraduate student at GEC Palakkad. I'm working on a project for automating atmospheric research flight planning at Mission Support System.</p> <p><strong>What did you do this week?</strong></p> <p>I wasn't well most of the week, but I spent some time tinkering with different parts of retriever.py and also continued understanding the flow of MSUI using a debugger.</p> <p><strong>What is coming up next?</strong></p> <p>I'm going to start refactoring the "top view" part of retriever.py to use MSS functionalities.</p> <p><strong>Did you get stuck anywhere?</strong></p> <p>Yep. Although I was able to update and run retriever.py, I wasn't able to make it produce proper plots. Joern helped me with providing an updated version of retriever.py with MSS data, which worked.</p> <p>I’m really excited to learn more and keep contributing to MSS! Thanks to my mentors, the MSS community, Python Software Foundation and Google for this opportunity!</p> <p>: )</p>sreelakshmipj555@gmail.com (swsrkty)Tue, 21 Jun 2022 13:46:50 +0000https://blogs.python-gsoc.org/en/swsrktys-blog/weekly-check-in-1-22/