Sorry this has been such a slog, but I've now marked everything as reviewed. There are a few outstanding naming issues I'm struggling with which I have noted on the PR and the RFC. If you could give the other watchers a chance to weigh in, that would be great. As I've also noted, I'm willing to give in if I'm alone on an island on either issue! I'll leave this up to your discretion and you can then feel free to merge after a final Jenkins + ci_hsc run.
I also think it would be a good idea to run multiband and the pipe_analysis scripts on the RC2 tracts prior to the next official run so we can update the flag selections on the latter and make sure all looks as you would expect when we do so (we can do this post-merge, but I don't want any more surprises for Eric's next run that we could/should've avoided!).
Hi Lauren,
Would you mind reviewing this for me? This is the setPrimaryFlags ticket we talked about the other day. I refactored the task completely to use vectorized functions, per the discussion that followed this slack comment. I also factored out the different parts of the algorithm so that other code downstream (like pipe_analysis) that might not want to use isPrimary but may want to know about whether or not it is in a given tract, patch, or is a SimpleLeaf or ModelLeaf (per
RFC-750).Jenkins is building now, and I'll post a comment when it has successfully finished.
Thanks,
-Fred