[kepler-dev] Ecogrid - EML problems
Christopher Brooks
cxh at eecs.berkeley.edu
Mon Dec 12 12:27:44 PST 2005
Hi Dan,
About ImageJ, I totally see the value of being able to modify the
parameters and then rerunning it. If there was enough demand, perhaps
auto closing could be a parameter?
I believe the way the Plot and Display actors close is by implementing
ptolemy.actor.gui.Placeable and including an inner class that
uses extends a TableauFrame class. Getting this to work right is
tricky, I've always had a hard time with it. If you like how
ImageJ works, then there is probably no need to implement the closing
facility.
_Christopher
--------
Christopher,
I am looking into the error in the "Average Count Data by Species"
demo. (It fails for me too, so something got changed.)
With regard to the ImageJ window, orginally I left it open because I
wasn't sure how to close with the workflow! But then I found leaving it
open allowed me to change parameters in a workflow, rerun it, and then
see comparison plots. So I found that leaving it open was sometimes
useful. But I'm not really opposed to automatically closing it if people
thnk that makes more sense. [Any suggestions on where I look for code to
close a display when the workflow closes.]
Dan
Christopher Brooks wrote:
>Thanks all, the EML source now works for me from home.
>
>The "Average Count Data by Species" demo fails for me. I'm fairly
>certain Dan knows about this failure. I've include the stack trace
>below.
>
>Other than this problem, the R demos all work for me. The reason I'm
>interested is as I told Dan on Friday:
>
>
>
>>We have Professor Arne Huseby from Univ. of Oslo visiting us for the
>>academic year. He is in the statistics department there, and develops
>>code in Java for risk management research. We thought it would be
>>interesting to look at Kepler's R interface. In addition, I wanted to
>>demo Kepler to the Ptolemy group on Tuesday. I'm also interested in
>>the Kepler search mechanism and the documentation effort.
>>
>>
>
>One other minor issue is that it would be nice if the ImageJ window
>would close when I closed the model. Some people might disagree on
>this one though. The reason I find this is useful is because it makes
>it easier to quickly run through all the demos.
>
>Anyway, here's the stack trace:
>
>ptolemy.kernel.util.IllegalActionException: in
>.gce-mollusc-avg_by_spp_R.manager
>Because:
>For input string: "T"
> at ptolemy.actor.Manager.execute(Manager.java:382)
> at ptolemy.actor.Manager.run(Manager.java:968)
> at ptolemy.actor.Manager$3.run(Manager.java:1020)
>Caused by: java.lang.NumberFormatException: For input string: "T"
> at java.lang.NumberFormatException.forInputString(NumberFormatExcep
tion.java:48)
> at java.lang.Integer.parseInt(Integer.java:468)
> at java.lang.Integer.<init>(Integer.java:609)
> at org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource.tra
nsformStringVectorToTokenArray(Eml200DataSource.java:2169)
> at org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource.fir
eAsColumnVector(Eml200DataSource.java:747)
> at org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource.fir
e(Eml200DataSource.java:913)
> at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:309)
> at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticScheduli
ngDirector.java:171)
> at ptolemy.actor.CompositeActor.fire(CompositeActor.java:331)
> at ptolemy.actor.Manager.iterate(Manager.java:600)
> at ptolemy.actor.Manager.execute(Manager.java:318)
> ... 2 more
>
>_Christopher
>
>
>Matthew Brooke <brooke at nceas.ucsb.edu> writes:
>--------
>
>
> works for me now; didn't before.
>
>
>
> Matt Jones wrote:
> > Sorry, I figured out the problem -- the firewall on the new server w
as
> > configured to only allow connections from nceas hosts, so home machi
nes
> > and Chris' machines at Berkeley were failing. I've opened up the
> > firewall so try again and let me know if it works.
> >
> > Matt
> >
> > Dan Higgins wrote:
> >> Jing,
> >> I just tried from my campus machine and everything works OK; but
this
>
> >> morning I was still having the same problems on my home machine! I
must
> >> have something set wrong there :-( Sorry for the false alarm
> >>
> >> Dan
> >>
> >> ---
> >>
> >> Jing Tao wrote:
> >>
> >>> H, Dan:
> >>>
> >>> I just started kepler and run the eml simple polt workflow and eve
ry
> >>> thing looked fine. Then I searched "IPCC" and got 335 results. I
> >>> dragged "Base Layer ..." package to convas and it worked fine.
> >>>
> >>> So it seemed to me Ecogrid is fine. I am not sure if someboday
> >>> restarted it or not. So wound you mind try again? (by the way, I d
id
> >>> the test in campus).
> >>>
> >>> Thanks,
> >>>
> >>> Jing
> >>>
> >>> Jing Tao
> >>> National Center for Ecological
> >>> Analysis and Synthesis (NCEAS)
> >>> 735 State St. Suite 204
> >>> Santa Barbara, CA 93101
> >>>
> >>> On Sun, 11 Dec 2005, Dan Higgins wrote:
> >>>
> >>>> Date: Sun, 11 Dec 2005 13:12:29 -0800
> >>>> From: Dan Higgins <higgins at nceas.ucsb.edu>
> >>>> To: Kepler-Dev <kepler-dev at ecoinformatics.org>, Jing Tao
> >>>> <tao at nceas.ucsb.edu>
> >>>> Cc: Matt Jones <jones at nceas.ucsb.edu>
> >>>> Subject: Ecogrid - EML problems
> >>>>
> >>>> Hi All,
> >>>> It looks like the Ecogrid/EML datasource is non-operational!
> >>>> Apparently, none of the Kepler workflow with EML datasources are
> >>>> working. (The icon just stays red (busy) forever. Searches return
no
> >>>> results. (But Digir searches and data sources apparently are work
ing!)
> >>>>
> >>>> Dan
> >>>>
> >>>>
> >>
> >
>
> --
>
> ---------------------------------------------
> Matthew Brooke, Ph.D.
> Marine Sciences Research Building, Room #3407
> University of California
> Santa Barbara, CA 93106-6150
> ph: (805) 893-7108 fx: 805-893-8062
> brooke at nceas.ucsb.edu
> ---------------------------------------------
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-d
ev
>--------
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>
>
--
*******************************************************************
Dan Higgins higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/ Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS) Marine Scienc
e Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************
--------
More information about the Kepler-dev
mailing list