[GRASS-user] i.landsat.toar comments have only 0 value

Daniel Victoria daniel.victoria at gmail.com
Fri Feb 15 02:58:48 PST 2013


Hi all,

I just ran i.landsat.toar to get the radiance values for a TM5 image and I
noticed that the comments in the output metadata (from r.info) have some
problem.

1) I asked for radiance output but the comments says the image is
reflectance. Image values are consistent with radiance values so I believe
the line in the comments is wrong.

2) Values for earth-sun distance, digital number range etc are all 0.

I'm using  OSGeo4W, Grass7svn revision 54962

Bellow is the output from r.info so you can see what I mean
---------------------------------------------
 +----------------------------------------------------------------------------+
 | Layer:    rad2005_cor.1                  Date: Fri Feb 15 08:38:31
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_MTL.txt" sensor="tm5"
method="correcte\   |
 |    d" date="2005-05-15" sun_elevation=37.184 product_date="2012-12-01"
\   |
 |    percent=0.01 pixel=1000
rayleigh=0.0                                    |
 |
|
 +----------------------------------------------------------------------------+

Thanks
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130215/46b659f7/attachment.html>


More information about the grass-user mailing list