The Napkin Representation

Alasdair Allan aa at astro.ex.ac.uk
Mon Jul 2 13:58:38 PDT 2007


Alasdair Allan wrote:
> Okay, returning to the napkin representation of VOTimeSeries thrown  
> together at the HTU meeting in Tucson, it looks something like this...
>
> <TimeSeries type="...">
>   <Meta>
>      <Param name="..." value="..." ucd="..." units="..." />
>      <Param name="..." value="..." ucd="..." units="..." />
>      <Group name="...">
>         <Param name="..." value="..." ucd="..." units="..." />
>         <Param name="..." value="..." ucd="..." units="..." />
>      </Group>
>   </Meta>
>   <Data>
>      <Row number="1">
>         <Time>
>            <Value> ... </Value>
>            <Uncertainty> ... </Uncertainty >
>         </Time>
>         <Flux type="...">
>            <Value> ... </Value>
>            <Uncertainty> ... </Uncertainty >
>         </Flux>
>      </Row>
>      <Row number="2">
>         <Time>
>            <Value> ... </Value>
>            <Uncertainty> ... </Uncertainty >
>         </Time>
>         <Flux type="...">
>            <Value> ... </Value>
>            <Uncertainty> ... </Uncertainty >
>         </Flux>
>      </Row>
>        .
>        .
>        .
>   </Data>
> </TimeSeries>

Of course there were "alternative" representations for a <Row />  
suggested which would look something like this


      <Row number="1">
         <Time units="s">
            <Value>0</Value>
            <Uncertainty>0.5</Uncertainty >
         </Time>
         <Flux type="mag" band="R">
            <Value>13.2</Value>
            <Uncertainty>0.01</Uncertainty >
         </Flux>
      </Row>


      <Row number="1">
         <Time units="s" uncertainty="0.5">0/Time>
         <Flux type="mag" band="R" uncertainty="0.01">13.2</Flux>
      </Row>

A simple time series could be represented as follows,

<TimeSeries type="delta_t">
   <Meta>
      <Param name="first" value="2007-07-01T21:44:00+0000"  
ucd="time.epoch;" units="iso8601" />
   </Meta>
   <Data>
      <Row number="1">
         <Time units="s">
            <Value>0</Value>
            <Uncertainty>0.5</Uncertainty >
         </Time>
         <Flux type="mag" band="R">
            <Value>13.2</Value>
            <Uncertainty>0.01</Uncertainty >
         </Flux>
      </Row>
      <Row number="2">
         <Time units="s">
            <Value>35</Value>
            <Uncertainty>0.5</Uncertainty >
         </Time>
         <Flux type="mag" band="R">
            <Value>13.3</Value>
            <Uncertainty>0.01</Uncertainty >
         </Flux>
      </Row>
        .
        .
        .
   </Data>
</TimeSeries>

or alternatively like this,

<TimeSeries type="delta_t">
   <Meta>
      <Param name="first" value="2007-07-01T21:44:00+0000"  
ucd="time.epoch;" units="iso8601" />
   </Meta>
   <Data>
      <Row number="1">
         <Time units="s" uncertainty="0.5">0/Time>
         <Flux type="mag" band="R" uncertainty="0.01">13.2</Flux>
      </Row>
      <Row number="2">
         <Time units="s" uncertainty="0.5">35/Time>
         <Flux type="mag" band="R" uncertainty="0.01">13.3</Flux>
      </Row>
        .
        .
        .
   </Data>
</TimeSeries>

Cheers,
Al.




More information about the voevent mailing list