[GRASS-user] Python calling landsat_toar function

Martin Landa landa.martin at gmail.com
Mon Jan 19 10:13:07 PST 2015


Hi,

2015-01-19 19:07 GMT+01:00 Pierric de Laborie <pierric.delaborie at gmail.com>:
> i.landsat.toar --overwrite --verbose input=LC81900362014284LGN00_B
> output=ator
> metfile=C:\Users\Administrator\Downloads\LC81900362014284LGN00\LC81900362014284LGN00\LC81900362014284LGN00_MTL.txt

right, valid parameters are 'input' and 'output'.

> i.landsat_toar(input_prefix="LC81900362014284LGN00_B",output_prefix=outpref,metfile="LC81900362014284LGN00_MTL.txt",
> overwrite="True", quiet="False")

Use 'input' instead of 'input_prefix', and 'output' instead of
'output_prefix'. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa


More information about the grass-user mailing list