[Shake-dev] rgb = function(intensity-mmi)

Bruce Worden cbworden at gmail.com
Fri May 17 20:12:35 UTC 2013


Hi Branden,

Below is the GMT CPT table we use to map intensity to color. The columns are:

Starting_MMI Red Green Blue Ending_MMI Red Green Blue

0       255     255     255     1       255     255     255
1       255     255     255     2       191     204     255
2       191     204     255     3       160     230     255
3       160     230     255     4       128     255     255
4       128     255     255     5       122     255     147
5       122     255     147     6       255     255     0
6       255     255     0       7       255     200     0
7       255     200     0       8       255     145     0
8       255     145     0       9       255     0       0
9       255     0       0       10      200     0       0
10      200     0       0       13      128     0       0

Values in between the starting and ending MMI are linearly interpolated for each of R, G, and B.

Bruce


On May 17, 2013, at 12:41 PM, Branden Christensen <branden.christensen at osop.com.pa> wrote:

> Hi all:
> 
> 
> I am using the grid.xml to produce a shakemap overlay for Open Street Map. 
> 
> What are the stand colors to translate instrument intensity (MMI) to rgb values (color)?
> 
> 
> B
> 
> Branden Christensen
> branden.christensen at osop.com.pa
> Volcan, Panama
> 
> Follow OSOP 
> Facebook: http://www.facebook.com/osop.panama
> Twitter: @OSOPSA
> News Blog: http://www.osop.com.pa/blog/news
> The Seismo Guys Blog: http://www.osop.com.pa/blog/the-seismo-guys/
> _______________________________________________
> 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/20130517/f1f5a9f6/attachment.html>


More information about the Shake-dev mailing list