[Shake-dev] strictbound option for ShakeMap v3.1

Georgia Cua georgia.cua at sed.ethz.ch
Tue Oct 3 09:18:41 GMT 2006


Dear shake-dev,

To use the "strictbound" option in grind.conf,

lines 320-333 of grind.conf have the following:
######################################################################## 
###
# strictbound: fixes the map in place and size given by the argument.
# There is no default and this parameter is not required.
# Usage:
#
#       strictbound : W/S/E/N
#
# For example:
#
#       strictbound : -118.5/33.5/-117.5/34.25
#
# Would center a 1.0 degree by 0.75 degree map approximately over Los
# Angeles.
######################################################################## 
###

Instead of using "/" to separate the coordinates, one must use  
spaces, for instance

strictbound : -118.5  33.5  -117.5  34.25


Alternatively, one could change line 2497 in grind, which currently  
splits according to spaces
2497: @bigbound[W,S,E,N] = split  /\s+/,$strictbound;

to

@bigbound[W,S,E,N] = split /\//,$strictbound

if you prefer to separate the coordinates using "/"


Cheers,
Georgia

-----------------------------
Dr. Georgia Cua
Swiss Seismological Service
Institute of Geophysics
ETH Hoenggerberg HPP P
CH-8093 Zurich
Switzerland

Tel:  +41-044-633-7574
Fax: +41-044-633-1065

georgia.cua at sed.ethz.ch
-----------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20061003/93e05af0/attachment-0002.html 


More information about the Shake-dev mailing list