[GRASS-SVN] r43697 - grass-addons/imagery/i.landsat.toar
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 27 01:34:36 EDT 2010
Author: hamish
Date: 2010-09-27 05:34:36 +0000 (Mon, 27 Sep 2010)
New Revision: 43697
Modified:
grass-addons/imagery/i.landsat.toar/description.html
grass-addons/imagery/i.landsat.toar/landsat.h
grass-addons/imagery/i.landsat.toar/main.c
Log:
convert special chars to ascii
Modified: grass-addons/imagery/i.landsat.toar/description.html
===================================================================
--- grass-addons/imagery/i.landsat.toar/description.html 2010-09-26 22:44:58 UTC (rev 43696)
+++ grass-addons/imagery/i.landsat.toar/description.html 2010-09-27 05:34:36 UTC (rev 43697)
@@ -31,11 +31,11 @@
<p>
Radiometric calibration converts QCAL to <b>at-sensor radiance</b>, a
-radiometric quantity measured in W/(m²·sr·µm) using the equations:
+radiometric quantity measured in W/(m² * sr * µm) using the equations:
<ul>
<li> gain = (Lmax - Lmin) / (QCALmax - QCALmin)</li>
- <li> bias = Lmin - gain · QCALmin </li>
- <li> radiance = gain · QCAL + bias </li>
+ <li> bias = Lmin - gain * QCALmin </li>
+ <li> radiance = gain * QCAL + bias </li>
</ul>
where,
<em>Lmax</em> and <em>Lmin</em> are the calibration constants, and
@@ -46,13 +46,13 @@
<p>
Then, to calculate <b>at-sensor reflectance</b> the equations are:
<ul>
- <li> sun_radiance = [Esun · sin(e)] / (PI · d^2)</li>
+ <li> sun_radiance = [Esun * sin(e)] / (PI * d^2)</li>
<li> reflectance = radiance / sun_radiance </li>
</ul>
where,
<em>d</em> is the earth-sun distance in astronomical units,
<em>e</em> is the solar elevation angle, and
-<em>Esun</em> is the mean solar exoatmospheric irradiance in W/(m²·µm).
+<em>Esun</em> is the mean solar exoatmospheric irradiance in W/(m² * µm).
</p>
@@ -86,8 +86,8 @@
and <b>at-surface reflectance</b>, the equations are (not for thermal
bands):
<ul>
- <li> sun_radiance = TAUv · [Esun · sin(e) · TAUz + Esky] / (PI · d^2) </li>
- <li> radiance_path = radiance_dark - percent · sun_radiance </li>
+ <li> sun_radiance = TAUv * [Esun * sin(e) * TAUz + Esky] / (PI * d^2) </li>
+ <li> radiance_path = radiance_dark - percent * sun_radiance </li>
<li> radiance = (at-sensor_radiance - radiance_path) </li>
<li> reflectance = radiance / sun_radiance </li>
</ul>
@@ -111,7 +111,7 @@
<li>DOS3: TAUv = exp[-t/cos(sat_zenith)],
TAUz = exp[-t/sin(e)], Esky = rayleigh</li>
<li>DOS4: TAUv = exp[-t/cos(sat_zenith)],
- TAUz = exp[-t/sin(e)], Esky = PI · radiance_dark </li>
+ TAUz = exp[-t/sin(e)], Esky = PI * radiance_dark </li>
</ul>
<p>
Modified: grass-addons/imagery/i.landsat.toar/landsat.h
===================================================================
--- grass-addons/imagery/i.landsat.toar/landsat.h 2010-09-26 22:44:58 UTC (rev 43696)
+++ grass-addons/imagery/i.landsat.toar/landsat.h 2010-09-27 05:34:36 UTC (rev 43697)
@@ -14,8 +14,8 @@
/*****************************************************
* Landsat Structures
*
- * Lmax and Lmin in W / (m² · sr · µm) -> Radiance
- * Esun in W / (m² · µm) -> Irradiance
+ * Lmax and Lmin in W / (m^2 * sr * µm) -> Radiance
+ * Esun in W / (m^2 * µm) -> Irradiance
****************************************************/
#define MAX_BANDS 9
Modified: grass-addons/imagery/i.landsat.toar/main.c
===================================================================
--- grass-addons/imagery/i.landsat.toar/main.c 2010-09-26 22:44:58 UTC (rev 43696)
+++ grass-addons/imagery/i.landsat.toar/main.c 2010-09-27 05:34:36 UTC (rev 43697)
@@ -411,7 +411,7 @@
lsat.band[i].qcalmin, lsat.band[i].qcalmax);
fprintf(stdout, " calibration constants (L): %.3lf to %.3lf\n",
lsat.band[i].lmin, lsat.band[i].lmax);
- fprintf(stdout, " at-%s radiance = %.5lf · DN + %.5lf\n",
+ fprintf(stdout, " at-%s radiance = %.5lf * DN + %.5lf\n",
(method > DOS ? "surface" : "sensor"), lsat.band[i].gain,
lsat.band[i].bias);
if (lsat.band[i].thermal) {
More information about the grass-commit
mailing list