Small Detail in Spectrum Data Model

Markus Dolensky Markus.Dolensky at eso.org
Thu Oct 21 06:50:54 PDT 2004


Hi,

Francois Bonnarel wrote:
> I think it would be good to give a "Type" for each segment
> I mean: is this segment a Photmetry Point, a Spectrum, a time sery , etc ...
> probably it can be an attribute in the Data Identification Class.

This was a bug in my sample which specified only a single global "SegmentType".
Now there is a SegmentType for each Segment. Now it should be compliant with
the SSA DM doc. http://hea-www.harvard.edu/~jcm/vo/docs/spec.html#s56

The relevant code snippet
http://www.ivoa.net/internal/IVOA/IvoaDAL/ssample20041021.xml

<PARAM name="Segment Type" datatype="char" arraysize="*"
utype="sed:SED.SegmentType" ucd="meta.code" value="Photometry">
   <VALUES>
     <OPTION value="Photometry"/>
     <OPTION value="TimeSeries"/>
     <OPTION value="Spectrum"/>
   </VALUES>
</PARAM>

Thanks for pointing this out,
Markus




-- 
+---
| Markus Dolensky   Mailto:Markus.Dolensky at eso.org
| AVO Technical Lead          Web: www.euro-vo.org
| Voice: ++49 89 32006/261  Fax: ++49 89 32006/480
+---



More information about the dal mailing list