You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).';
The text was updated successfully, but these errors were encountered:
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.
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).';
The text was updated successfully, but these errors were encountered: