-
Notifications
You must be signed in to change notification settings - Fork 42
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
Documentation -- standardization example: NMAD used instead of STD #381
Comments
@MatteaE Are you using different data than the example? The variogram looks OK at https://xdem.readthedocs.io/en/latest/advanced_examples/plot_standardization.html right after the standardization (which doesn't seem to affect the estimate: I realize that right now the default variogram estimator in |
@rhugonnet Yes, I am using a dh grid from SPOT and NASADEM. |
OK perfect! It's on my list of things to modify in SciKit-GStat, I'll open a PR there during the summer! 😉 To summarize, to-do-list for closing this issue:
Anything else I missed @MatteaE? |
Thanks a lot for the detailed explanation @rhugonnet! Just one last question then - right now, do I need to do the scaling by 2 manually to later use the variogram parameters and de-standardize the integrated uncertainty? If yes, where? (I use functions |
@MatteaE Good question! You don't need to scale 🙂. |
Scale factor of Dowd's estimator fixed in |
At plot_standardization.py:101, it is claimed that "We perform a scale-correction for the standardization, to ensure that the standard deviation of the data is exactly 1." (and at line 141: "With standardized input, the variogram should converge towards one.").
But actually the code uses xdem.spatialstats.nmad() to compute the rescaling factor, and the empirical variogram later converges to 1.48 instead of 1 (see attachment).
xdem 0.0.10
The text was updated successfully, but these errors were encountered: