[Shake-dev] where to get shakemap DEM grid data??

Branden Christensen branden.christensen at osop.com.pa
Mon Dec 31 02:17:05 UTC 2012


WSK:


Download the dems from:

ftp://ftpext.usgs.gov/pub/cr/co/golden/lin/ShakeMap%20Portable/SRTM30.tar.gz

Unpack the dem's to <shake_home>/dem

Configure "DEMDIR" in your macros (<shake_home>/include/macros) to point to
"<shake_home>/dem"

Configure "$results" in <shake_home>/bin/topo2grd to "command ("<shake_home>
/dem/dem2grd.pl $bounds $tmp $res");

NOTE: I think dem2grd.pl comes inside SRTM30.tar.gz.

Then add:

my $home = "<shake_home>/dem";
my $gmt = "<location_gmt>/bin/";
my $file = "$lon$lat.grd"; (was my $file = "DATA/$lon$lat.grd")

before "$strict" in <shake_home>/dem/dem2grd.pl


That should be it. Make sure you have gmt installed.

If you are not familiar with freebsd and are a Linux-Debian person, then I
recommend installing ShakeMap under Ubuntu.




Kind Regards from Panama,

*Branden C. Christensen*
Director, OSOP
*branden.christensen at osop.com.pa*
www.osop.com.pa
Volcan, Panama
Reverse the order: "People do not buy what you do. They buy why you do it."
- Simon Sinek, TED talk: 'How great leaders inspire action.'



On Mon, Dec 31, 2012 at 1:54 AM, wsk <wsk at gddsn.org.cn> wrote:

> hi list
>
> I've successed build shakmap v3.5 on freebsd 9.1 with Mr Worden's user
> guide and with appreciated.
> and no i have a problem while i test it:
> so, where to get the DEM grid data and how to use it?
> BTW
> and i googled SRTM30 and found on
> http://dds.cr.usgs.gov/srtm/version2_1/SRTM30/
> but it's a zip file without dem2grid file and have no ideas how to use it.
>
> shakemap# /usr/local/shakemap/bin/shake -event 9583161
> 2012-01-08 07:15:14 : transfer: ----- Starting Transfer at 01/08/2012
> 07:15:14 -----
> 2012-01-08 07:15:14 : transfer: ----- Transfer finished at 01/08/2012
> 07:15:14 -----
> 2012-01-08 07:15:14 : grind: WARNING: You have specified an incorrect
> ampfactor_file in
> 2012-01-08 07:15:14 : grind: WARNING: grind.conf.
> 2012-01-08 07:15:14 : grind: WARNING: Continuing using default
> Borcherdt94.dat table.
> Quitting topo2grd. at /usr/local/shakemap/bin/../bin/topo2grd line 233.
> /usr/local/shakemap/bin/../bin/topo2grd 9583161
> -120.150000/-117.650000/33.813000/35.313000 0.025/0.025 regime=active
> Using . Final resolution fixed at 0.025.
> c
> DEM grid file: /DATA/w180n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/w180s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/w140n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/w140n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/w140s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/w100n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/w100n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/w100s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/w060n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/w060n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/w060s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/w020n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/w020n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/w020s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/e020n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/e020n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/e020s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/e060n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/e060n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/e060s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/e100n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/e100n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/e100s10.grd NOT FOUND. Why?
> DEM grid file: /DATA/e140n90.grd NOT FOUND. Why?
> DEM grid file: /DATA/e140n40.grd NOT FOUND. Why?
> DEM grid file: /DATA/e140s10.grd NOT FOUND. Why?
> Error in topo2grd: Nothing extracted.
> Set $VERBOSE = 1 and examine the output.
> It is likely you have something misconfigured in your DEM data.
> grind: Error: Error in topo/sitecorr map creation, exiting.
> shake: Error in grind: 256
>
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20121231/c15f650b/attachment.html>


More information about the Shake-dev mailing list