[GRASS-SVN] r46128 - grass/trunk/imagery/i.atcorr
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 28 08:23:31 EDT 2011
Author: mmetz
Date: 2011-04-28 05:23:31 -0700 (Thu, 28 Apr 2011)
New Revision: 46128
Modified:
grass/trunk/imagery/i.atcorr/main.cpp
Log:
fix typo, code comment
Modified: grass/trunk/imagery/i.atcorr/main.cpp
===================================================================
--- grass/trunk/imagery/i.atcorr/main.cpp 2011-04-28 12:12:21 UTC (rev 46127)
+++ grass/trunk/imagery/i.atcorr/main.cpp 2011-04-28 12:23:31 UTC (rev 46128)
@@ -251,9 +251,10 @@
FCELL prev_alt = -1.f;
FCELL prev_vis = -1.f;
int row, col, nrows, ncols;
+ /* switch on optimization automatically if elevation and/or visibility map is given */
bool optimize = (ialt_fd >= 0 || ivis_fd >= 0);
-#ifdef _NO_OPTIMZE_
+#ifdef _NO_OPTIMIZE_
optimize = false;
#endif
@@ -622,8 +623,6 @@
if (opts.etmafter->answer)
imask = (InputMask) (imask | ETM_AFTER);
- /* switch on optimization automatically if elevation and/or visibility map is given? */
-
/* process the input raster and produce our atmospheric corrected output raster. */
G_message(_("Atmospheric correction..."));
process_raster(iimg_fd, imask, iscale, ialt_fd, ivis_fd,
More information about the grass-commit
mailing list