Page 1 of 1


Posted: Sat Apr 04, 2020 9:13 am America/New_York
by helenhanstar
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,


Posted: Mon Apr 06, 2020 5:25 pm America/New_York
by LP DAAC - lemigkelly
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!