Hi!
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.
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.
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.
This week, I'll be looking into the comments on my PR and continue refactoring retriever.py.