Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help using srtm dem #1

Open
handwerg opened this issue Oct 28, 2015 · 4 comments
Open

Help using srtm dem #1

handwerg opened this issue Oct 28, 2015 · 4 comments

Comments

@handwerg
Copy link

Hello,

Is there any way to your strm_dem script without the developer tools?

@fabricebrito
Copy link
Member

Hello!

Well... yes, the run.sh script contains all the steps to do so so with a few changes, you should be ok.
First, remove the ciop-* and the for https://github.com/Terradue/srtm-dem/blob/master/src/main/app-resources/srtmdem/run.sh#L68, provide the WKT for your AOI.

Hope this helps!

@handwerg
Copy link
Author

Sorry I dont fully understand your instructions. There are many lines that contain ciop-* in the run.sh script. I am to remove all of them? Also I dont understand what the WKT for AOI is? Sorry I am not fully versed in this sort of scripting, but if you could provide more help that would be great. I cant seem to find any other scripts available that download SRTM data for GAMMA.

@fabricebrito
Copy link
Member

This script is invoked to generate a DEM for a SAR product (typically Envisat ASAR) passed by reference i.e. including metadata (but not the data). We then extract the SAR product footprint in the WKT format, we extend it a bit and then invoke one of the supporting scripts for GMTSAR, GAMMA or ROI_PAC.
So to make things short, you can use the line below to generate your DEM

SRTM.py $lat $lon $UUIDTMP/$dem_name -D /data/SRTM41/ $option 1>&2

Hope this helps!

@handwerg
Copy link
Author

Thanks.

sorry one last thing. How do I input a the full range of lat long values?
For instance I want a dem that spans 34 to 35 deg N and 117 to 116 deg W?

On Wed, Oct 28, 2015 at 4:11 PM, Fabrice Brito [email protected]
wrote:

This script is invoked to generate a DEM for a SAR product (typically
Envisat ASAR) passed by reference i.e. including metadata (but not the
data). We then extract the SAR product footprint in the WKT format, we
extend it a bit and the invoke one of the supporting scripts for GMTSAR,
GAMMA or ROI_PAC.
So to make things short, you can use the line below to generate your DEM

SRTM.py $lat $lon $UUIDTMP/$dem_name -D /data/SRTM41/ $option 1>&2

Hope this helps!


Reply to this email directly or view it on GitHub
#1 (comment).

Alexander L. Handwerger, Ph.D.
Department of Geological Sciences
University of Oregon
325 D Cascade Hall
http://blogs.uoregon.edu/handwerger/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants