Week 9 (09/11-09/15)

 

Cleaning up code "data-clipping-grating.ipynb" file

  • Worked on fixing the data-clipping-grating file to move functions that can be used across different files to the "helper_functions.ipynb"
  • Also cleaning up code because I am planning to do a code review with Ali, and then we are going to both check in with Eske to review our code together.
  • I realized that my code is super unreadable at times, like for instance, one of my variables was just called "s" for the atmospheric molecule I was trying to look at, and I took forever trying to figure out what it was actually representing.
  • I had many functions inside of one function, and then I tried moving those functions out of the large function, and now there are so many bugs, which is kind of hard to debug because now I realize that my code is not the best
  • Successfully debugged the "data-clipping-grating.ipynb" file, but I noticed that I repeat a lot of the steps that I have from my code are repeated with the code I use to find the independence of certain air molecules; will look into extrapolating out these functions to use across different codes
  • Also, I would like to work on creating a better error detecting system for tabulating what errors there are in the code from running which functions on what files


 

Copyright © 2024 The President and Fellows of Harvard College * Accessibility * Support * Request Access * Terms of Use