[kepler-dev] [Bug 3140] - RBNBToKepler2 actor output port generation problem

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Apr 7 16:49:37 PDT 2008


------- Comment #2 from barseghian at nceas.ucsb.edu  2008-04-07 16:49 -------
I believe these are the answers to my original questions:

1) Does one need to do a Fetch to get channel types?

Bill Finger said:
The GetType method will always* return STRING for Registration data,
because the data that comes back from the server from a registration
request IS a string.  Specifically, it is an xml document that looks
something like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE rbnb>

This xml document does not include the binary type of the data in the
channel.  However, if you were merely differentiating between 32 bit
floats and 64 bit floats, the 'size' field could be used (4 and 8,

As I want to differentiate between all data types, I'm just going to have to
stay with my original solution for now: fetch a piece of data and decipher its
type. Bummer.

2) Why does a Fetch sometimes reduce the number of channels in a channelmap?

Fetch excludes channels with duration 0.

I believe my original problem was caused by 1) channels with a period in their
name and 2) a problem in my filtering section whereby I was miscounting number
of channels with duration 0. 

niagara-dev is down right now, I will close this bug when it's back up and I
see the original problem does not occur.

More information about the Kepler-dev mailing list