Closed isaacaka closed 5 days ago
We decided to build on this PR with the rest of the refactoring and testing. @isaacaka to add a checklist of the items in the PR first post.
As discussed, for multi-dimensional data we can use the JSON encoding technique as used here: https://github.com/Cambridge-ICCS/ONEFlux/blob/29-generate-unit-tests-for-cpdbootstrap/oneflux_steps/ustar_cp_refactor_wip/cpdBootstrapUStarTh4Season20100901.m#L147-L150 (since the matlab_engine for Python doesn't let us pass nested data structures)
First pass on refactoring launch.m. Split the single big main function into multiple sub-functions which are then called by the main function.
Closes #26