[GRASS-user] i.landsat.toar comments have only 0 value
Daniel Victoria
daniel.victoria at gmail.com
Fri Feb 15 09:20:52 PST 2013
I upgraded to Grass 7svn rev 55062. That's the latest version available in
OSGeo4W
1) Using i.landsat.toar with the NEW MTL and verbose command output:
Output in the "Command output" window shows the expected values for
calibration constants, DN etc for each band
r.info on the output images DO NOT SHOW calibration parameters and
states that the image is Reflectance of landsat-5 TM, even thou I asked for
radiance (-r flag)
2) Using i.landsat.toar with the OLD MTL and verbose command output:
Same as using the new MTL, that is, parameters show up in the command
window but do not appear in r.info output
Bellow ir r.info output of image generated using old MTL.
-----------------------------
GRASS 7.0.svn> g.version -g
version=7.0.svn
date=2013
revision=55062
build_date=2013-02-15
GRASS 7.0.svn> r.info rad2005_cor.1
+----------------------------------------------------------------------------+
| Layer: rad2005_cor.1 Date: Fri Feb 15 15:10:42
2013 |
| Mapset: PERMANENT Login of Creator:
daniel |
| Location:
corr_Atm_utm23s |
| DataBase:
C:\grassdata |
| Title: ( rad2005_cor.1
) |
| Timestamp:
none |
|----------------------------------------------------------------------------|
|
|
| Type of Map: raster Number of Categories:
0 |
| Data Type:
DCELL |
| Rows:
7001 |
| Columns:
7951 |
| Total Cells:
55664951 |
| Projection: UTM (zone
-23) |
| N: 7548415.00000001 S: 7338385 Res:
30 |
| E: 623415 W: 384884.99999999 Res:
30 |
| Range of data: min = 0 max =
194.52 |
|
|
| Data
Description: |
| generated by
i.landsat.toar |
|
|
|
Comments: |
| Reflectance of Landsat-5 TM (method
corrected) |
|
---------------------------------------------------------------- |
| Acquisition date ......................
2005-05-15 |
| Production date .......................
2012-12-01 |
|
|
| Earth-sun distance (d) ................
-0.00000000 |
| Digital number (DN) range ............. 0 to
0 |
| Calibration constants (Lmin to Lmax) .. +0.000 to
+0.000 |
| DN to Radiance (gain and bias) ........ -0.00000 and
+0.00000 |
| Mean solar irradiance (ESUN) ..........
-0.000 |
| Reflectance = Radiance divided by .....
-0.00000 |
|
----------------------------------------------------------------- |
|
|
| i.landsat.toar -r input_prefix="tm5_2005_orig."
output_prefix="rad20\ |
| 05_cor."
metfile="C:\projetos\agspec\correcao_landsat\LT521807620051\ |
| 35CUB00\LT52180762005135CUB00_MTLold.txt" sensor="tm5"
method="corre\ |
| cted" date="2005-05-15" sun_elevation=37.184
product_date="2012-12-0\ |
| 1" percent=0.01 pixel=1000
rayleigh=0.0 |
|
|
+----------------------------------------------------------------------------+
Thanks
Daniel
On Fri, Feb 15, 2013 at 11:14 AM, Nikos Alexandris
<nik at nikosalexandris.net>wrote:
> Daniel,
>
> if you have the old MTL files beforehand, it might be better right now.
> Along
> with another few changes, I've sent a diff to Yann C who will submit them
> probably tonight.
>
> Best, N
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130215/4f8b0454/attachment-0001.html>
More information about the grass-user
mailing list