For Nortek Vector instruments, amplitude and correlation are quantities related to the beams and do not depend on the measurement coordinate system. In DOLfYN, however, the dir coordinate of amp and corr is that of the deployment, instead of beam. Additionally, since these variables use the dir coordinate, the coordinates change after rotating. The values themselves do not change (since they are not in the rotate_vars attr), but their coordinates do, which is unexpected and I believe incorrect behavior.
I think the solution here is always to map amp and corr to beam coordinates and not the dir coordinate. I'm not yet familiar enough with the code to propose a PR, but happy to help if I can.
For Nortek Vector instruments, amplitude and correlation are quantities related to the beams and do not depend on the measurement coordinate system. In DOLfYN, however, the
dir
coordinate ofamp
andcorr
is that of the deployment, instead of beam. Additionally, since these variables use thedir
coordinate, the coordinates change after rotating. The values themselves do not change (since they are not in therotate_vars
attr), but their coordinates do, which is unexpected and I believe incorrect behavior.I think the solution here is always to map
amp
andcorr
to beam coordinates and not thedir
coordinate. I'm not yet familiar enough with the code to propose a PR, but happy to help if I can.