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

[Help]: Read the rslc file generated by snap using pygmtsar #174

Open
kjz1997 opened this issue Oct 10, 2024 · 3 comments
Open

[Help]: Read the rslc file generated by snap using pygmtsar #174

kjz1997 opened this issue Oct 10, 2024 · 3 comments

Comments

@kjz1997
Copy link

kjz1997 commented Oct 10, 2024

hello Dr
Hello, Doctor. I used the code in the PRM file of pygmtsar to read the rslc file generated by snap, and then I found that the read result was different from the result read by Matlab. Can you give me some suggestions? Here is the MATLAB code
machinefmt = 'b'; fid = fopen(infile,'r',machinefmt); [data,count]=fread(fid,bkformat); data = complex(data(1:2:count),data(2:2:count)); count=count/2; width = count/lines;% data = reshape(data,width,lines).';

@AlexeyPechnikov
Copy link
Owner

PyGMTSAR reads binary files in GMTSAR format. To read SNAP files, you would need to modify the code, following your MATLAB script if you believe this is correct.

@kjz1997
Copy link
Author

kjz1997 commented Oct 20, 2024

OK,thank you reply,I have another problem, can pygmtsar calculate the backscatter coefficient?

@AlexeyPechnikov
Copy link
Owner

No, it has only persistent scatterers function calculation for weighted interferograms.

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