Replies: 1 comment 1 reply
-
Hi Pedro, This question is not directly linked to WW3 developer communities, however the computation of the first 5moments to obtain the wave spectrum can be done using the following MEM from Wang He. Notice that your a1,a2, b1, b2 coefficients are correctly computed. #the MEM method
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I’m trying to use the output of the first five moments to recreate the spectra on every valid grid point. I noticed that has been done some minor adjustments to the code (discussion in #103) and I’m still using the latest stable release (v6.07.1), so I’m not sure if my issues are due to that.
When I try to compute a spectrum from the coefficients and compare it against a 2D spectrum directly outputted from the model for the same grid point, I can see some very significant differences between the two versions, with the local peaks on different bins and with different energy values. The overall spectral shape is similar (we can detect the same partitions) but with different peak values (for direction).
I’m doing the following transformation to go from the first five moments to the a1,a2,b1 and b2 coefficients, that later I apply to the MEM:
I’m doing something wrong in this transformation?
I was expecting some differences between the two versions, but not to the extend I’m seeing.
Thank you
Pedro
Beta Was this translation helpful? Give feedback.
All reactions