Re: FY-3D.


Ernst Lobsiger
 

On Sun, Nov 29, 2020 at 08:52 AM, Graham Woolf wrote:
Thanks for that - its these things that trip me up and knowing how to fix them
Graham

Maybe a somewhat more advanced Python code like

try:
   layers, height, width = new_scn[composite].shape
except:
   height, width = new_scn[composite].shape

would cover both multi channel composites and single channel "composites".
That's something to be tested for the HOWTO 2.0 somewhere in the future ...

Cheers,
Ernst

Join MSG-1@groups.io to automatically receive all group messages.