[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #JUN-146918]: jython: return tuple of GRIDded Objects



Hi Tyn-

> > However, to pass a tuple, you would create an array:
> >
> > tuple = []
> > tuple.append(newc)
> > tuple.append(newd)
> >
> > and access them as tuple[0] and tuple[1].
> >
> > What do you want to pass the tuple off to?
> 
> Should this:
> exportGridToNetcdf(grid, filename)
> 
> As in this example:
> exportGridToNetcdf(tuple[0, /path/filename)
> 
> work?

Theoretically, yes (with the closing ] after the 0).
 
Don

Ticket Details
===================
Ticket ID: JUN-146918
Department: Support IDV
Priority: Normal
Status: Open