[kepler-dev] creating new data type

[BE] Ufuk Utku Turuncoglu turuncu at be.itu.edu.tr
Tue Nov 6 04:52:52 PST 2007


Hi,

I try to create some actor that will pass and get custom data type along 
it's ports. The data type contains data and it's metadata. For example, 
metadata could be include name, description, number of dimensions, 
coordinate variables (latitude, longitude etc.) and other informations 
that is related with data.

I create two level data type class, the first level holds metadata and 
second one holds data. So, data extents the metadata and now, i could 
create a variable which holds it's metadata. In this case, ithink, i 
have to define this type in pyolemy/kepler as a known data type. When 
using created data type in port definition section (setTypeEquals), it 
gives me error messages.

Is it possible to use custom user defined data type in actors and it's 
ports? What is the problem in my case? I you want to get detailed 
information, please let me know.

Best wishes,

--ufuk


More information about the Kepler-dev mailing list