Cambridge-ICCS / ONEFlux

Open Network-Enabled Flux processing pipeline
Other
0 stars 0 forks source link

Refactor launch file #34

Closed isaacaka closed 5 days ago

isaacaka commented 2 months ago

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

dorchard commented 2 months 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.

dorchard commented 1 month ago

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)