Extracting SAR level0 data from file

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
adam32
Posts: 1
Joined: Tue Feb 25, 2025 1:14 am America/New_York
Answers: 0

Extracting SAR level0 data from file

by adam32 » Tue Feb 25, 2025 1:20 am America/New_York

Hello
I am working on SAR interference mitigation. I need to load a level0 (raw) SAR data in Matlab for further processing. So I downloaded some level0 datasets, including ERS and RADARSAT1 data. When I extract the downloaded archive file, there are multiple files within it, including ,metadata, .ldr and .raw files.
I don't know how to extract the SAR signal from the .raw file and load it in Matlab.
So if there is any method or tool or any procedure to extract the level0 data from the .raw file and access it in Matlab, please let me know about it
Thank you so much
by jhkennedy » Tue Feb 25, 2025 11:21 am America/New_York
If you have access to Matlab's Radar Toolbox, you can follow this tutorial for working with ERS data, and should work similarly for RADARSAT-1:
https://www.mathworks.com/help/radar/ug/ers-sar-raw-data-extraction-and-image-formation.html
Go to full post

Filters:

ASF-EDL - bhauer
Posts: 53
Joined: Tue Dec 03, 2019 3:56 pm America/New_York
Answers: 0

Re: Extracting SAR level0 data from file

by ASF-EDL - bhauer » Tue Feb 25, 2025 10:38 am America/New_York

ERS and RADARSAT-1 data are in CEOS format. I hope these document will provide information you find helpful:

https://asf.alaska.edu/wp-content/uploads/2019/03/ers_ceos.pdf
https://www.mathworks.com/help/radar/ug/ers-sar-raw-data-extraction-and-image-formation.html
Bill Hauer
Alaska Satellite Facility DAAC
User Support Office
uso@asf.alaska.edu

jhkennedy
Subject Matter Expert
Subject Matter Expert
Posts: 4
Joined: Sun Oct 16, 2022 3:25 am America/New_York
Answers: 1

Re: Extracting SAR level0 data from file

by jhkennedy » Tue Feb 25, 2025 11:21 am America/New_York

If you have access to Matlab's Radar Toolbox, you can follow this tutorial for working with ERS data, and should work similarly for RADARSAT-1:
https://www.mathworks.com/help/radar/ug/ers-sar-raw-data-extraction-and-image-formation.html

4ymak
Posts: 2
Joined: Fri Jan 30, 2026 7:05 pm America/New_York
Answers: 0

Re: Extracting SAR level0 data from file

by 4ymak » Fri Jan 30, 2026 7:41 pm America/New_York

Hey, tried to solve the same problem :) Besides the page on the matlab, this discussion and 2 documents, one of which is not really helpful, i found pretty much no information about this online. The MATLAB project, while extremely useful, is unfortunately very geared towards the ERS satellite. The specifications you`ve sent previously(https://asf.alaska.edu/wp-content/uploads/2019/03/ers_ceos.pdf) are off for RADARSAT1. I`ve found this document(https://asf.alaska.edu/wp-content/uploads/2019/03/r1_prod_spec.pdf) with Data Set Summaries specifically fro RADARSAT 1. I am not sure how accurate they are for datasets at ASF Data Search, but looks like RADARSAT 1 works with those specifications. Right now I am stuck with 2 problems
1)I couldn`t find the Range Gate Delay data for RADARSAT 1 in the leader file. The byte range in the CEOS RAW format specifications is empty in the RADARSAT 1 leader file and i couldn`t find it in the RADARSET 1 document. I don`t really know how satellites work, so if this number is constant for RADARSAT 1, please send me it :)
2)I couldn`t process the .raw file at all. After some tests(I combined the ESR leader file that was used, as an example in MATLAB project and the RADARSAT 1 .raw file) it looks like the problems lie in processing the leader file, though i am not sure.
If you could help me with this, I would be really grateful! Thank you for your answer in advance!

4ymak
Posts: 2
Joined: Fri Jan 30, 2026 7:05 pm America/New_York
Answers: 0

Re: Extracting SAR level0 data from file

by 4ymak » Sat Jan 31, 2026 7:55 am America/New_York

UPDATE: Hey! I mostly solved the problem. Well, actually there was no problem, but nonetheless. As it turns out, I was just being stupid. Not every SAR level0 data can be translated into an image. From what I understand the RADARSAT 1 has several modes, some which create data that can`t be translated into an actual image. If you`ve encountered the same problems as me, open the .ldr file in any hex-editor and check some of the data adresses. If they are empty, obviously you won`t be able to create an image. The adress in hexadecimal is 720 + whatever your byte adress is, according to documentation, converted into hexadecimal number obviously. The only thing that remains unsolved is finding Range Gate delay to first cell for RADARSAT 1.

Post Reply