[THREDDS #NCD-931813]: How to add GLOBAL attributes to an Aggregation

Hi Dan:

add the attribute inside the ncml, like this:

  <dataset name="seawifs aggregation" ID="aggExistingTest" 
urlPath="aggExistingTest/seawifs.nc">
    <serviceName>thisDODS</serviceName>

    <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
      <attribute name="name" value="value" />
      <aggregation dimName="time" type="joinExisting">
        <scan location="R:/testdata/tds/netcdf/seawifs/" suffix=".nc" />
      </aggregation>
    </netcdf>

  </dataset>

you can "reinitalize" and "clear cache" (from debug menu if you have remote 
management workin) to see the change, or just reload the TDS or restart Tomcat.

Ticket Details
==================
Ticket ID: NCD-931813
Department: Support THREDDS
Priority: Normal
Status: Open


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