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.

Re: Error in time dimension

Hi Bjorge:

In your NcML:

 <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
   <dimension name="time" length="0" />
   <variable name="time" type="int" shape="time">
    <attribute name="units" value="secs since 1970-01-01 00:00:00" />
    <attribute name="_CoordinateAxisType" value="time" />
   </variable>

   <aggregation dimName="time" type="joinNew">
    <variableAgg name="temperature" />
    ...


Remove the <dimension name="time" length="0" /> element(s), as it is overriding 
the time dimension constructed in the aggregation.

I think we used to require the dimension element, so it may be left over from a 
previous version. I will check the docs and try to clarify.


Bjørge Solli wrote:
Hi

I have recently migrated from 3.6 to 3.14 and just noticed an error. The time on http://topaz.nersc.no/thredds/dodsC/topaz/mersea-ip/nat/tmipn-class1-be.html spans from 0 to -1(!). This is of course wrong. I attach my xml-file too.

Any pointers?



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