SRTM SWATH DATA READ

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
helenhanstar
Posts: 1
Joined: Fri Apr 03, 2020 7:02 am America/New_York
Answers: 0

SRTM SWATH DATA READ

by helenhanstar » Sat Apr 04, 2020 9:13 am America/New_York

Dear Forum Users,
I have downloaded some SRTM products: DEMs as .hgt format and SRTM SWATH DATA as .mag and .inc format. I can use arcgis to open .hgt data and transform it into .geotiff format. But I do not know how to open .mag and .inc data which I have tried matlab to read but the results in matlab is obviously wrong. I have known it's 16 bit binary raster data with big endian. Could you please give me some advice? I want to transform the data into .geotiff format so that I can have a visualization. Thank you so much.
Best regards,
Helen.

Tags:

LP DAAC - lemigkelly
Posts: 4
Joined: Mon Sep 30, 2019 11:33 am America/New_York
Answers: 0

Re: SRTM SWATH DATA READ

by LP DAAC - lemigkelly » Mon Apr 06, 2020 5:25 pm America/New_York

HGT files do have limited, automated import support in software such as ArcMap, ENVI or Matlab.
Other data extensions such as .mag or .inc do not.

For the SRTMIMGR mag and inc data files, here is the generic binary information to describe them manually:

Import the INC as a Binary file:
3601 columns by 3601 rows
1 band
No header records or header bytes
Signed 16-bit integers (or Byte for the MAG files)
Byte order is IEEE, most significant bit, big endian

Hope this helps!

Post Reply