Skip to content

Commit 32788df

Browse files
committed
Estimated index bounds; updated colormaps
1 parent 76a4820 commit 32788df

File tree

401 files changed

+8379
-401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+8379
-401
lines changed

landsat-8/indexdb/id_1.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,22 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=1=&sensor_id=168
33

44
let index = (B06)/(B07);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = 0.058;
6+
let max = 17.047;
7+
8+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
9+
// To see black when it is more than max, uncomment the last line of colorBlend.
10+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
11+
12+
var underflow_color = [1, 1, 1];
13+
var low_color = [208/255, 88/255, 126/255];
14+
var high_color = [241/255, 234/255, 200/255];
15+
var overflow_color = [0, 0, 0];
16+
17+
return colorBlend(index, [min, min, max],
18+
[
19+
underflow_color,
20+
low_color,
21+
high_color,
22+
//overflow_color // uncomment to see overflows
23+
]);

landsat-8/indexdb/id_11.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,26 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=11=&sensor_id=168
33

44
let index = (B04-B02)/(B04);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = -16.256;
6+
let max = 0.942;
7+
let zero = 0.0;
8+
9+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
10+
// To see black when it is more than max, uncomment the last line of colorBlend.
11+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
12+
// This index crosses zero, so a diverging color map is used. To tweak the value of the break in the color map, change the variable 'zero'.
13+
14+
var underflow_color = [1, 1, 1];
15+
var low_color = [208/255, 88/255, 126/255];
16+
var high_color = [241/255, 234/255, 200/255];
17+
var zero_color = [0, 147/255, 146/255];
18+
var overflow_color = [0, 0, 0];
19+
20+
return colorBlend(index, [min, min, zero, max],
21+
[
22+
underflow_color,
23+
low_color,
24+
zero_color, // divergent step at zero
25+
high_color,
26+
//overflow_color // uncomment to see overflows
27+
]);

landsat-8/indexdb/id_12.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,22 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=12=&sensor_id=168
33

44
let index = (B05)/(B04);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = 0.058;
6+
let max = 16.87;
7+
8+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
9+
// To see black when it is more than max, uncomment the last line of colorBlend.
10+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
11+
12+
var underflow_color = [1, 1, 1];
13+
var low_color = [208/255, 88/255, 126/255];
14+
var high_color = [241/255, 234/255, 200/255];
15+
var overflow_color = [0, 0, 0];
16+
17+
return colorBlend(index, [min, min, max],
18+
[
19+
underflow_color,
20+
low_color,
21+
high_color,
22+
//overflow_color // uncomment to see overflows
23+
]);

landsat-8/indexdb/id_125.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,26 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=125=&sensor_id=168
33

44
let index = (0.1*B05-B04)/(0.1*B05+B04);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = -0.988;
6+
let max = 0.262;
7+
let zero = 0.0;
8+
9+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
10+
// To see black when it is more than max, uncomment the last line of colorBlend.
11+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
12+
// This index crosses zero, so a diverging color map is used. To tweak the value of the break in the color map, change the variable 'zero'.
13+
14+
var underflow_color = [1, 1, 1];
15+
var low_color = [208/255, 88/255, 126/255];
16+
var high_color = [241/255, 234/255, 200/255];
17+
var zero_color = [0, 147/255, 146/255];
18+
var overflow_color = [0, 0, 0];
19+
20+
return colorBlend(index, [min, min, zero, max],
21+
[
22+
underflow_color,
23+
low_color,
24+
zero_color, // divergent step at zero
25+
high_color,
26+
//overflow_color // uncomment to see overflows
27+
]);

landsat-8/indexdb/id_128.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,26 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=128=&sensor_id=168
33

44
let index = (B05)/(B03)-1;
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = -0.941;
6+
let max = 15.93;
7+
let zero = 0.0;
8+
9+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
10+
// To see black when it is more than max, uncomment the last line of colorBlend.
11+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
12+
// This index crosses zero, so a diverging color map is used. To tweak the value of the break in the color map, change the variable 'zero'.
13+
14+
var underflow_color = [1, 1, 1];
15+
var low_color = [208/255, 88/255, 126/255];
16+
var high_color = [241/255, 234/255, 200/255];
17+
var zero_color = [0, 147/255, 146/255];
18+
var overflow_color = [0, 0, 0];
19+
20+
return colorBlend(index, [min, min, zero, max],
21+
[
22+
underflow_color,
23+
low_color,
24+
zero_color, // divergent step at zero
25+
high_color,
26+
//overflow_color // uncomment to see overflows
27+
]);

landsat-8/indexdb/id_135.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,26 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=135=&sensor_id=168
33

44
let index = (B05-B02)/(B05+B02);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = -0.889;
6+
let max = 0.889;
7+
let zero = 0.0;
8+
9+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
10+
// To see black when it is more than max, uncomment the last line of colorBlend.
11+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
12+
// This index crosses zero, so a diverging color map is used. To tweak the value of the break in the color map, change the variable 'zero'.
13+
14+
var underflow_color = [1, 1, 1];
15+
var low_color = [208/255, 88/255, 126/255];
16+
var high_color = [241/255, 234/255, 200/255];
17+
var zero_color = [0, 147/255, 146/255];
18+
var overflow_color = [0, 0, 0];
19+
20+
return colorBlend(index, [min, min, zero, max],
21+
[
22+
underflow_color,
23+
low_color,
24+
zero_color, // divergent step at zero
25+
high_color,
26+
//overflow_color // uncomment to see overflows
27+
]);

landsat-8/indexdb/id_136.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,26 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=136=&sensor_id=168
33

44
let index = (0.1*B05-B02)/(0.1*B05+B02);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = -0.989;
6+
let max = 0.259;
7+
let zero = 0.0;
8+
9+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
10+
// To see black when it is more than max, uncomment the last line of colorBlend.
11+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
12+
// This index crosses zero, so a diverging color map is used. To tweak the value of the break in the color map, change the variable 'zero'.
13+
14+
var underflow_color = [1, 1, 1];
15+
var low_color = [208/255, 88/255, 126/255];
16+
var high_color = [241/255, 234/255, 200/255];
17+
var zero_color = [0, 147/255, 146/255];
18+
var overflow_color = [0, 0, 0];
19+
20+
return colorBlend(index, [min, min, zero, max],
21+
[
22+
underflow_color,
23+
low_color,
24+
zero_color, // divergent step at zero
25+
high_color,
26+
//overflow_color // uncomment to see overflows
27+
]);

landsat-8/indexdb/id_14.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,22 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=14=&sensor_id=168
33

44
let index = (B07)/(B04);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = 0.058;
6+
let max = 17.109;
7+
8+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
9+
// To see black when it is more than max, uncomment the last line of colorBlend.
10+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
11+
12+
var underflow_color = [1, 1, 1];
13+
var low_color = [208/255, 88/255, 126/255];
14+
var high_color = [241/255, 234/255, 200/255];
15+
var overflow_color = [0, 0, 0];
16+
17+
return colorBlend(index, [min, min, max],
18+
[
19+
underflow_color,
20+
low_color,
21+
high_color,
22+
//overflow_color // uncomment to see overflows
23+
]);

landsat-8/indexdb/id_16.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,26 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=16=&sensor_id=168
33

44
let index = 2.5*(B05-B04)/((B05+6*B04-7.5*B02)+1);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = -8.185;
6+
let max = 7.886;
7+
let zero = 0.0;
8+
9+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
10+
// To see black when it is more than max, uncomment the last line of colorBlend.
11+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
12+
// This index crosses zero, so a diverging color map is used. To tweak the value of the break in the color map, change the variable 'zero'.
13+
14+
var underflow_color = [1, 1, 1];
15+
var low_color = [208/255, 88/255, 126/255];
16+
var high_color = [241/255, 234/255, 200/255];
17+
var zero_color = [0, 147/255, 146/255];
18+
var overflow_color = [0, 0, 0];
19+
20+
return colorBlend(index, [min, min, zero, max],
21+
[
22+
underflow_color,
23+
low_color,
24+
zero_color, // divergent step at zero
25+
high_color,
26+
//overflow_color // uncomment to see overflows
27+
]);

landsat-8/indexdb/id_18.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,22 @@
22
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=18=&sensor_id=168
33

44
let index = (B07)/(B05)+(B03)/(B04);
5-
return colorBlend(index, [0, 0.2, 0.4, 0.6, 0.8, 1], [[0,0,0], [0.1,0.2,0.5], [0.25,0.4,0.5], [0.4,0.6,0.5], [0.75,0.8,0.5], [1,1,0.5]]);
5+
let min = 0.36;
6+
let max = 23.828;
7+
8+
// colorBlend will return a color when the index is between min and max and white when it is less than min.
9+
// To see black when it is more than max, uncomment the last line of colorBlend.
10+
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
11+
12+
var underflow_color = [1, 1, 1];
13+
var low_color = [208/255, 88/255, 126/255];
14+
var high_color = [241/255, 234/255, 200/255];
15+
var overflow_color = [0, 0, 0];
16+
17+
return colorBlend(index, [min, min, max],
18+
[
19+
underflow_color,
20+
low_color,
21+
high_color,
22+
//overflow_color // uncomment to see overflows
23+
]);

0 commit comments

Comments
 (0)