forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
416 changed files
with
28,532 additions
and
28,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
/* Broadband albedo Landsat OLI 8 | ||
* Simple weighted average from band 2 - 7 | ||
* Temporary until a publication creates an algorithm | ||
-* chan5 is OLI Band 6 (1.57-1.65) | ||
* chan5 is OLI Band 6 (1.57-1.65) | ||
* chan7 is OLI band 7 (2.11-2.29) | ||
* | ||
* | ||
* Temporary better fix than weighted average | ||
* ------------------------------------------ | ||
* r.regression.multi | ||
* mapx=LC81270512014115LGN00.toar.1,LC81270512014115LGN00.toar.2, | ||
* LC81270512014115LGN00.toar.3,LC81270512014115LGN00.toar.4, | ||
* LC81270512014115LGN00.toar.5,LC81270512014115LGN00.toar.6, | ||
* LC81270512014115LGN00.toar.7 | ||
* mapy=MCD43_2014113 | ||
* | ||
* mapy=MCD43_2014113 | ||
* | ||
*/ | ||
double bb_alb_landsat8(double shortbluechan, double bluechan, | ||
double greenchan, double redchan, double nirchan, | ||
double chan5, double chan7) | ||
double bb_alb_landsat8(double shortbluechan, double bluechan, double greenchan, | ||
double redchan, double nirchan, double chan5, | ||
double chan7) | ||
{ | ||
double result; | ||
|
||
result = 0.058674 + shortbluechan * 2.153642 + bluechan * (-2.242688) + | ||
greenchan * (-0.520669) + redchan * 0.622670 + nirchan * 0.129979 + | ||
chan5 * (-0.047970) + chan7 * 0.152228; | ||
greenchan * (-0.520669) + redchan * 0.622670 + nirchan * 0.129979 + | ||
chan5 * (-0.047970) + chan7 * 0.152228; | ||
return result; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
/* | ||
/* | ||
* Broadband albedo MODIS | ||
*/ | ||
double bb_alb_modis(double redchan, double nirchan, double chan3, | ||
double chan4, double chan5, double chan6, double chan7) | ||
double bb_alb_modis(double redchan, double nirchan, double chan3, double chan4, | ||
double chan5, double chan6, double chan7) | ||
{ | ||
double result; | ||
|
||
result = | ||
(0.22831 * redchan + 0.15982 * nirchan + | ||
0.09132 * (chan3 + chan4 + chan5) + 0.10959 * chan6 + | ||
0.22831 * chan7); | ||
0.09132 * (chan3 + chan4 + chan5) + 0.10959 * chan6 + 0.22831 * chan7); | ||
return result; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.