meredithburke / python-river

A template software project for use in Intermediate Research Software Development Skills In Python course. Contact: @douglowe
https://carpentries-incubator.github.io/python-intermediate-development-earth-sciences/
MIT License
0 stars 0 forks source link

[5] File organization is a bit all over the place #41

Open qq23840 opened 6 months ago

qq23840 commented 6 months ago

Picture the scene. I'm just an innocent code developer trawling through this lovely repository I just found on my favorite website, GitHub.com. I come across a lovely file entitled models.py which has some unbelievably useful functions performing such wonderful tasks as daily_max, daily_mean etc. Where, I ask myself, is a daily_std function to calculate the daily standard deviation? My heart falls, and I retreat to the spacious confines of the Maldron hotel to cry myself to sleep. Little do I know that lurking in a parallel file, compute_data.py, such a function exists? So close but yet so far; think how much pain could have been saved had a sensible filing system be implemented. I hope the authors of this code feel shame as deep as the ocean.