[GRASS-SVN] r37224 -
grass/branches/releasebranch_6_4/imagery/i.atcorr
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 13 17:03:05 EDT 2009
Author: neteler
Date: 2009-05-13 17:03:05 -0400 (Wed, 13 May 2009)
New Revision: 37224
Modified:
grass/branches/releasebranch_6_4/imagery/i.atcorr/Iwave.cpp
grass/branches/releasebranch_6_4/imagery/i.atcorr/description.html
grass/branches/releasebranch_6_4/imagery/i.atcorr/main.cpp
Log:
reverted some new IRC-LISS mentioning crept in
Modified: grass/branches/releasebranch_6_4/imagery/i.atcorr/Iwave.cpp
===================================================================
--- grass/branches/releasebranch_6_4/imagery/i.atcorr/Iwave.cpp 2009-05-13 20:57:21 UTC (rev 37223)
+++ grass/branches/releasebranch_6_4/imagery/i.atcorr/Iwave.cpp 2009-05-13 21:03:05 UTC (rev 37224)
@@ -10,12 +10,22 @@
#pragma warning(disable:4305) /* disable warning about initialization of a float by a double */
#endif
-/* Adding new band filters:
+/* Adding new band filters (see also Iwave.h):
*
+ * Note: the spectral range ranges 250 to 4000 nm (see Iwave.h) which is
+ * 4000-250=3750nm, and (4000-250)/1500=2.5. Hence, the resulting step
+ * size is 2.5 nm in the ffu.s array.
+ *
* o bands are defined by their discrete filter function
+ * o to compute a band position in the 1500 slots of ffu.s array, start
+ * with 250nm using 2.5nm increments. The result is the starting index
+ * for the spectral band.
* o 1500 is the number of wavelength spectral description slots.
* - a 'for' loop fills up the slots with 0
* - then the ffu.s array is filled with each of the spectral bands data one after the other.
+ * Example Lsat TM: (435-250) / 2.5 = 74
+ * o add iwave value, also in Iwave.h
+ * o add to GeomCond.cpp and GeomCond.h
*/
Modified: grass/branches/releasebranch_6_4/imagery/i.atcorr/description.html
===================================================================
--- grass/branches/releasebranch_6_4/imagery/i.atcorr/description.html 2009-05-13 20:57:21 UTC (rev 37223)
+++ grass/branches/releasebranch_6_4/imagery/i.atcorr/description.html 2009-05-13 21:03:05 UTC (rev 37224)
@@ -123,16 +123,10 @@
<td><b>etm+</b> (landsat7)</td>
<td>enter month,day,hh.ddd,long.,lat. *</td>
</tr>
-
-<tr>
-<td>9</td>
-<td><b>liss</b> (IRS 1C)</td>
-<td>enter month,day,hh.ddd,long.,lat. *</td>
-</tr>
</table>
<blockquote>
-* NOTE: for hrv, tm, etm+ and liss experiments, longitude and latitude
+* NOTE: for hrv, tm, and etm+ experiments, longitude and latitude
are the coordinates of the scene center. Latitude must be >0 for northern
hemisphere and <0 for southern. Longitude must be >0 for eastern hemisphere
and <0 for western.
@@ -481,10 +475,6 @@
<tr><td>66</td><td>etm+ (landsat7) band 7 (2.020-2.380)</td></tr>
<tr><td>67</td><td>etm+ (landsat7) band 8 (0.504-0.909)</td></tr>
-<tr><td>68</td><td><b>liss (IRC 1C)</b> band 2 (0.502-0.620)</td></tr>
-<tr><td>69</td><td>liss (IRC 1C) band 3 (0.612-0.700)</td></tr>
-<tr><td>70</td><td>liss (IRC 1C) band 4 (0.752-0.880)</td></tr>
-<tr><td>71</td><td>liss (IRC 1C) band 5 (1.452-1.760)</td></tr>
</table>
<h2>EXAMPLES</h2>
Modified: grass/branches/releasebranch_6_4/imagery/i.atcorr/main.cpp
===================================================================
--- grass/branches/releasebranch_6_4/imagery/i.atcorr/main.cpp 2009-05-13 20:57:21 UTC (rev 37223)
+++ grass/branches/releasebranch_6_4/imagery/i.atcorr/main.cpp 2009-05-13 21:03:05 UTC (rev 37224)
@@ -27,8 +27,6 @@
* Code clean-up and port to GRASS 6.3, 15.12.2006:
Yann Chemin, ychemin(at)gmail.com
-* Addition of IRS-1C LISS, Feb 2009: Markus Neteler
-
***************************************************************************/
#include <cstdlib>
More information about the grass-commit
mailing list