Open lewismcnish opened 1 week ago
The actual code seems good, but organisation and protocol are lacking.
I will catch up in the meeting tomorrow and figure out how to proceed.
Yes this habit of shell commands in python notebooks is not good, and should just be done in venv, requirements.txt will be an issue, I Don't have wifi at home at the moment so struggling to get a lot done on this side will do more tonight Aberdeenshire.tif is in the teams channel, this needs included in Github LFS Not sure about index error, not looked at this this week
1) "Aberdeenshire.tif" does not exist. The file has been hardcoded. Why not use it as a parameter? 2) The line self._reset_state in init is incorrect. It should be self._reset_state(), as it’s a method call. 3) Index error in cloud mask notebook 4) Index error in Seg_models_test_for_Coast? (not sure if its happening just in my laptop but worth a check) 5) Index error in Seg_models_test_for_Coast_with_processing? (not sure if its happening just in my laptop but worth a check).
@2800957K Yep aware of this with the .tif file, needs resolved if it hasn't been already,
the index error in both seg notebooks is a varying issue, I have it only after having run the code once already, don't know if its a .ipynb artefact or bad code but if an issue for bug fix could be created for this that would be great.
self._reset_state can be fixed with issue, this is probably just an oversight (unfamiliarity with OOP)
Index error in cloud mask im unaware of, probably same cause as above, worth creating an issue and fixing
Thanks for the comments
Apologies for the delay, here were the issues I noticed (all stylistic, apart from the first one):
cloud-mask/cloud-mask.ipynb
compute_brightness
, should division be by 4, not 3, since there are 4 channels?create_cloud_mask
, these magic numbers should be extracted and put in a config file or similar.
Overview
All new members of the team to perform a comprehensive review of the current state of the software and identify any issues, bugs, quality of life improvements and potential feature enhancement/implementation capabilities. Add any comments directly onto GitHub and ping relevant team members to view these comments via teams/whatsapp/email If no changes can be made add a quick comment specifying this
Definition of Done
Resources
Check the Teams software chat for link to relevant documentation Have a look through the folder linked, includes general information and software data for use in algorithms