New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVD did not converge #32
Comments
I cannot say that I exactly know what's happening, but very often the warning you get So one way of dealing with this would be to remove these grid points prior to your analysis, e.g. by the following command: epsilon = 1e-5
is_valid_gridpoint = sic.stack(x=('lat', 'lon')).std('time') > epsilon
sic = sic.stack(x=('lat', 'lon')).sel(x=is_valid_gridpoint).unstack()
# now use sic for your analysis... This finds all grid points with a standard deviation below a certain threshold That being said in the case of sic it may be better to work with non-normalized data. Since sic has many grid points which barely deviate from 0 or 1 (think about the center of the Arctic, or some very low latitude sea surface), dividing by the standard deviation may artificially blow up these time series. |
That's an easy one ;-) Although you loaded the module for pca = xMCA(sic_detrended) use pca = MCA(sic_detrended) The |
Hi Niclas,
The XMCA worked fine when I used it directly on my raw data.
As it produced results of what I was expecting.
However, I tried to use processed data (like anomalies and detrend)
it gives the following error - SVG didn't converge
Does XMCA only accept raw data or is something wrong with my i/p?
This is how my data looks:
Even the previously worked data was in a similar format.
What could be the issue?
The text was updated successfully, but these errors were encountered: