Skip to content

Commit 2017cb6

Browse files
Replaced all http links with https
1 parent 6099ad3 commit 2017cb6

File tree

96 files changed

+680
-692
lines changed

Some content is hidden

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

96 files changed

+680
-692
lines changed

LICENSE.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Creative Commons Corporation (“Creative Commons”) is not a law firm and does
88

99
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
1010

11-
* __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors).
11+
* __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](https://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors).
1212

13-
* __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees).
13+
* __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](https://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees).
1414

1515
## Creative Commons Attribution-ShareAlike 4.0 International Public License
1616

@@ -22,7 +22,7 @@ a. __Adapted Material__ means material subject to Copyright and Similar Rights t
2222

2323
b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
2424

25-
c. __BY-SA Compatible License__ means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License.
25+
c. __BY-SA Compatible License__ means a license listed at [creativecommons.org/compatiblelicenses](https://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License.
2626

2727
d. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
2828

@@ -168,6 +168,6 @@ c. No term or condition of this Public License will be waived and no failure to
168168

169169
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
170170

171-
> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the [CC0 Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
171+
> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the [CC0 Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](https://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
172172
>
173173
> Creative Commons may be contacted at creativecommons.org.

contribute/contribute.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Replace `GH_VERSION` with the version number that is displayed next to github-pa
6666
- Serve the page
6767
- First install all necessary gems with `bundle install`
6868
- then the site can be built with `bundle exec jekyll serve`
69-
- The site should then be visible on http://127.0.0.1:4000
69+
- The site should then be visible on `127.0.0.1:4000`
7070

7171
#### macOS
7272
- In the root directory of your fork open a terminal
@@ -101,4 +101,4 @@ Replace `GH_VERSION` with the version number that is displayed next to github-pa
101101
bundler: failed to load command: jekyll
102102
```
103103
- then the site can be built with `bundle exec jekyll serve`
104-
- The site should then be visible on http://127.0.0.1:4000
104+
- The site should then be visible on `127.0.0.1:4000`

data-fusion/uniform_colormaps/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Cleveland, William S., and McGill, Robert. “Graphical Perception: Theory, Expe
9393

9494
Judd, Deane B., et al. “Spectral Distribution of Typical Daylight as a Function of Correlated Color Temperature.” JOSA, vol. 54, no. 8, Optical Society of America, Aug. 1964, pp. 1031–40. www.osapublishing.org, doi:10.1364/JOSA.54.001031.
9595

96-
Kovesi, Peter. “Good Colour Maps: How to Design Them.” ArXiv:1509.03700 [Cs], Sept. 2015. arXiv.org, http://arxiv.org/abs/1509.03700.
96+
Kovesi, Peter. “Good Colour Maps: How to Design Them.” ArXiv:1509.03700 [Cs], Sept. 2015. arXiv.org, https://arxiv.org/abs/1509.03700.
9797

9898
Mason, Betsy. “Why Scientists Need to Be Better at Data Visualization.” Knowable Magazine | Annual Reviews, Annual Reviews, Nov. 2019. www.knowablemagazine.org, doi:10.1146/knowable-110919-1.
9999

landsat-8/indexdb/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ nav_exclude: true
55

66
# Landsat-8 indices from indexdatabase
77

8-
Following collection of remote sensing indices has been constructed from the information available at the [Index database (IDB)](http://www.indexdatabase.de/){:target="_blank"} for Landsat-8 satellite.
8+
Following collection of remote sensing indices has been constructed from the information available at the [Index database (IDB)](https://www.indexdatabase.de/){:target="_blank"} for Landsat-8 satellite.
99

1010
Javascript functions have been parsed from the data automatically, so please note there might be errors and feedback will be appreciated. Also note thate the intervals where various indices are mapped to colors are estimations and as such might not work best for all use cases. Tweak the scripts and let us know about your findings.
1111

landsat-8/indexdb/id_35.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Infrared percentage vegetation index
2-
// URL http://www.indexdatabase.de/db/si-single.php?rsindex_id=35=&sensor_id=168
2+
// URL https://www.indexdatabase.de/db/si-single.php?rsindex_id=35=&sensor_id=168
33

4-
let index = ((B05)/(B05+B04))/(2)*(((B04-B03)/(B04+B03))+1);
4+
let index = ((B05) / (B05 + B04)) / (2) * (((B04 - B03) / (B04 + B03)) + 1);
55
let min = 0.028;
66
let max = 0.57;
77

@@ -10,14 +10,14 @@ let max = 0.57;
1010
// The min/max values were computed automatically and may be poorly specified, feel free to change them to tweak the displayed range.
1111

1212
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];
13+
var low_color = [208 / 255, 88 / 255, 126 / 255];
14+
var high_color = [241 / 255, 234 / 255, 200 / 255];
1515
var overflow_color = [0, 0, 0];
1616

1717
return colorBlend(index, [min, min, max],
18-
[
19-
underflow_color,
20-
low_color,
21-
high_color,
22-
//overflow_color // uncomment to see overflows
23-
]);
18+
[
19+
underflow_color,
20+
low_color,
21+
high_color,
22+
//overflow_color // uncomment to see overflows
23+
]);

landsat-8/land_surface_temperature_comparison/script.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var maxC = 60;
2424
////INPUT DATA - FOR BETTER RESULTS, THE DATA SHOULD BE ADJUSTED
2525
// NVDIs for bare soil and NDVIv for full vegetation
2626
// Note: NVDIs for bare soil and NDVIv for full vegetation are needed to be evaluated for every scene. However in the custom script, default values are set regarding:
27-
// http://profhorn.meteor.wisc.edu/wxwise/satmet/lesson3/ndvi.html
27+
// https://profhorn.meteor.wisc.edu/wxwise/satmet/lesson3/ndvi.html
2828
// https://www.researchgate.net/post/Can_anyone_help_me_to_define_a_range_of_NDVI_value_to_extract_bare_soil_pixels_for_Landsat_TM
2929
// NVDIs=0.2, NDVIv=0.8
3030
// other source suggests global values: NVDIs=0.2, NDVIv=0.5; https://www.researchgate.net/publication/296414003_Algorithm_for_Automated_Mapping_of_Land_Surface_Temperature_Using_LANDSAT_8_Satellite_Data

landsat-8/land_surface_temperature_mapping/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ Other helpful references:
7878

7979
[9] Sentinel-Hub Forum, 2018. [Landsat Thermal](https://forum.sentinel-hub.com/t/landsat-thermal/489){:target="_blank"}.
8080

81-
[10] UW-Madison, 2019. [Vegetation Index ñ NDVI. Satellite Meteorlogy, Universoty of Wisconsin-Madison](http://profhorn.meteor.wisc.edu/wxwise/satmet/lesson3/ndvi.html){:target="_blank"}.
81+
[10] UW-Madison, 2019. [Vegetation Index ñ NDVI. Satellite Meteorlogy, Universoty of Wisconsin-Madison](https://profhorn.meteor.wisc.edu/wxwise/satmet/lesson3/ndvi.html){:target="_blank"}.
8282

8383
[11] Xiaolei, Y., Xulin G., Zhaocong W., 2014. [Land Surface Temperature Retrieval from Landsat 8 TIRSóComparison between Radiative Transfer Equation-Based Method, Split Window Algorithm and Single Channel Method. Department of Geography and Planning, University of Saskatchewan; School of Remote Sensing and Information Engineering](https://www.researchgate.net/publication/266909983_Land_Surface_Temperature_Retrieval_from_Landsat_8_TIRS-Comparison_between_Radiative_Transfer_Equation-Based_Method_Split_Window_Algorithm_and_Single_Channel_Method){:target="_blank"}.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//VERSION=3 (auto-converted from 1)
22
//// STARTING OPTIONS
33
// choose on basis of which band (B10 or B11) LST mapping will be done
4-
var band="B10";
4+
var band = "B10";
55

66
// for analysis of one image (OE Browser), choose option=0. In case of MULTI-TEMPORAL analyis, option values are following:
77
// 0 - outputs average LST in selected timeline (% of cloud coverage should be low, e.g. < 10%)
@@ -17,140 +17,140 @@ var maxC = 50;
1717
////INPUT DATA - FOR BETTER RESULTS, THE DATA SHOULD BE ADJUSTED
1818
// NVDIs for bare soil and NDVIv for full vegetation
1919
// Note: NVDIs for bare soil and NDVIv for full vegetation are needed to be evaluated for every scene. However in the custom script, default values are set regarding:
20-
// http://profhorn.meteor.wisc.edu/wxwise/satmet/lesson3/ndvi.html
20+
// https://profhorn.meteor.wisc.edu/wxwise/satmet/lesson3/ndvi.html
2121
// https://www.researchgate.net/post/Can_anyone_help_me_to_define_a_range_of_NDVI_value_to_extract_bare_soil_pixels_for_Landsat_TM
2222
// NVDIs=0.2, NDVIv=0.8
2323
// other source suggests global values: NVDIs=0.2, NDVIv=0.5; https://www.researchgate.net/publication/296414003_Algorithm_for_Automated_Mapping_of_Land_Surface_Temperature_Using_LANDSAT_8_Satellite_Data
24-
var NDVIs=0.2;
25-
var NDVIv=0.8;
24+
var NDVIs = 0.2;
25+
var NDVIv = 0.8;
2626

2727
// emissivity
28-
var waterE=0.991;
29-
var soilE=0.966;
30-
var vegetationE=0.973;
28+
var waterE = 0.991;
29+
var soilE = 0.966;
30+
var vegetationE = 0.973;
3131
//var buildingE=0.962;
32-
var C=0.009; //surface roughness, https://www.researchgate.net/publication/331047755_Land_Surface_Temperature_Retrieval_from_LANDSAT-8_Thermal_Infrared_Sensor_Data_and_Validation_with_Infrared_Thermometer_Camera
32+
var C = 0.009; //surface roughness, https://www.researchgate.net/publication/331047755_Land_Surface_Temperature_Retrieval_from_LANDSAT-8_Thermal_Infrared_Sensor_Data_and_Validation_with_Infrared_Thermometer_Camera
3333

3434
//central/mean wavelength in meters, B10 or B11
35-
var bCent= (band=="B10") ? 0.000010895 : 0.000012005;
35+
var bCent = (band == "B10") ? 0.000010895 : 0.000012005;
3636

3737
// rho =h*c/sigma=PlanckC*velocityLight/BoltzmannC
38-
var rho=0.01438; // m K
38+
var rho = 0.01438; // m K
3939

4040
//// visualization
4141
// if result should be std dev (option=2), overwrite minMaxC.
42-
if (option==2) {
42+
if (option == 2) {
4343
minC = 0;
44-
maxC = 25;
44+
maxC = 25;
4545
}
4646
let viz = ColorGradientVisualizer.createRedTemperature(minC, maxC);
4747

4848

4949
function setup() {
50-
return {
51-
input: [{
52-
bands: [
53-
"B03",
54-
"B04",
55-
"B05",
56-
"B10",
57-
"B11"
58-
]
59-
}],
60-
output: { bands: 3 }
61-
}
50+
return {
51+
input: [{
52+
bands: [
53+
"B03",
54+
"B04",
55+
"B05",
56+
"B10",
57+
"B11"
58+
]
59+
}],
60+
output: { bands: 3 }
61+
}
6262
}
6363

6464

6565
//emissivity calc
6666
//https://www.researchgate.net/publication/296414003_Algorithm_for_Automated_Mapping_of_Land_Surface_Temperature_Using_LANDSAT_8_Satellite_Data
6767
//https://www.academia.edu/27239873/Investigating_Land_Surface_Temperature_Changes_Using_Landsat_Data_in_Konya_Turkey
68-
function LSEcalc(NDVI,Pv) {
68+
function LSEcalc(NDVI, Pv) {
6969
var LSE;
7070
if (NDVI < 0) {
7171
//water
72-
LSE=waterE;
72+
LSE = waterE;
7373
} else if (NDVI < NDVIs) {
7474
//soil
75-
LSE=soilE;
75+
LSE = soilE;
7676
} else if (NDVI > NDVIv) {
7777
//vegetation
78-
LSE=vegetationE;
78+
LSE = vegetationE;
7979
} else {
8080
//mixtures of vegetation and soil
81-
LSE=vegetationE*Pv+soilE*(1-Pv)+C;
81+
LSE = vegetationE * Pv + soilE * (1 - Pv) + C;
8282
}
8383
return LSE;
8484
}
8585

8686
function evaluatePixelOrig(samples) {
8787
// starting values max, avg, stdev, reduce N, N for multi-temporal
88-
var LSTmax=-999;
89-
var LSTavg=0;
90-
var LSTstd=0;
91-
var reduceNavg=0;
92-
var N=samples.length;
93-
88+
var LSTmax = -999;
89+
var LSTavg = 0;
90+
var LSTstd = 0;
91+
var reduceNavg = 0;
92+
var N = samples.length;
93+
9494
//to caputure all values of one pixel for for whole timeline in mosaic order
9595
var LSTarray = [];
96-
96+
9797
// multi-temporal: loop all samples in selected timeline
98-
for (var i=0;i<N;i++) {
98+
for (var i = 0; i < N; i++) {
9999
//// for LST
100100
// B10 or B11
101-
var Bi= (band=="B10") ? samples[i].B10 : samples[i].B11;
101+
var Bi = (band == "B10") ? samples[i].B10 : samples[i].B11;
102102
var B03i = samples[i].B03;
103103
var B04i = samples[i].B04;
104-
var B05i = samples[i].B05;
105-
104+
var B05i = samples[i].B05;
105+
106106
// some images have errors, whole area is either B10<173K or B10>65000K. Also errors, where B04 and B05 =0. Therefore no processing if that happens, in addition for average and stdev calc, N has to be reduced!
107-
if ((Bi>173 && Bi<65000) && (B03i>0 && B04i>0 && B05i>0)) {
108-
// ok image
107+
if ((Bi > 173 && Bi < 65000) && (B03i > 0 && B04i > 0 && B05i > 0)) {
108+
// ok image
109109
//1 Kelvin to C
110-
var b10BTi=Bi-273.15;
110+
var b10BTi = Bi - 273.15;
111111
//2 NDVI - Normalized Difference vegetation Index
112-
var NDVIi=(B05i-B04i)/(B05i+B04i);
112+
var NDVIi = (B05i - B04i) / (B05i + B04i);
113113
//3 PV - proportional vegetation
114-
var PVi=Math.pow(((NDVIi-NDVIs)/(NDVIv-NDVIs)), 2);
114+
var PVi = Math.pow(((NDVIi - NDVIs) / (NDVIv - NDVIs)), 2);
115115
//4 LSE land surface emmisivity
116-
var LSEi=LSEcalc(NDVIi,PVi);
116+
var LSEi = LSEcalc(NDVIi, PVi);
117117
//5 LST
118-
var LSTi=(b10BTi/(1+(((bCent*b10BTi)/rho)*Math.log(LSEi))));
119-
118+
var LSTi = (b10BTi / (1 + (((bCent * b10BTi) / rho) * Math.log(LSEi))));
119+
120120
////temporary calculation
121121
//avg
122-
LSTavg=LSTavg+LSTi;
122+
LSTavg = LSTavg + LSTi;
123123
//max
124-
if (LSTi>LSTmax) {LSTmax=LSTi;}
124+
if (LSTi > LSTmax) { LSTmax = LSTi; }
125125
//array
126-
LSTarray.push(LSTi);
126+
LSTarray.push(LSTi);
127127
} else {
128-
// image NOT ok
128+
// image NOT ok
129129
++reduceNavg;
130-
}
130+
}
131131
}
132132
// correct N value if some images have errors and are not analysed
133-
N=N-reduceNavg;
134-
133+
N = N - reduceNavg;
134+
135135
// calc final avg value
136-
LSTavg=LSTavg/N;
137-
136+
LSTavg = LSTavg / N;
137+
138138
// calc final stdev value
139-
for (var i=0;i<LSTarray.length;i++) {
140-
LSTstd=LSTstd+(Math.pow(LSTarray[i]-LSTavg, 2));
141-
}
142-
LSTstd=(Math.pow(LSTstd/(LSTarray.length-1), 0.5));
143-
139+
for (var i = 0; i < LSTarray.length; i++) {
140+
LSTstd = LSTstd + (Math.pow(LSTarray[i] - LSTavg, 2));
141+
}
142+
LSTstd = (Math.pow(LSTstd / (LSTarray.length - 1), 0.5));
143+
144144
// WHICH LST to output, it depends on option variable: 0 for one image analysis (OE Browser); MULTI-TEMPORAL: 0->avg; 1->max; 2->stdev
145-
let outLST= (option==0)
145+
let outLST = (option == 0)
146146
? LSTavg
147-
: (option==1)
147+
: (option == 1)
148148
? LSTmax
149149
: LSTstd;
150-
150+
151151
//// output to image
152152
return viz.process(outLST);
153153
}
154154
function evaluatePixel(sample, scene, metadata, customData, outputMetadata) {
155-
return evaluatePixelOrig([sample], [scene], metadata, customData, outputMetadata);
155+
return evaluatePixelOrig([sample], [scene], metadata, customData, outputMetadata);
156156
}

0 commit comments

Comments
 (0)