[Shake-dev] Re: shakemap error

Bruce Worden cbworden at usgs.gov
Thu Feb 15 19:36:09 GMT 2007


Hi Zehra,

On your second question -- there are some issues in getting to the  
lists from outside the gps domain.  We are going to move shake-dev to  
a USGS site fairly soon, so you should have easier access (as well as  
searchable archives).  Have you tried this URL:

http://scsnmail.gps.caltech.edu/mailman/listinfo/shake-dev

I don't know if that will work better for you.  I am inside the  
domain, so I see it all just fine.

On your primary problem, your first error is:

GMT Fatal Error: Error seeking past header file /home/ozden/Desktop/ 
SHAKEMAP/shake_home/bin/../data/9583161/output/mmi.grd!

Which tells me that the .grd files are probably not being created  
properly.  Have a look at that file and see how big it is.  You can  
also use 'grdinfo' to examine the contents -- but remember to append  
'=1' to the filename so grdinfo can read it (i.e., 'grdinfo  
mmi.grd=1').  If it gags, 'grind' isn't writing the file correctly.   
If nx * ny * 4 isn't within a couple of dozen bytes of the file size,  
there is some other problem.

Check your 'include/macros' file -- your 'ARCHITECTURE' macro should  
be set to 'CISC'.  If it isn't, you'll need to change it and run  
"make all" in the shakemap home directory again.  Then make sure that  
the '$architecture' variable in lib/ShakeConfig.pm is set to the  
proper thing.  If it isn't, delete the file and run 'make all' again.

Bruce


On Feb 15, 2007, at 5:11 AM, zehra cagnan wrote:

> Hi Bruce
> I followed the shakemap manual and installed GMT version 3.4  
> thinking that installing GMT version 4.1 would create problems.
> Thank you very much for the help you provided. I solved the problem  
> below. I uncommented certain lines within mapping as they were  
> applicable to verion 4.1 of GMT.
>
> The grind module seems to work with no problems but I am still  
> experiencing problems with the mapping module. I am getting the  
> error message below. Somehow mapping does not create the tmpmmi.grd  
> file. I am seeing the mmi.grd file under the data/mapping directory  
> but tmpmmi.grd file is not being created.
>
> Some of the files I need to complete regional configuration is not  
> ready yet so I am using california data and trying to do a test run  
> just to understand the program better.
> I commented out certain parts within shake.conf so that only  
> grind,tag,mapping,genex modules will be called in the order I wrote  
> above.
>
> My second question is regarding the shakemap list. I am trying to  
> access the website of the list thinking that I might be able access  
> the list archieves via there (may be some of the questions I am  
> asking now were answered there before). I am using my email address  
> as my user id and the password you sent me as my password but could  
> not access the web site. is my user id something different than  
> zcagnan at gmail.com
>
> thanks
> zehra
>
>
>
> grind: Type: pga; bias 0.815; absolute deviation was 0.019171 is  
> 0.017089
> grind: Type: pgv; bias 0.775; absolute deviation was 0.006004 is  
> 0.005444
> grind: 1 stations flagged out this iteration
> grind: Type: pga; bias 0.815; absolute deviation was 0.019171 is  
> 0.017089
> grind: Type: pgv; bias 0.775; absolute deviation was 0.006004 is  
> 0.005444
> grind: 0 stations flagged out this iteration
> GMT Fatal Error: Error seeking past header file /home/ozden/Desktop/ 
> SHAKEMAP/shake_home/bin/../data/9583161/output/mmi.grd!
> grdview: No such file or directory [/home/ozden/Desktop/SHAKEMAP/ 
> shake_home/bin/../data/9583161/mapping/tmp_mmi.grd]
> mapping: Error running command:
> /home/ozden/Desktop/SHAKEMAP/Kurulum/GMT/bin/grdview /home/ozden/ 
> Desktop/SHAKEMAP/shake_home/bin/../data/9583161/mapping/topo.grd -P  
> -R-120.15/-117.65/33.729666/35.396333/10/3000 -JM6.5 -JZ1 -G/home/ 
> ozden/Desktop/SHAKEMAP/shake_home/bin/../data/9583161/mapping/ 
> tmp_mmi.grd -C/home/ozden/Desktop/SHAKEMAP/shake_home/bin/../lib/ 
> mapping/Ii.cpt -I/home/ozden/Desktop/SHAKEMAP/shake_home/bin/../ 
> data/9583161/mapping/inten.grd -Qi72 -O -K|
>
> shake: Error in mapping: 256
>
>
>
>
>
> On 2/14/07, Bruce Worden <cbworden at usgs.gov> wrote:
> Hi Zehra,
>
> What version of GMT are you using?  There are problems with this
> version of ShakeMap and certain versions of GMT.  The next version of
> ShakeMap (V3.2, which you can get a pre-release version of at the FTP
> site) should be more forgiving of GMT's idiosyncrasies.
>
> But in the version you have:
> Edit 'mapping' and search for the string "PLOT_DEGREE_FORMAT".  There
> is some commentary there about fixing the first error, below.
>
> The topography error is odd -- can you verify that you have the
> topography files "cal_neva_9c[i].grd" (or whatever topo files you
> have configured in mapping.conf) and not just links?  If they are
> links, you can get the actual files at the FTP site.
>
> Also, I am adding you to the shake-dev mailing list (you should get a
> confirmation email shortly -- make sure your spam filter doesn't get
> it) so you can ask your questions there, and maybe get more help.
>
> I hope this helps.
>
> Bruce
>
> On Feb 14, 2007, at 2:59 AM, zehra cagnan wrote:
>
> > Okey
> > I solved the previous problem. The binary form of the vsgrid.txt
> > that we were using was not generated on a linux machine. That was
> > the problem.
> > Now I am having problems with the GMT.
> >
> > The error message that i am getting is below. Any help you can
> > provide?
> >
> > grind: Type: pga; bias 0.815; absolute deviation was 0.019171 is
> > 0.017089
> > grind: Type: pgv; bias 0.775; absolute deviation was 0.006004 is
> > 0.005444
> > grind: 1 stations flagged out this iteration
> > grind: Type: pga; bias 0.815; absolute deviation was 0.019171 is
> > 0.017089
> > grind: Type: pgv; bias 0.775; absolute deviation was 0.006004 is
> > 0.005444
> > grind: 0 stations flagged out this iteration
> > gmtset: GMT SYNTAX ERROR in GMT_setparameter:  Unrecognized keyword
> > PLOT_DEGREE_FORMAT
> > gmtset: GMT SYNTAX ERROR:  PLOT_DEGREE_FORMAT given illegal value  
> (D)!
> > gmtset:  1 conversion errors
> > mapping: WARNING: no topography data found; will continue without
> > topo.
> > GMT Fatal Error: Error seeking past header file /home/ozden/Desktop/
> > SHAKEMAP/shake_home/bin/../data/9583161/output/mmi.grd!
> > mapping: WARNING: can't find topo data: making mmi without  
> topography
> > grdimage: No such file or directory [/home/ozden/Desktop/SHAKEMAP/
> > shake_home/bin/../data/9583161/mapping/tmp_mmi.grd]
> > mapping: Error running command:
> > /home/ozden/Desktop/SHAKEMAP/Kurulum/GMT/bin/grdimage /home/ozden/
> > Desktop/SHAKEMAP/shake_home/bin/../data/9583161/mapping/tmp_mmi.grd
> > -P -R-120.15/-117.65/33.729666/35.396333/10/3000 - JM6.5 -C/home/
> > ozden/Desktop/SHAKEMAP/shake_home/bin/../lib/mapping/Ii.cpt -O -K|
> >
> >
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20070215/97cdf1fb/attachment-0002.html 


More information about the Shake-dev mailing list