Wednesday, May 13, 2009

HowTo Create a SRTM DEM for ROI PAC Processing

When Processing interferograms, usually, you will also require a DEM. The NASA's SRTM project is freely available from different places in different formats and levels. The latest version for now (IV) is available from CGIAR Consortium for Spatial Information.
in order to ease the DEM production for a research, I wrote a small Python script. The script will create a DEM with 1 deg to each side of the center of scene requested. It will create a ROI PAC header as well. there is an option to create a JPG image of shaded relief of the imag. You will need Python to be installed and also PyLab and PIL modules.

simply download SRTM.py (zip,2.9kb) from my scripts page, change permission to execute, and run it...

Don't forget to credit CGIAR for the data. Citations should be made as follows: Jarvis A., H.I. Reuter, A. Nelson, E. Guevara, 2008, Hole-filled seamless SRTM data V4, International Centre for Tropical Agriculture (CIAT), available from http://srtm.csi.cgiar.org/

2 comments:

  1. hi roi, i've used your script for making dem for gamma format.
    when i generated the dem from linux 32 bit and prosessing it in linux 64 bit ( gamma installed 32 bit using debootstrap) i've got the problem . The dem can't be read. what is the solution for solve this problem?

    ReplyDelete
    Replies
    1. Please note that Gamma format is not similar to roipac format which is 16bit integer (little-endien).

      Delete

Please Comment this Post or send me an Email