Logo Search packages:      
Sourcecode: ncview version File versions  Download package

colormaps_default.h

/*
 * Ncview by David W. Pierce.  A visual netCDF file viewer.
 * Copyright (C) 1993 through 2009 David W. Pierce
 *
 * This program  is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3 as 
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License, version 3, for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * David W. Pierce
 * 6259 Caminito Carrean
 * San Diego, CA   92122
 * pierce@cirrus.ucsd.edu
 */

static int cmap_default[] = {
      131,0,255, 128,0,255, 125,0,254, 122,0,254, 119,0,254, 116,0,253, 113,1,253, 110,2,252, 
      108,3,252, 106,3,252, 103,4,251, 101,5,251, 99,6,250, 96,7,250, 94,8,249, 92,9,249, 
      90,10,248, 87,12,247, 85,13,247, 83,14,246, 81,16,245, 79,18,244, 76,19,243, 74,21,242, 
      72,23,241, 70,24,240, 68,26,239, 66,28,238, 64,30,237, 62,32,236, 60,35,235, 58,37,233, 
      56,39,232, 54,41,231, 52,44,229, 50,46,228, 48,48,227, 47,51,225, 45,53,224, 43,56,222, 
      41,59,221, 39,61,219, 38,64,217, 36,67,216, 35,69,214, 33,72,212, 31,75,211, 30,78,209, 
      28,81,207, 27,84,205, 25,87,203, 24,90,202, 23,93,200, 21,96,198, 20,99,196, 19,102,194, 
      18,105,192, 16,108,190, 15,111,188, 14,114,186, 13,117,184, 12,120,182, 11,123,179, 10,126,177, 
      9,130,175, 8,133,173, 7,136,171, 7,139,169, 6,142,166, 5,145,164, 5,148,162, 4,151,160, 
      3,154,157, 3,157,155, 2,160,153, 2,163,151, 1,166,148, 1,169,146, 1,172,144, 0,175,141, 
      0,178,139, 0,181,137, 0,184,134, 0,186,132, 0,189,130, 0,192,127, 0,194,125, 0,197,123, 
      0,200,120, 0,202,118, 0,205,116, 0,207,113, 0,209,111, 1,212,109, 1,214,106, 2,216,104, 
      2,218,102, 2,221,99, 3,223,97, 3,225,95, 4,227,93, 5,229,90, 5,230,88, 6,232,86, 
      7,234,84, 8,235,82, 9,237,79, 9,239,77, 10,240,75, 11,241,73, 12,243,71, 13,244,69, 
      14,245,67, 16,246,65, 17,247,63, 18,248,61, 19,249,59, 20,250,57, 22,250,55, 23,251,53, 
      24,252,51, 26,252,49, 27,253,47, 29,253,45, 30,253,44, 32,253,42, 33,253,40, 35,254,38, 
      37,253,37, 38,253,35, 40,253,33, 42,253,32, 44,253,30, 45,252,29, 47,252,27, 49,251,26, 
      51,250,24, 53,250,23, 55,249,22, 57,248,20, 59,247,19, 61,246,18, 63,245,17, 65,244,16, 
      67,243,14, 69,241,13, 71,240,12, 73,239,11, 75,237,10, 77,235,9, 79,234,9, 82,232,8, 
      84,230,7, 86,229,6, 88,227,5, 90,225,5, 93,223,4, 95,221,3, 97,218,3, 99,216,2, 
      102,214,2, 104,212,2, 106,209,1, 109,207,1, 111,205,0, 113,202,0, 116,200,0, 118,197,0, 
      120,194,0, 123,192,0, 125,189,0, 127,186,0, 130,184,0, 132,181,0, 134,178,0, 137,175,0, 
      139,172,0, 141,169,0, 144,166,1, 146,163,1, 148,160,1, 151,157,2, 153,154,2, 155,151,3, 
      157,148,3, 160,145,4, 162,142,5, 164,139,5, 166,136,6, 169,133,7, 171,130,7, 173,126,8, 
      175,123,9, 177,120,10, 179,117,11, 182,114,12, 184,111,13, 186,108,14, 188,105,15, 190,102,16, 
      192,99,18, 194,96,19, 196,93,20, 198,90,21, 200,87,23, 202,84,24, 203,81,25, 205,78,27, 
      207,75,28, 209,72,30, 211,69,31, 212,67,33, 214,64,35, 216,61,36, 217,59,38, 219,56,39, 
      221,53,41, 222,51,43, 224,48,45, 225,46,47, 227,44,48, 228,41,50, 229,39,52, 231,37,54, 
      232,35,56, 233,32,58, 235,30,60, 236,28,62, 237,26,64, 238,24,66, 239,23,68, 240,21,70, 
      241,19,72, 242,18,74, 243,16,76, 244,14,79, 245,13,81, 246,12,83, 247,10,85, 247,9,87, 
      248,8,90, 249,7,92, 249,6,94, 250,5,96, 250,4,99, 251,3,101, 251,3,103, 252,2,106, 
      252,1,108, 252,1,110, 253,0,113, 253,0,115, 253,0,117, 253,0,119, 253,0,122, 254,0,125};

Generated by  Doxygen 1.6.0   Back to index