[kepler-users] RExpression actor

Oliver Soong soong at nceas.ucsb.edu
Mon Jan 4 15:44:41 PST 2010


There must've been something wrong with my eyes.  My bad.

I know very little about the PN director, but I've used RExpression
some under SDF.  It looks like RExpression is firing before the token
arrives.  I assume you also see the same problems with daily_Tmax.
Can you produce a simple workflow like RActor.xml that still shows the
problem, preferrably without custom actors and code that only you
have?

I tried running DataTurbine more or less by itself (attached
workflow), but I never actually got any data.  I'm not sure why that
is or why you're getting output on .growingDegreeDays copy 2.Display
at all.

Oliver


On Mon, Jan 4, 2010 at 11:49 AM, supriya gulati <supgulati at gmail.com> wrote:
> Hello Derik,
>
> Yes, you are right. Display2(output of RExpression actor) is the one that's
> not displaying. In your GrowingDgreeDays workflow, if I use SDF director
> then the output of DataTurbine actor will be an array of records. If I use
> PN director then the DataTurbine actor keeps running forever repeating the
> array of records at it's output for infinite times. My implementation of the
> workflow can work only in the presence of the PN Director. Also what I
> understand is that according to the logic of the compositeActor I have
> implemented, it will display the output only from the first output of the
> DataTurbine actor and will output nothing thereafter.
>
> I hope my explanation helps.
>
> On Mon, Jan 4, 2010 at 11:30 AM, Derik Barseghian
> <barseghian at nceas.ucsb.edu> wrote:
>>
>> But .growingDegreeDays copy 2.Display does display, it's the one at top
>> behind Diplay3 in the screenshot. Though maybe it's not from the current
>> firing.
>>
>> Supriya, I would take a close look at how things are firing with the PN
>> director, e.g. vs. SDF.
>>
>> Derik
>>
>>
>> On Jan 4, 2010, at 11:08 AM, Oliver Soong wrote:
>>
>>> Glancing at the output, I'd say the composite actor isn't actually
>>> outputting daily_Tmin, which is why .growingDegreeDays copy 2.Display
>>> never appears and why the RExpression can't find daily_Tmin.  Can we
>>> see the contents of  .growingDegreeDays copy 2.CompositeActor?  Having
>>> the xml would also help.
>>>
>>> Oliver
>>>
>>>
>>> On Mon, Jan 4, 2010 at 10:30 AM, Derik Barseghian
>>> <barseghian at nceas.ucsb.edu> wrote:
>>>>
>>>> Hi Supriya,
>>>>
>>>> Can you email the workflow(s) in xml? I'll take a look.
>>>>
>>>> Derik
>>>>
>>>> On Jan 4, 2010, at 10:12 AM, supriya gulati wrote:
>>>>
>>>>> Hello Everyone,
>>>>>
>>>>> I have a problem with running an RExpression actor with one of my
>>>>> composite actors. The output of the composite actor is connected to the
>>>>> input of the RExpression actor. If I run the RExpression actor
>>>>> independent
>>>>> of the composite actor, with same inputs that it receives from the
>>>>> composite
>>>>> actor, it runs. However when I run with the composite actor, it does
>>>>> not
>>>>> run. I get an error saying that the object not found.
>>>>>
>>>>> I have attached the workflow in the email.Please help.
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Supriya
>>>>> <Screen shot 2010-01-04 at 9.49.34 AM.png><Screen shot 2010-01-04 at
>>>>> 9.38.06
>>>>>
>>>>> AM.png><RexpressionScript.png>_______________________________________________
>>>>> Kepler-users mailing list
>>>>> Kepler-users at kepler-project.org
>>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>>
>>>> _______________________________________________
>>>> Kepler-users mailing list
>>>> Kepler-users at kepler-project.org
>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>>
>>>
>>>
>>>
>>> --
>>> Oliver Soong
>>> Donald Bren School of Environmental Science & Management
>>> University of California, Santa Barbara
>>> Santa Barbara, CA 93106-5131
>>> 805-893-7044 (office)
>>> 610-291-9706 (cell)
>>
>
>
>
> --
> Regards,
> Supriya
>



-- 
Oliver Soong
Donald Bren School of Environmental Science & Management
University of California, Santa Barbara
Santa Barbara, CA 93106-5131
805-893-7044 (office)
610-291-9706 (cell)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: growingDegreeDays copy 4.xml
Type: text/xml
Size: 42477 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20100104/5e32a1ea/attachment.xml>


More information about the Kepler-users mailing list