[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vocabularies

Benno Blumenthal wrote:

Ethan Davis wrote:

We might want to allow multiple variable vocabulary names to each variable as well so that dataset variable names can be mapped into multiple conventions/controlled vocabs without repeating everything. For instance,

<variable name="wv">
<vocabulary_name vocabulary="CF-1.0">Wind Speed</vocabulary_name>
<vocabulary_name vocabulary="DIF">EARTH SCIENCE, Atmosphere, Atmospheric Winds, Surface Winds</vocabulary_name>
<units vocabulary="udunits>m/s</units>


An excellent point, which changes the way I think of attributes, and will probably change the way I code them: any attribute controlled by vocabularies might have different values for different vocabularies, and thus might get repeated. I take it that if I am willing to repeat everything, I am supposed to create a series of metadata containers, each with a different vocabulary, e.g.

<metadata vocabulary="DIF" inherit=true>
<vocabulary_name>EARTH SCIENCE, Atmosphere, Atmospheric Winds, Surface Winds</vocabulary_name>
<metadata vocabulary="CF-1.0" inherit=true>
<vocabulary_name>Wind Speed</vocabulary_name>

That's right. As InvCatalog 1.0 stands, the variables element is only allowed once per dataset element and once per metadata element, so repeating the variable information for different vocabularies would require enclosing each in a seperate metadata element.


Ethan R. Davis                                Telephone: (303) 497-8155
Software Engineer                             Fax:       (303) 497-8690
UCAR Unidata Program Center                   E-mail:    address@hidden
P.O. Box 3000
Boulder, CO  80307-3000                       http://www.unidata.ucar.edu/

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.