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

v1.0 and vocabularies

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: v1.0 and vocabularies
  • Date: Thu, 30 Sep 2004 12:37:45 -0400

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          address@hidden
International Research Institute for climate prediction
The Earth Institute at Columbia University
Lamont Campus, Palisades NY 10964-8000   (845) 680-4450