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

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?