NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

v1.0 and vocabularies

If I understood xml better, I guess I would know the answer to this question, but here goes.

Suppose I had a variable list, e.g. (taken from the documentation page)

<variables xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"; 
>
 <variable name="wv" vocabulary_name="Wind Speed" units="m/s"/>
 <variable name="wdir" vocabulary_name="Wind Direction" units= "degrees"/>
 <variable name="o3c" vocabulary_name="Ozone Concentration" units="g/g"/>
 ...
</variables>



Suppose I want to say that the units are udunits compliant.  Can I write

<variables xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"; 
>
<variable name="wv" vocabulary_name="Wind Speed">
  <units vocabulary="udunits>m/s</units></variable>
 <variable name="wdir" vocabulary_name="Wind Direction">
   <units vocabulary="udunits>degrees</units></variable>
 <variable name="o3c" vocabulary_name="Ozone Concentration">
  <units vocabulary="udunits">g/g</units></variable>
 ...
</variables>

I certainly would like to be able to do so.

Benno

--
Dr. M. Benno Blumenthal          benno@xxxxxxxxxxxxxxxx
International Research Institute for climate prediction
The Earth Institute at Columbia University
Lamont Campus, Palisades NY 10964-8000   (845) 680-4450








  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: