Skip to content

Commit

Permalink
Feature 1568 ncl (#1570)
Browse files Browse the repository at this point in the history
* Per #1568, add python script to convert NCL *.rgb colormaps to MET *.ctable color tables. Also store 270 new or updated colortables that are the output from this script. Note that some of the existing colortables have changed ever so slightly. That's the result of some imprecise rounding earlier and more precise rounding now.

* Per #1568, update and rerun the rgb2ctable.py conversion script to write a header at the top of each colortable file to list the source NCL colormap.
  • Loading branch information
JohnHalleyGotway authored Nov 18, 2020
1 parent 35ac950 commit 542accb
Show file tree
Hide file tree
Showing 272 changed files with 30,617 additions and 2,078 deletions.
511 changes: 256 additions & 255 deletions met/data/colortables/NCL_colortables/3gauss.ctable

Large diffs are not rendered by default.

511 changes: 256 additions & 255 deletions met/data/colortables/NCL_colortables/3saw.ctable

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BkBlAqGrYeOrReViWh200.rgb"
//
0.0000 0.0050 { 0, 0, 0 }
0.0050 0.0100 { 0, 0, 10 }
0.0100 0.0150 { 0, 0, 20 }
Expand Down
25 changes: 25 additions & 0 deletions met/data/colortables/NCL_colortables/BlAqGrWh2YeOrReVi22.ctable
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// Derived from NCL colormap "BlAqGrWh2YeOrReVi22.rgb"
//
0.0000 0.0455 { 25, 12, 243 }
0.0455 0.0909 { 36, 12, 243 }
0.0909 0.1364 { 56, 73, 245 }
0.1364 0.1818 { 85, 156, 246 }
0.1818 0.2273 { 111, 233, 179 }
0.2273 0.2727 { 93, 201, 97 }
0.2727 0.3182 { 80, 170, 40 }
0.3182 0.3636 { 81, 164, 25 }
0.3636 0.4091 { 115, 195, 29 }
0.4091 0.4545 { 152, 220, 31 }
0.4545 0.5000 { 255, 255, 255 }
0.5000 0.5455 { 255, 255, 255 }
0.5455 0.5909 { 249, 254, 41 }
0.5909 0.6364 { 233, 222, 36 }
0.6364 0.6818 { 227, 194, 33 }
0.6818 0.7273 { 219, 161, 32 }
0.7273 0.7727 { 202, 96, 26 }
0.7727 0.8182 { 192, 49, 24 }
0.8182 0.8636 { 189, 3, 23 }
0.8636 0.9091 { 133, 0, 28 }
0.9091 0.9545 { 73, 1, 63 }
0.9545 1.0000 { 44, 4, 94 }
3 changes: 3 additions & 0 deletions met/data/colortables/NCL_colortables/BlAqGrYeOrRe.ctable
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BlAqGrYeOrRe.rgb"
//
0.0000 0.0100 { 0, 0, 255 }
0.0100 0.0200 { 0, 21, 255 }
0.0200 0.0300 { 0, 43, 255 }
Expand Down
3 changes: 3 additions & 0 deletions met/data/colortables/NCL_colortables/BlAqGrYeOrReVi200.ctable
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BlAqGrYeOrReVi200.rgb"
//
0.0000 0.0050 { 0, 0, 255 }
0.0050 0.0100 { 0, 8, 255 }
0.0100 0.0150 { 0, 15, 255 }
Expand Down
3 changes: 3 additions & 0 deletions met/data/colortables/NCL_colortables/BlGrYeOrReVi200.ctable
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BlGrYeOrReVi200.rgb"
//
0.0000 0.0050 { 0, 0, 255 }
0.0050 0.0100 { 0, 4, 249 }
0.0100 0.0150 { 0, 9, 243 }
Expand Down
3 changes: 3 additions & 0 deletions met/data/colortables/NCL_colortables/BlRe.ctable
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BlRe.rgb"
//
0.0000 0.0104 { 0, 0, 128 }
0.0104 0.0208 { 0, 0, 133 }
0.0208 0.0312 { 0, 0, 138 }
Expand Down
3 changes: 3 additions & 0 deletions met/data/colortables/NCL_colortables/BlWhRe.ctable
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BlWhRe.rgb"
//
0.0000 0.0099 { 0, 0, 128 }
0.0099 0.0198 { 0, 0, 133 }
0.0198 0.0297 { 0, 0, 138 }
Expand Down
5 changes: 3 additions & 2 deletions met/data/colortables/NCL_colortables/BlueDarkOrange18.ctable
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Blue to Dark Orange, 18 steps
// Taken from Department of Geography, University of Oregon
//
// Derived from NCL colormap "BlueDarkOrange18.rgb"
//
0.0000 0.0556 { 0, 102, 102 }
0.0556 0.1111 { 0, 153, 153 }
0.1111 0.1667 { 0, 204, 204 }
Expand Down
4 changes: 3 additions & 1 deletion met/data/colortables/NCL_colortables/BlueDarkRed18.ctable
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Taken from Department of Geography, University of Oregon
//
// Derived from NCL colormap "BlueDarkRed18.rgb"
//
0.0000 0.0556 { 36, 0, 216 }
0.0556 0.1111 { 24, 28, 247 }
0.1111 0.1667 { 40, 87, 255 }
Expand Down
5 changes: 3 additions & 2 deletions met/data/colortables/NCL_colortables/BlueGreen14.ctable
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Blue to Green
// Taken from Department of Geography, University of Oregon
//
// Derived from NCL colormap "BlueGreen14.rgb"
//
0.0000 0.0714 { 0, 0, 255 }
0.0714 0.1429 { 51, 51, 255 }
0.1429 0.2143 { 101, 101, 255 }
Expand Down
3 changes: 3 additions & 0 deletions met/data/colortables/NCL_colortables/BlueRed.ctable
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BlueRed.rgb"
//
0.0000 0.0040 { 25, 82, 255 }
0.0040 0.0079 { 27, 84, 255 }
0.0079 0.0119 { 28, 85, 255 }
Expand Down
3 changes: 3 additions & 0 deletions met/data/colortables/NCL_colortables/BlueRedGray.ctable
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//
// Derived from NCL colormap "BlueRedGray.rgb"
//
0.0000 0.0040 { 25, 82, 255 }
0.0040 0.0079 { 27, 84, 255 }
0.0079 0.0119 { 28, 85, 255 }
Expand Down
257 changes: 257 additions & 0 deletions met/data/colortables/NCL_colortables/BlueWhiteOrangeRed.ctable
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
//
// Derived from NCL colormap "BlueWhiteOrangeRed.rgb"
//
0.0000 0.0039 { 27, 44, 98 }
0.0039 0.0079 { 27, 46, 101 }
0.0079 0.0118 { 28, 48, 104 }
0.0118 0.0157 { 28, 50, 107 }
0.0157 0.0197 { 29, 52, 110 }
0.0197 0.0236 { 29, 53, 112 }
0.0236 0.0276 { 29, 55, 115 }
0.0276 0.0315 { 30, 57, 118 }
0.0315 0.0354 { 30, 59, 121 }
0.0354 0.0394 { 30, 61, 124 }
0.0394 0.0433 { 31, 63, 127 }
0.0433 0.0472 { 31, 65, 130 }
0.0472 0.0512 { 32, 67, 133 }
0.0512 0.0551 { 32, 68, 135 }
0.0551 0.0591 { 32, 70, 138 }
0.0591 0.0630 { 33, 72, 141 }
0.0630 0.0669 { 33, 74, 144 }
0.0669 0.0709 { 33, 76, 147 }
0.0709 0.0748 { 34, 78, 150 }
0.0748 0.0787 { 34, 80, 153 }
0.0787 0.0827 { 35, 82, 156 }
0.0827 0.0866 { 35, 83, 158 }
0.0866 0.0906 { 35, 85, 161 }
0.0906 0.0945 { 36, 89, 167 }
0.0945 0.0984 { 38, 92, 169 }
0.0984 0.1024 { 40, 95, 171 }
0.1024 0.1063 { 42, 98, 173 }
0.1063 0.1102 { 45, 102, 175 }
0.1102 0.1142 { 47, 105, 177 }
0.1142 0.1181 { 49, 108, 179 }
0.1181 0.1220 { 51, 111, 181 }
0.1220 0.1260 { 53, 114, 183 }
0.1260 0.1299 { 55, 117, 185 }
0.1299 0.1339 { 57, 120, 187 }
0.1339 0.1378 { 59, 123, 189 }
0.1378 0.1417 { 62, 127, 192 }
0.1417 0.1457 { 64, 130, 194 }
0.1457 0.1496 { 66, 133, 196 }
0.1496 0.1535 { 68, 136, 198 }
0.1535 0.1575 { 70, 139, 200 }
0.1575 0.1614 { 72, 142, 202 }
0.1614 0.1654 { 74, 145, 204 }
0.1654 0.1693 { 76, 148, 206 }
0.1693 0.1732 { 79, 152, 208 }
0.1732 0.1772 { 81, 155, 210 }
0.1772 0.1811 { 83, 158, 212 }
0.1811 0.1850 { 87, 164, 216 }
0.1850 0.1890 { 90, 166, 217 }
0.1890 0.1929 { 93, 169, 219 }
0.1929 0.1969 { 96, 171, 220 }
0.1969 0.2008 { 99, 173, 221 }
0.2008 0.2047 { 102, 175, 222 }
0.2047 0.2087 { 105, 178, 224 }
0.2087 0.2126 { 107, 180, 225 }
0.2126 0.2165 { 110, 182, 226 }
0.2165 0.2205 { 113, 184, 228 }
0.2205 0.2244 { 116, 187, 229 }
0.2244 0.2283 { 119, 189, 230 }
0.2283 0.2323 { 122, 191, 232 }
0.2323 0.2362 { 125, 193, 233 }
0.2362 0.2402 { 128, 196, 234 }
0.2402 0.2441 { 131, 198, 235 }
0.2441 0.2480 { 134, 200, 237 }
0.2480 0.2520 { 137, 202, 238 }
0.2520 0.2559 { 140, 205, 239 }
0.2559 0.2598 { 142, 207, 241 }
0.2598 0.2638 { 145, 209, 242 }
0.2638 0.2677 { 148, 211, 243 }
0.2677 0.2717 { 151, 214, 244 }
0.2717 0.2756 { 157, 218, 247 }
0.2756 0.2795 { 159, 219, 247 }
0.2795 0.2835 { 162, 220, 247 }
0.2835 0.2874 { 164, 221, 247 }
0.2874 0.2913 { 167, 222, 247 }
0.2913 0.2953 { 169, 222, 247 }
0.2953 0.2992 { 172, 223, 248 }
0.2992 0.3031 { 174, 224, 248 }
0.3031 0.3071 { 176, 225, 248 }
0.3071 0.3110 { 179, 226, 248 }
0.3110 0.3150 { 181, 227, 248 }
0.3150 0.3189 { 184, 228, 248 }
0.3189 0.3228 { 186, 229, 248 }
0.3228 0.3268 { 188, 229, 248 }
0.3268 0.3307 { 191, 230, 248 }
0.3307 0.3346 { 193, 231, 248 }
0.3346 0.3386 { 196, 232, 248 }
0.3386 0.3425 { 198, 233, 248 }
0.3425 0.3465 { 201, 234, 249 }
0.3465 0.3504 { 203, 235, 249 }
0.3504 0.3543 { 205, 236, 249 }
0.3543 0.3583 { 208, 236, 249 }
0.3583 0.3622 { 210, 237, 249 }
0.3622 0.3661 { 215, 239, 249 }
0.3661 0.3701 { 217, 240, 249 }
0.3701 0.3740 { 218, 240, 250 }
0.3740 0.3780 { 220, 241, 250 }
0.3780 0.3819 { 222, 242, 250 }
0.3819 0.3858 { 223, 242, 250 }
0.3858 0.3898 { 225, 243, 251 }
0.3898 0.3937 { 227, 244, 251 }
0.3937 0.3976 { 228, 244, 251 }
0.3976 0.4016 { 230, 245, 251 }
0.4016 0.4055 { 232, 246, 252 }
0.4055 0.4094 { 233, 246, 252 }
0.4094 0.4134 { 235, 247, 252 }
0.4134 0.4173 { 237, 248, 252 }
0.4173 0.4213 { 238, 248, 253 }
0.4213 0.4252 { 240, 249, 253 }
0.4252 0.4291 { 242, 250, 253 }
0.4291 0.4331 { 243, 250, 253 }
0.4331 0.4370 { 245, 251, 254 }
0.4370 0.4409 { 247, 252, 254 }
0.4409 0.4449 { 248, 252, 254 }
0.4449 0.4488 { 250, 253, 254 }
0.4488 0.4528 { 252, 254, 255 }
0.4528 0.4567 { 255, 255, 255 }
0.4567 0.4606 { 255, 255, 255 }
0.4606 0.4646 { 255, 255, 255 }
0.4646 0.4685 { 255, 255, 255 }
0.4685 0.4724 { 255, 255, 255 }
0.4724 0.4764 { 255, 255, 255 }
0.4764 0.4803 { 255, 255, 255 }
0.4803 0.4843 { 255, 255, 255 }
0.4843 0.4882 { 255, 255, 255 }
0.4882 0.4921 { 255, 255, 255 }
0.4921 0.4961 { 255, 255, 255 }
0.4961 0.5000 { 255, 255, 255 }
0.5000 0.5039 { 255, 255, 255 }
0.5039 0.5079 { 255, 255, 255 }
0.5079 0.5118 { 255, 255, 255 }
0.5118 0.5157 { 255, 255, 255 }
0.5157 0.5197 { 255, 255, 255 }
0.5197 0.5236 { 255, 255, 255 }
0.5236 0.5276 { 255, 255, 255 }
0.5276 0.5315 { 255, 255, 255 }
0.5315 0.5354 { 255, 255, 255 }
0.5354 0.5394 { 255, 255, 255 }
0.5394 0.5433 { 255, 255, 255 }
0.5433 0.5472 { 255, 255, 255 }
0.5472 0.5512 { 255, 254, 251 }
0.5512 0.5551 { 255, 253, 247 }
0.5551 0.5591 { 255, 253, 243 }
0.5591 0.5630 { 255, 252, 238 }
0.5630 0.5669 { 254, 251, 234 }
0.5669 0.5709 { 254, 250, 230 }
0.5709 0.5748 { 254, 249, 226 }
0.5748 0.5787 { 254, 248, 222 }
0.5787 0.5827 { 254, 248, 218 }
0.5827 0.5866 { 254, 247, 213 }
0.5866 0.5906 { 254, 246, 209 }
0.5906 0.5945 { 254, 245, 205 }
0.5945 0.5984 { 253, 244, 201 }
0.5984 0.6024 { 253, 243, 197 }
0.6024 0.6063 { 253, 243, 193 }
0.6063 0.6102 { 253, 242, 188 }
0.6102 0.6142 { 253, 241, 184 }
0.6142 0.6181 { 253, 240, 180 }
0.6181 0.6220 { 253, 239, 176 }
0.6220 0.6260 { 253, 238, 172 }
0.6260 0.6299 { 252, 238, 168 }
0.6299 0.6339 { 252, 237, 163 }
0.6339 0.6378 { 252, 235, 155 }
0.6378 0.6417 { 252, 233, 151 }
0.6417 0.6457 { 252, 230, 146 }
0.6457 0.6496 { 252, 228, 142 }
0.6496 0.6535 { 252, 225, 138 }
0.6535 0.6575 { 252, 223, 133 }
0.6575 0.6614 { 253, 220, 129 }
0.6614 0.6654 { 253, 218, 124 }
0.6654 0.6693 { 253, 215, 120 }
0.6693 0.6732 { 253, 213, 116 }
0.6732 0.6772 { 253, 210, 111 }
0.6772 0.6811 { 253, 208, 107 }
0.6811 0.6850 { 253, 206, 103 }
0.6850 0.6890 { 253, 203, 98 }
0.6890 0.6929 { 253, 201, 94 }
0.6929 0.6969 { 253, 198, 89 }
0.6969 0.7008 { 253, 196, 85 }
0.7008 0.7047 { 253, 193, 81 }
0.7047 0.7087 { 254, 191, 76 }
0.7087 0.7126 { 254, 188, 72 }
0.7126 0.7165 { 254, 186, 68 }
0.7165 0.7205 { 254, 183, 63 }
0.7205 0.7244 { 254, 181, 59 }
0.7244 0.7283 { 254, 176, 50 }
0.7283 0.7323 { 254, 173, 50 }
0.7323 0.7362 { 253, 170, 49 }
0.7362 0.7402 { 253, 167, 49 }
0.7402 0.7441 { 253, 164, 49 }
0.7441 0.7480 { 252, 161, 48 }
0.7480 0.7520 { 252, 159, 48 }
0.7520 0.7559 { 251, 156, 47 }
0.7559 0.7598 { 251, 153, 47 }
0.7598 0.7638 { 251, 150, 47 }
0.7638 0.7677 { 250, 147, 46 }
0.7677 0.7717 { 250, 144, 46 }
0.7717 0.7756 { 250, 141, 46 }
0.7756 0.7795 { 249, 138, 45 }
0.7795 0.7835 { 249, 135, 45 }
0.7835 0.7874 { 248, 132, 44 }
0.7874 0.7913 { 248, 129, 44 }
0.7913 0.7953 { 248, 126, 44 }
0.7953 0.7992 { 247, 124, 43 }
0.7992 0.8031 { 247, 121, 43 }
0.8031 0.8071 { 247, 118, 43 }
0.8071 0.8110 { 246, 115, 42 }
0.8110 0.8150 { 246, 112, 42 }
0.8150 0.8189 { 245, 106, 41 }
0.8189 0.8228 { 244, 103, 41 }
0.8228 0.8268 { 242, 100, 41 }
0.8268 0.8307 { 241, 97, 41 }
0.8307 0.8346 { 239, 94, 41 }
0.8346 0.8386 { 238, 90, 41 }
0.8386 0.8425 { 237, 87, 41 }
0.8425 0.8465 { 235, 84, 41 }
0.8465 0.8504 { 234, 81, 41 }
0.8504 0.8543 { 232, 78, 41 }
0.8543 0.8583 { 231, 75, 41 }
0.8583 0.8622 { 229, 72, 41 }
0.8622 0.8661 { 228, 69, 41 }
0.8661 0.8701 { 227, 65, 40 }
0.8701 0.8740 { 225, 62, 40 }
0.8740 0.8780 { 224, 59, 40 }
0.8780 0.8819 { 222, 56, 40 }
0.8819 0.8858 { 221, 53, 40 }
0.8858 0.8898 { 220, 50, 40 }
0.8898 0.8937 { 218, 47, 40 }
0.8937 0.8976 { 217, 44, 40 }
0.8976 0.9016 { 215, 40, 40 }
0.9016 0.9055 { 214, 37, 40 }
0.9055 0.9094 { 211, 31, 40 }
0.9094 0.9134 { 208, 31, 39 }
0.9134 0.9173 { 206, 30, 39 }
0.9173 0.9213 { 203, 30, 38 }
0.9213 0.9252 { 200, 29, 38 }
0.9252 0.9291 { 197, 29, 37 }
0.9291 0.9331 { 195, 29, 36 }
0.9331 0.9370 { 192, 28, 36 }
0.9370 0.9409 { 189, 28, 35 }
0.9409 0.9449 { 187, 27, 34 }
0.9449 0.9488 { 184, 27, 34 }
0.9488 0.9528 { 181, 26, 33 }
0.9528 0.9567 { 179, 26, 33 }
0.9567 0.9606 { 176, 26, 32 }
0.9606 0.9646 { 173, 25, 31 }
0.9646 0.9685 { 170, 25, 31 }
0.9685 0.9724 { 168, 24, 30 }
0.9724 0.9764 { 165, 24, 29 }
0.9764 0.9803 { 162, 24, 29 }
0.9803 0.9843 { 160, 23, 28 }
0.9843 0.9882 { 157, 23, 28 }
0.9882 0.9921 { 154, 22, 27 }
0.9921 0.9961 { 151, 22, 26 }
0.9961 1.0000 { 146, 21, 25 }
Loading

0 comments on commit 542accb

Please sign in to comment.