Describe the bug:
The dolfyn.rotate2 function does not work with aquadopp data. I get a ValueError: Rotations are not defined for instrument 'nortek aquadopp'. The api.rotate2 function shows the same error.
It seems like this data should be able to be rotated similarly to the Nortek Signature.
To Reproduce:
- Read an aquadopp file
- Set the declination with dolfyn.set_declination
- Attempt to rotate the data
- See the error
Minimal working example:
I suspect that this will show up with any aquadopp test file. This aquadopp was set to profile.
Code run was:
from mhkit import dolfyn
from mhkit.dolfyn.adp import api
declination = -1.86
data_path = "" #insert a profiling aquadopp file here
ds = dolfyn.read(data_path)
dolfyn.set_declination(ds, declination, inplace=True)
api.rotate2(ds, "earth", inplace=True)
Expected behavior:
Expected the data to be rotated similarly to the signature instrument.
Desktop (please complete the following information):
- OS: Windows
- MHKiT Version: v1.1.2
Describe the bug:
The dolfyn.rotate2 function does not work with aquadopp data. I get a ValueError: Rotations are not defined for instrument 'nortek aquadopp'. The api.rotate2 function shows the same error.
It seems like this data should be able to be rotated similarly to the Nortek Signature.
To Reproduce:
Minimal working example:
I suspect that this will show up with any aquadopp test file. This aquadopp was set to profile.
Code run was:
Expected behavior:
Expected the data to be rotated similarly to the signature instrument.
Desktop (please complete the following information):