[otb-users] OTB Python setting parameters

2017-06-19 Thread Meylheuc Baptiste
Hello, I'm trying to write an otb quicklook function on Python, it works fine until I have to set the channel parameter: "-cl", both with the old and new way of setting it. In red, all the differents tests I've done, unsuccessfully. quicklook = otbApplication.Registry_CreateApplication('Quickl

Re: [otb-users] OTB Python setting parameters

2017-06-19 Thread Jordi Inglada
Hi, I think you have to call the UpdateParameters() method on your application object before setting the channels. Jordi On Mon 19-Jun-2017 at 11:02:03 +0200, Meylheuc Baptiste wrote: > Hello, > > I'm trying to write an otb quicklook function on Python, it works fine until > I have to set th

RE:[otb-users] OTB Python setting parameters

2017-06-19 Thread Meylheuc Baptiste
Thank you for your answer, It seems to work. Baptiste Meylheuc De : otb-users@googlegroups.com [otb-users@googlegroups.com] de la part de Jordi Inglada [jordi.ingl...@cesbio.eu] Envoyé : lundi 19 juin 2017 13:28 À : otb-users@googlegroups.com Objet : Re: