[netcdf-java] problem with aggregation of files with relative time axis

Hi all,

I have problems reading a collection of netcdf files which use a
relative time axis, and each file has a time axis relative to a
different date.

When reading the aggregated files using a ncml file, the computed dates
are random and most of the time wrong.

For example, if I have 3 files with a time axis relative to the 1st of
January, February and March, sometimes netcdf-java decides that the
collection starts on March 1st, and sometimes on January 1st.

If I modify the files to all have a time axis relative to the same date
(e.g. January 1st) then things are fine.

Any hints?

Attaching the netcdf files (a spatial subset of the actual files) and
the ncml file, hope they go through.

Many thanks,

Etienne



http://bsc.es/disclaimer

Attachment: tmp1.nc
Description: Cdf file

Attachment: tmp2.nc
Description: Cdf file

Attachment: tmp3.nc
Description: Cdf file

<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
  <aggregation dimName="time" type="joinExisting">
    <scan location="/esarchive/scratch/etourign/work/loader/tmp/" suffix=".nc" 
/>
  </aggregation>
</netcdf>
  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: