GenericMappingTools / gmtserver-admin

Cache data and script for managing the GMT data server
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Add EMAG2 default CPT #110

Closed PaulWessel closed 2 years ago

PaulWessel commented 2 years ago

This is the CPT used by NEIC for their EMAG2 maps. I got it from Brian Meyer at NOAA. As I plan to add _earthmag and _eathmag4km remote grids, like the age grids I want to use @emag2.cpt as the default CPT for this data. It goes into the cache for now. However, by being tied to a supported server grid, perhaps cache is not a good place for these. But for now...

joa-quim commented 2 years ago

We already have mag.cpt this one does not seem very different (judging only from the colors on the site). EMAG is a lousy magnetic anomalies grid. WDMAM is much better.

PaulWessel commented 2 years ago

Well, they are quite different, see the plot. Also, what other global magnetic grids are there?

cpts

joa-quim commented 2 years ago

A mag cpt that goes only to 200 nT for marine magnetic anomalies that often go above 1000 nT. Really. My original mag.cpt was not normalized. It was like this (which is what I still use)

#
# IPGP Color table for mangetic anomaly maps
#------------------------------------------------
# COLOR_MODEL = RGB
# HINGE = 0
# RANGE = -2000/2000
#------------------------------------------------
-2000   0   0 204  -600   0   0 204
 -600   0 153 255  -500   0 153 255
 -500   0 204 255  -400   0 204 255
 -400   0 204 128  -300   0 204 128
 -300   0 204   0  -200   0 204   0
 -200 102 255   0  -100 102 255   0
 -100 150 255   0   -50 150 255   0
  -50 255 255  38     0 255 255  38
    0 255 255  77    50 255 255  77
   50 230 230   0   100 230 230   0
  100 255 204   0   200 255 204   0
  200 255 153   0   300 255 153   0
  300 255 102   0   400 255 102   0
  400 255   0   0   500 255   0   0
  500 204   0   0   600 204   0   0
  600 180   0   0  2000 180   0   0
#------------------------------------------------
B       black
F       245/255/255
N   gray
#----------------------------------------------------------
joa-quim commented 2 years ago

Also, what other global magnetic grids are there

Just pointed another: WDMAM

PaulWessel commented 2 years ago

A mag cpt that goes only to 200 nT for marine magnetic anomalies that often go above 1000 nT. Really. My original mag.cpt was not normalized. It was like this (which is what I still use)

#
# IPGP Color table for mangetic anomaly maps
#------------------------------------------------
# COLOR_MODEL = RGB
# HINGE = 0
# RANGE = -2000/2000
#------------------------------------------------
-2000   0   0 204  -600   0   0 204
 -600   0 153 255  -500   0 153 255
 -500   0 204 255  -400   0 204 255
 -400   0 204 128  -300   0 204 128
 -300   0 204   0  -200   0 204   0
 -200 102 255   0  -100 102 255   0
 -100 150 255   0   -50 150 255   0
  -50 255 255  38     0 255 255  38
    0 255 255  77    50 255 255  77
   50 230 230   0   100 230 230   0
  100 255 204   0   200 255 204   0
  200 255 153   0   300 255 153   0
  300 255 102   0   400 255 102   0
  400 255   0   0   500 255   0   0
  500 204   0   0   600 204   0   0
  600 180   0   0  2000 180   0   0
#------------------------------------------------
B       black
F       245/255/255
N gray
#----------------------------------------------------------

Same as in GMT. Looks the same whether I use original -T or -T-200/200. We are just scaling the z values.

PaulWessel commented 2 years ago

Note yours are really only going -T-600/500 since colors outside that range are constant, so more like B, F settings.

PaulWessel commented 2 years ago

ust pointed another: WDMAM

Thanks, will get that one too.