[kepler-dev] [Bug 2050] - EMLDataSource output as Ptolemy records
Dan Higgins
higgins at nceas.ucsb.edu
Thu Apr 7 11:19:25 PDT 2005
Shawn,
I am not sure that it is 'incorrect' to have one port per attribute,
but I do see your point. I think you are just recommending the second
option I suggested (the record/column array) ? Options for either seem
useful to me. The column based ports allow the selection of specific
columns from a table when all the columns are not needed.
Shawn Bowers wrote:
>bugzilla-daemon at ecoinformatics.org wrote:
>
>
>>http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2050
>>
>>
>>
>>
>>
>>------- Additional Comments From sbowers at ucdavis.edu 2005-04-07 09:33 -------
>>I don't think it is correct to have one port per attribute. This approach
>>looses the information that the ports are actually dependent. This assumes a
>>particular domain functionality (i.e., that the director knows the dependency);
>>but the constraint cannot be captured in Ptolemy's constraint language.
>>
>>>From a modeling perspective, it is more appropriate in Ptolemy to use a single
>>port that outputs a tuple (i.e., a record). Of course, one could always connect
>>an array deconstructor after the data set if desired. This approach (of
>>
>>
>
>Sorry: I mean "record dissasembler" not array deconstructor :-)
>
>
>
>>outputing tuples instead of individual values) follows more closely the standard
>>approach used in database systems and makes collection-oriented
>>dataflows/programming much easier.
>>_______________________________________________
>>Kepler-dev mailing list
>>Kepler-dev at ecoinformatics.org
>>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>
>>
>
>_______________________________________________
>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 Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************
More information about the Kepler-dev
mailing list