[GRASS-user] i.landsat.toar comments have only 0 value
Daniel Victoria
daniel.victoria at gmail.com
Thu Oct 17 14:00:53 PDT 2013
Updating my last email. I also see the same problem in WinGrass 6.4.3
And on a similar topic, i.landsat.toar in Grass6 has one extra
correction method when compared with Grass7.
In grass6 there is a Corrected at-sensor values options which I don't
see in Grass7. Why is that?
Cheers
Daniel
On Thu, Oct 17, 2013 at 5:45 PM, Daniel Victoria
<daniel.victoria at gmail.com> wrote:
> Hi all,
>
> I'm also noticing the same problem that Beatrice and Yasser mentioned.
> I'm using WinGrass7_svn rev 58021 (installed using OSGeo4W).
>
> If I run i.landsat.toar and ask it to print the metadata (-p flag), it
> gives me the correct information from the MTL file
> ---
> (Thu Oct 17 17:26:35 2013)
> i.landsat.toar -p --overwrite --verbose input_prefix=tm5_2005_orig.
> output_prefix=reflec_topo_2005.
> metfile=C:\projetos\agspec\correcao_landsat\LT52180762005135CUB00\LT52180762005135CUB00_MTL.txt
> lsatmet=number,creation,date,sun_elev,sensor,bands,sunaz,time
> number=5
> creation=2012-12-01
> date=2005-05-15
> sun_elev=37.184012
> sensor=TM
> bands=7
> sunaz=39.877237
> Metada file is MTL file: new format
> ---
>
> But when I actually run i.landsat.toar (no -p flag), I get a bunch off zeros:
> ---
> i.landsat.toar --overwrite --verbose input_prefix=tm5_2005_orig.
> output_prefix=reflec_topo_2005.
> metfile=C:\projetos\agspec\correcao_landsat\LT52180762005135CUB00\LT52180762005135CUB00_MTL.txt
> lsatmet=number,creation,date,sun_elev,sensor,bands,sunaz,time
> Metada file is MTL file: new format
> RADIANCE & QUANTIZE from data of the metadata file
> LANDSAT: 5 SENSOR: TM
> ACQUISITION DATE 2005-05-15 [production date 2012-12-01]
> Earth-sun distance = 0.00000000
> Solar elevation angle = 0.00000000
> Atmospheric correction: UNCORRECTED
> -------------------
> BAND 1 (code 1)
> calibrated digital number (DN): 0.0 to 0.0
> calibration constants (L): 0.00000 to 0.00000
> at-sensor radiance = -0.00000000 * DN + -0.00000
> mean solar exoatmospheric irradiance (ESUN): -0.00000
> at-sensor reflectance = radiance / -0.00000
> -------------------
> BAND 2 (code 2)
> calibrated digital number (DN): 0.0 to 0.0
> calibration constants (L): 0.00000 to 0.00000
> at-sensor radiance = 0.00000000 * DN + -0.00000
> mean solar exoatmospheric irradiance (ESUN): 0.00000
> at-sensor reflectance = radiance / 0.00000
> -- clip --
>
> I seem to recall the command was working fine on Linux but I'm not sure...
>
> Cheers
> Daniel
>
> On Sat, Oct 5, 2013 at 11:27 PM, Yasser Said Lopez de Olmos Reyes
> <biolyasser at gmail.com> wrote:
>> I used osgeo4w stable version and 6.5.x svn yesterday's version. Both had 0s
>> in verbose output. Sorry, I'm not in my desktop right now.
>>
>>
>> 2013/10/5 Markus Neteler <neteler.osgeo at gmail.com>
>>>
>>> On Sat, Oct 5, 2013 at 5:20 AM, Yasser Said Lopez de Olmos Reyes
>>> <biolyasser at gmail.com> wrote:
>>> > I just noticed the same. Does this mean that i.landsat.toar did not read
>>> > the
>>> > values from the MTL file and, as a consequence, reflectances are wrong
>>> > or is
>>> > just a verbose display issue?
>>>
>>> Do you use the bugfixed version in from current SVN? Please post the
>>> output of
>>> g.version
>>>
>>> Markus
>>
>>
>>
>>
>> --
>> Saludos,
>>
>> Yasser
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
More information about the grass-user
mailing list