Spectral 2.0 - Document update

CresitelloDittmar, Mark mdittmar at cfa.harvard.edu
Fri Jun 5 16:31:15 CEST 2015


There is another interpretation item I'd like to discuss w.r.t. Marcus'
serialization.

The file contains some groups with PARAMrefs, but not all groups, and not
all
PARAMS have associated PARAMrefs.

So we have this (snipped for brevity):

        <TABLE name="aesaiihe" utype="spec:Spectrum">
            <GROUP utype="spec:Char">
                <PARAMref ref="asisbgoe"
utype="spec:Char.TimeAxis.Coverage.Bounds.Extent"/>
                <PARAMref ref="aemlgmue"
utype="spec:Char.SpectralAxis.Coverage.Bounds.Extent"/>
            </GROUP>

            <PARAM ID="asisbgoe" datatype="float" name="ssa_timeExt"
ucd="time.duration" unit="s"
                   utype="spec:Char.TimeAxis.Coverage.Bounds.Extent"
value="">
            </PARAM>
            <PARAM ID="aemlgmue" datatype="float" name="ssa_specext"
ucd="em.wl;instr.bandwidth" unit="m"
                   utype="spec:Char.SpectralAxis.Coverage.Bounds.Extent"
value="2.8137e-07">
            </PARAM>
        </TABLE>

So, inside the Char group, there is a reference to define the
TimeAxis.Coverage.Bounds.Extent
And outside the groupings is a full PARAM with the same UType.

Presumably, the intent is that the PARAM is the same element as the
PARAMref.  However, since
Char contains a LIST of axes, this is actually defining Bounds on 2
different Time axes. Basically
equivalent to:

        <TABLE name="aesaiihe" utype="spec:Spectrum">
            <GROUP utype="spec:Char">
                <GROUP utype="spec:Char.TimeAxis">
                    <PARAM ID="asisbgoe" datatype="float"
name="ssa_timeExt" ucd="time.duration" unit="s"

utype="spec:Char.TimeAxis.Coverage.Bounds.Extent" value="">
                    </PARAM>
                    <PARAM ID="aemlgmue" datatype="float"
name="ssa_specext" ucd="em.wl;instr.bandwidth" unit="m"

utype="spec:Char.SpectralAxis.Coverage.Bounds.Extent" value="2.8137e-07">
                    </PARAM>
                </GROUP>
                <GROUP utype="spec:Char.TimeAxis">
                    <PARAMref ref="asisbgoe"
utype="spec:Char.TimeAxis.Coverage.Bounds.Extent"/>
                    <PARAMref ref="aemlgmue"
utype="spec:Char.SpectralAxis.Coverage.Bounds.Extent"/>
                </GROUP>
            </GROUP>
        </TABLE>

It seems that, by convention, the use of PARAMrefs in Group should be
limited to specifiying only DIFFERENT
instances of an element.

Or am I mis-interpreting things?
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ivoa.net/pipermail/dm/attachments/20150605/601f2ca7/attachment.html>


More information about the dm mailing list