ps_load_initial_isce.m

552 visningar
Hoppa till det första olästa meddelandet

Matt

oläst,
2 jan. 2021 20:53:272021-01-02
till MAINSAR
Hi all, 

I'm using StaMPS for PS and SB analysis of Sentinel-1 data processed in ISCE using the prepStackToStaMPS scripts.

I'm having a problem running PS method in StaMPS at the moment. I think it's because I updated all the scripts in StaMPS to be able to work with the new diversity changes made in the ISCE prepStackToStaMPS scripts? But I could be wrong and it could be something else. 

I get the following error in matlab after stamps(1,1): 

>> stamps(1,1)

STAMPS: ########################################
STAMPS: ####### StaMPS/MTI Version 4.0b6 #######
STAMPS: #######  Beta version, Jun 2018  #######
STAMPS: ########################################

STAMPS: Will process current directory only

STAMPS: ########################################
STAMPS: ################ Step 1 ################
STAMPS: ########################################
STAMPS: Directory is PATCH_47

Found inc angle file, will load the data 
Loading data into matlab...
SETPARM: heading = -163.9051
SETPARM: lambda = 0.055
Unable to perform assignment because the left and right sides have a different
number of elements.
Error in ps_load_initial_isce (line 126)
        caldate(i)=bb;
Error in stamps (line 285)
                    ps_load_initial_isce(data_inc)  

I'm not that experienced with Matlab but after looking at the ps_load_initial_isce.m file I thought it might be because the file names in calamp.out are now using reference and secondary and the str2num functions for aa and bb (lines 115 -126) need to be altered? I've attached the modified version of ps_load_initial_isce.m. 

I'd appreciate some help if anyone else has experienced a similar issue or could give some advice. 

Thank you,

Matt
ps_load_initial_isce.m

kevin112...@nctu.edu.tw

oläst,
2 jan. 2021 22:09:592021-01-02
till MAINSAR

Hello~
I have debuged this problem. Based on my experience, you may also need to add the caldate(i) = bb to catch the slave image.
螢幕擷取畫面 2021-01-03 110710.png
Hope it can help you!
Cheers
Chongyou Wang
Matt 在 2021年1月3日 星期日上午9:53:27 [UTC+8] 的信中寫道:

Matt

oläst,
2 jan. 2021 23:36:182021-01-02
till MAINSAR

Thank you much Chongyou Wang. It is working fine again! 

pan...@gmail.com

oläst,
7 maj 2021 01:42:222021-05-07
till MAINSAR
I get same problem as you, how you fix it?

Best Regards
Panggea Ghiyats Sabrian

Raj Sunil Kandregula

oläst,
22 nov. 2022 03:24:512022-11-22
till MAINSAR
Hello,
When i run the stamps process (1,1) it is throwing me an error. Any help would be greatly appreciated
Error using  ~=
Arrays have incompatible sizes for this operation.

Error in ps_load_initial_isce (line 129)
    not_reference_ix=caldate~=reference_day_yyyymmdd;

Error in stamps (line 281)
                    ps_load_initial_isce(data_inc)

Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden