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

Georgia Cua georgia.cua at sed.ethz.ch
Wed Oct 4 06:00:13 GMT 2006


In the previous email about a slight change in grind so the  
strictbound option will work, I missed a closing semicolon on the  
perl statement.

To use "/" to separate the coordinates for strictbound in grind,
change line 2497 in grind to

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

Otherwise, use spaces to separate the coordinates, and you don't need  
to change the code.

Georgia




On Oct 3, 2006, at 11:18 AM, Georgia Cua wrote:

> 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
> -----------------------------
>
>
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at scsnmail.gps.caltech.edu
> http://unix1.gps.caltech.edu/mailman/listinfo/shake-dev





-----------------------------
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/20061004/78f5369d/attachment-0002.html 


More information about the Shake-dev mailing list