Comments (10)
@gjustin40 your interferograms seem to have NaN values. you may modify them and replace Nan values with something or you may use a mask. If all of your interferograms have nan values at the same pixels, try making a mask with .h5
format and then use generate_unwrap_mask.py
to update the unwrap mask before running unwrap step. The other way is to directly update unwrap mask in your inverted folder with opening and modifying it in python.
from miaplpy.
I am also trying to solve this issue, and I get the same snaphu error when trying to unwrap, as it appear the interferograms are corrupted somehow. In my workflow, something has gone wrong during the phase_linking or stage. If I view the temporal coherence of "phase_series.h5" I get a blank image with uniform temporal coherence across the scene.
view.py inverted/phase_series.h5 temporalCoherence
The next stage of forming interferograms still worked, however the ifgs are also not displaying and appear to be "empty"
view.py inverted/interferograms_single_reference/20200205_20180615/filt_fine.int phase
So it at least for me, its not a problem with snaphu , its something upstream. @gjustin40 if you havnt already , you could check that your unwrapped ifgs are formed correctly?
@mirzaees do you have any ideas what might have happened here?
Thanks for any help
from miaplpy.
Sorry, @gjustin40 , typo: check that your "wrapped" ifgs are formed correctly
from miaplpy.
After doing some more digging, my issue goes all the way back to the initial slcStack.h5 file.
view.py inputs/slcStack.h5
Only the reference appears. The size of the .h5 file is about the size I would expect from a ROI of this size (~2.5 GB).
Interesting that I could make it all the way through to ifg unwrapping with snaphu before noticing an issue.
I will restart from the beginning and pay closer attention to the loading of the SLC files in the load_data stage.
from miaplpy.
Ok, so a long story, but I found it in the end. It turns out that I had no actual raw SLC data, the /coreg_secondarys/ directory was empty, so the .slc.full.vrt files were pointing to raw data that does not exist.
When loading the datasets, I got the following error:
ERROR 4: ../merged/SLC/20180603/../../../coreg_secondarys/20180603/IW2/burst_01.slc.vrt: No such file or directory
Probably quite a unique problem (sorry for taking up all this space on this thread), but worth noting that Miaplpy can proceed from load_data to unwrapping before this causes a fatal error.
from miaplpy.
Thank you for your help @mirzaees @Jesse-kearse
After reviewing the information provided above, I realized there may have been an issue in the previous step, so I decided to give it another try. In fact, it seems that the problem started when I was creating the stack in isce2
, so I expanded the bbox range and tried again, and fortunately, it worked without any issues!
In my case, it seems that there was an issue in run_04_miaplpy_generate_ifgram
. It appeared that the problem arose from setting a bbox that was too small during the stack creation process in isce2. I increased the size of the bbox and tried again, and it worked correctly!
I'm not sure whether the cause was the size of the bbox or the difference between the -w
and -c
options in isce
when generating the stack, but the important thing is that it's working well now!
Thank you for your advice.
By the way, Can i convert Miaplpy result which is Grid format to point format like StaMPS? @mirzaees
from miaplpy.
I think ISCE2 works best when you are processing at least 2 adjacent bursts, I think that is a common issue that is easily solved with increasing the bbox size to include 2 bursts.
from miaplpy.
@Jesse-kearse Thanks for your advices
I think so too.
My mistake was that I made too small subset during interferogram stack
step in isce2.
Subset should be applied after make stack of interferogram with more wide bbox range to prevent error.
@Jesse-kearse Do you know how to get result of Miaplpy by point like StaMPS?
In tutorial, there is a step to view PS mask in Visualization. I want to get PS with point not the grid(raster)
from miaplpy.
Hi @gjustin40
Is your question about displaying the data as points instead of a raster image? As I understand, StaMPS has its outputs structured as column arrays e.g. lon,lat,phs. You would need to simply get the lon,lat coordinates of each cell in Miaplpy geocoded raster, as well as the velocity value and make your own file with a lon,lat,velocity structure (e.g. a 3-column matrix). Then you could plot it with stamps, or gmt plot function, or with which ever mapping package you choose.
from miaplpy.
I asked if there is a function to convert PS masks to point format (.shp, .geojson) in Miaplpy!
I guess I can make it myself if not.
Thank you.
from miaplpy.
Related Issues (20)
- Is it phase unwrapping without a mask? HOT 6
- FileNotFoundError: [Errno 2] No such file or directory: '' (*.slc.full from isce2 is missing) HOT 2
- How to get full resolution result? HOT 6
- Problem with ISCE stackStripMap.py to MiaplPy HOT 1
- A confusing typo in generate_ifgram.py
- Assistance Required with MiaplPy InSAR Data Processing Issue HOT 2
- ValueError: Cannot return member number (operation not supported for type class) HOT 3
- KeyError: 'width' for load_ifgram (MiaplPy) HOT 1
- How to crop data prepared for miaplpy HOT 2
- 这个该怎么获得样本协方差矩阵呢?
- MiaplPy installation issue HOT 2
- Ministack limitations
- ValueError: Buffer dtype mismatch, expected 'int' but got 'bool' HOT 2
- Buffer type mismatch error in phase_linking.py --concatenate HOT 1
- Why I got much less PS points than the paper for the Mud Creek landslide case? HOT 2
- mini_stacks error on V0.2.1
- The position of the coherence matrix coh and its coherence matrix absolute value abscoh
- Difference ISCE 'slc' and 'interferogram' workflow as input HOT 2
- prepare slantRangeDistance error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miaplpy.