Open pfhein opened 7 years ago
isn't this a pyart issue?
for reference the desiasing is done either with: pyart.correct.dealias_region_based(radar, gatefilter) pyart.correct.dealias_unwrap_phase(radar, gatefilter) depending on which plugin you are using
if you are talking about the manual unfold, such a case can not be corrected with that simple of an algorithm, I recommend using the pyart methods before.
Yes, this is manual unfolding/deliasing so not the automatic dealiasing of pyart. You are right about it not being possible to cross the 0 line since that would make it harder to distinguish between those points that do not need to be dealiased and those points that do. A simple algorithm does not make it possible.
Here are two plots. One before the dealiasing and one after. The dealiasing happens in the upper right quadrant of the plot. Before dealiasing And the after dealiasing You can see that the discontinuity remains but it was shifted to the zero m/s contour.
I'm not really sure how we can solve this, since as you said the zero line is what is being used to separate what need dealing and what does not. We could allow the user to change this threshold value, but I'm not sure about that. We could also add a component to do a linear transformation in a selected region + gatefilter, that would probably be much more difficult to work with, but gives you full control.
Let me know what you think and we may add as a to do, and it will hopefully be addressed at some time. Also if you want to do it your self I would be glad to give directions.
by the way @pfhein I'm planning to be presenting ARTView in the AMS's 38th Conference, on august. If you have any thoughts I would be glad to hear, send me an e-mail.
I have seen a case where the unfolding/deliasing stops at zero velocity. The velocity is large enough that is wraps around and goes past the 0m/s mark. but the unfolding does not catch it.