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

[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