Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[thredds] Inherited metadata

  • To: Nathan Potter <ndp@xxxxxxxxxxx>
  • Subject: [thredds] Inherited metadata
  • From: Nathan Potter <ndp@xxxxxxxxxxx>
  • Date: Wed, 2 Dec 2009 05:22:18 -0800


Ethan et al.,


Is inherited metadata cumulative?

In this example:

 <dataset name="level1" ID="SingleFileWcs">
   <metadata inherited='true'>
      <serviceName>dap</serviceName>
      <property name="foo" value="bar"/>
   </metadata>
   <dataset name="level2" urlPath="wcs/foo" ID="wcs/foo">
      <metadata inherited='true'>
         <serviceName>wcs</serviceName>
         <property name="dude" value="ranch"/>
      </metadata>
      <dataset name="level3" urlPath="wcs/foo" ID="wcs/foo" />
   </dataset>
 </dataset>

Does the dataset "level3" have the services "dap" and "wcs"?
Does the dataset "level3" have the properties "foo" and "dude"?


Nathan



On Dec 2, 2009, at 4:49 AM, Nathan Potter wrote:



Ethan,

Along the same lines then, can <access> elements be inherited? Or is it bound only to the containing dataset and never to that dataset's children?

Example:

 <dataset name="level1" ID="SingleFileWcs">
   <metadata inherited='true'>
      <access serviceName=dap />
   </metadata>
   <dataset name="level2_a" urlPath="wcs/foo" ID="wcs/foo" />
   <dataset name="level2_b" urlPath="wcs/foo" ID="wcs/foo" >
      <serviceName>otherService</serviceName>
   </dataset>
 </dataset>


N


On Dec 1, 2009, at 1:18 PM, Ethan Davis wrote:

Hi Nathan,

Nathan Potter wrote:

Another question, about service inheritance.

Example:

 <dataset name="level1" ID="SingleFileWcs">
     <serviceName>dap</serviceName>

      <dataset name="level2_a" urlPath="wcs/foo" ID="wcs/foo" />
      <dataset name="level2_b" urlPath="wcs/foo" ID="wcs/foo" >
         <serviceName>otherService</serviceName>
      </dataset>
 </dataset>


Is the dataset "level2_a" associated with the "dap" service??

No. Though it would be if the "dap" serviceName element were enclosed in
an inherited metadata element, like this
<metadata inherited='true'><serviceName>dap</serviceName></metadata>

Is the dataset "level2_b" associated with the "dap" service??

No. Not even if the "dap" serviceName was inherited, because the
"otherService" association overrides any inherited association.

Is the dataset "level2_b" associated with the "otherService" service??

Yes, it is.

Ethan



Nathan

= = =
Nathan Potter                        ndp at opendap.org
OPeNDAP, Inc.                        +1.541.231.3317





= = =
Nathan Potter                        ndp at opendap.org
OPeNDAP, Inc.                        +1.541.231.3317






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