[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[IDV #WWP-799279]: DataChoices and Level Selection
- Subject: [IDV #WWP-799279]: DataChoices and Level Selection
- Date: Tue, 18 Oct 2011 13:01:51 -0600
> Hi,
> I have attached the script, which loads in data from a GFS analysis and
> creates cross sections. The script is quite long, but the level selection
> occurs between lines 358-424. I create an array of multiple DataChoices in
> the for-loop at lines 403-409.
>
> -Roman
>
Roman,
It is difficult to run your script here, too many input to go through.
I briefly go through lines 403-409, I would suggest to replace line 409
LvlObjs.append(DatC.createClone()) with LvlObjs.append(DataChoice(DatC))
give it a try and let me know if it is not working.
Yuan
>
> address@hidden> wrote:
>
> > Greetings Roman,
> >
> > Would you mind sending your Jython scripts so that we can see exactly what
> > is going on and how to best help you get things working?
> >
> > Thanks!
> >
> > Sean
> >
> > > Full Name: Roman Kowch
> > > Email Address: address@hidden
> > > Organization: MIT
> > > Package Version: 2.8u1
> > > Operating System: Unix 64-bit
> > > Hardware:
> > > Description of problem:
> > >
> > > Hi,
> > >
> > > I have written Jython scripts that create a DataChoice object to get
> > > a 3D data field. Then I set the level on this DataChoice using the
> > > setLevelSelection() method. However, I'm trying to select multiple,
> > > specific levels for loading. Right now, my current approach is creating
> > > a DataChoice for every level that I wish to load. But how do I combine
> > > these separate DataChoices into just one to get a Data object by using
> > > DataChoice.getData(DataSelection)? Currently, I'm trying to create a
> > > ListDataChoice using the multiple DataChoices I've created, but I'm not
> > > having any success at the moment.
> > >
> > > Regards,
> > > Roman
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: WWP-799279
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
>
>
Ticket Details
===================
Ticket ID: WWP-799279
Department: Support IDV
Priority: Normal
Status: Open