I tried running the code as follows but got an error in the method "wrap90deg" at "deg[mask] = np.abs((deg[mask] % 360 + 270) % 360 - 180) - 90" saying 'numpy.float64 object does not support assignment'. I made the inputs to "direct" as numpy arrays, but the same error.
direct(35.675729, 139.751136, 0.0,1000.0)
I tried running the code as follows but got an error in the method "wrap90deg" at "deg[mask] = np.abs((deg[mask] % 360 + 270) % 360 - 180) - 90" saying 'numpy.float64 object does not support assignment'. I made the inputs to "direct" as numpy arrays, but the same error.
direct(35.675729, 139.751136, 0.0,1000.0)