Adds a trace in Stage 2 called badWD that finds the index values for when WD_1_1_1 was between 330 - 30 for Hogg, Young, and OHM. Then, I use those index values to set the associated turbulent flux values to NaN. I've run this locally and also compared what I get locally vs what is on the server. More gaps are created as expected.
Note, I didn't make this super flexible to take in a parameter for the tower orientation since we plan to use this for cleaning past data but will use EddyPro wind filtering moving forward.
Adds a trace in Stage 2 called badWD that finds the index values for when WD_1_1_1 was between 330 - 30 for Hogg, Young, and OHM. Then, I use those index values to set the associated turbulent flux values to NaN. I've run this locally and also compared what I get locally vs what is on the server. More gaps are created as expected.
Note, I didn't make this super flexible to take in a parameter for the tower orientation since we plan to use this for cleaning past data but will use EddyPro wind filtering moving forward.
LMK what you think!