BQ with Meta-data.. (Was: Re: Decomposition (Was: Re: Philosophy of basic Q (Was: Re: [QUANTITY] Data Model for Quantity v0.5
Brian Thomas
brian.thomas at gsfc.nasa.gov
Wed May 12 08:23:44 PDT 2004
On Wednesday 12 May 2004 04:05 am, Pierre Didelon wrote:
> Hi Brian,
>
> some details which I don't understand,
> may be related once more to document contradiction?
Yes. You have a good eye for details. See below.
>
> Brian Thomas wrote:
> > David,
>
> snip
>
> > What I am suggesting is that the higher dimensional Q's (core, standard)
> > be allowed to be "decomposed" into a set of basic Q's which hold the
> > equivalent information. In code, this looks like :
> >
> > List decomposedBasicQList = standardQ.decompose();
> >
> > In terms of the equivalence principle in the meta-data/data, it is best
> > explained via example. Take a standard Quantity with a coordinate
> > description, say Counts(x_pixel) ("counts as a function of x_pixel
> > quantity):
> >
> > <quantity name="counts">
> > <metaData>
> > <quantity name="obs
> > time"><units>hr</units><string/><value>3:00</value></quantity> <axes>
> > <quantity name="x_pixel"><units>pixel</units><integer
> > width="1"/><values>0 1 2</values></quantity> </axes>
> > <units>cnts</units>
> > <float width="4" precision="1"/>
> > <values>10.2 39.8 40.5</values>
> > </quantity>
> >
> > has the equivalent description in basic Q's (abbreviated the node name
> > to "bq") as:
> >
> > <!-- the first pixel as bq -->
> > <bq name="counts">
> > <metaData>
> > <bq name="obs time"><units>hr</units><string/><value>3:00</value></bq>
> > <bq name="x_pixel"><units>pixel</units><integer
> > width="1"/><value>0</value></quantity> </metaData>
> > <units>cnts</units>
> > <float width="4" precision="1"/>
> > <value>10.2</value>
> > </bq>
>
> In Doc. MetaData is "related" to CoreQuantity level,
> so does the above example be allowed in this case?
Yes, I would have that BasicQ should have the ability to have meta-data.
I had thought that this was in the document, but I guess its not.
> But may be your are using xsd files (which I read through xsd schema)
> which seems to allow optionnal metadata at every levels!
> I don't understand the relation of xsd file and graph. with document!
What is "graph"?? I assume you mean the example in the email above?
Please clarify so I can answer.
Thanks again for the error/contradiction spotting.
=b.t.
>
> Pierre
--
* Dr. Brian Thomas
* Dept of Astronomy/University of Maryland-College Park
* Code 630.1/Goddard Space Flight Center-NASA
* fax: (301) 286-1775
* phone: (301) 286-6128 [GSFC]
(301) 405-2312 [UMD]
More information about the dm
mailing list