I've had a couple of emails from the PIs about our wind directions. I found (and hopefully just corrected) a bunch of things, using data from the magnetic boom angle shoots:
- Entered Vazimuth into csat.dat for all sites. This is used in R by dat.Vazimuth to generate dat("dir") (that the PIs probably never saw, since we don't plot this or use it in qctables).
- Corrected dat.Vazimuth to actually return these angles!
- Entered Vazimuth - 180, which should be the correct angle for the 2D Gill sonics into the dir_gillwo... cal_files. This is used by NIDAS (and thus statsproc) to generate dat("Dir") in the NetCDF files and used in the weather plots.
- Restarted both statsproc processes to pick up the change to the 2D sonics.
Hopefully, things will look better now!
P.S., everything had to be revisited!!
- For CSATs, Vazimuth is "the direction relative to true north, straight into the array from the un-obstructed direction, minus 90 degrees.", so nominally 45 degrees for this project.
- dat.Vazimuth still needed work. Now it functions correctly. Don't know how it got so far wrong.
- Found that the 2D sonic at s4 was mounted on the opposite side of the mast, so had to add 180 to its dir_gillwo... offset
- Restarted statsproc yet again