Re: Error in time dimension

Hi Bjorge:

In your NcML:

 <netcdf xmlns="";>
   <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" />

   <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:

I have recently migrated from 3.6 to 3.14 and just noticed an error. The time on 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: