Skip to content
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

Unwrapping for Non-Continuous Data #3

Open
neolluna96 opened this issue Feb 9, 2024 · 1 comment
Open

Unwrapping for Non-Continuous Data #3

neolluna96 opened this issue Feb 9, 2024 · 1 comment

Comments

@neolluna96
Copy link

Hi @yoyololicon ! As you said yesterday, I opened an issue here.. might be better. Thanks for the fast answer, btw! I tried the masking of the NaNs before performing the unwrapping already, but then the issue is that the unwrapping works well in some places and not in others. I think it may have something to do with the starting point of the unwrapping... I think some weights are usually used in other methods to solve this, but I don't have this option here, right? Maybe I could use the edges or starting pixel parameter to try and fix this?
I am using wrapped cyclical data from -pi to pi and the unwrapping works well until there are too many NaNs dividing two areas.

I'm really trying to find a PUMA code that solves this, since right now I'm using SNAPHU but I think PUMA could be better.

Thanks!!

@yoyolicoris
Copy link
Owner

If your data contains too many NaNs thus separating them into disjoint graphs, I would suggest finding these subgraphs and doing the unwrapping separately. kamui assumes the data is one connected graph. Try removing the NaNs nodes and the edges connect to them.

I'm actually not doing InSAR research personally 😅 so I don't know if it's common to have NaNs in the data. Feel free to contribute if you feel there's a need for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants