[netcdf-java] NCML Aggregation Problem - Variable Timestep Caused By Missing Files

Hi Everyone,

I'm trying to aggregate a model run using NCML with "joinExisting"
where each file contains a single model tau.  The filenames correspond
to the tau.  Eg. "ec_000.grb, ec_003.grb, ec_006.grb, ec_009.grb ..."
representing tau 0, tau 3, tau 6, tau 9 etc...

I encountered a problem where for one model there are missing files.
Eg. "ec_000.grb, ec_006.grb, ec_009.grb...." (ec_003.grb being the
missing file).

It appears NCML is unable to handle this situation and generates a
netcdf having a timestep of 6 hours instead of the required 3 hours.

I tried specifying the tau values explicity in the time coordinate
definition using the <values> tag, ie. "<values>0 6 9 12 ....." but
this did not work, while using "<values start="0" increment="3" />"
generated a netcdf with the correct timestep but incorrect times as
the NCML interpreter did not recognise the missing files.

Is there any solution to the problem of aggregating a model run where
there are missing files or a varying timestep (as a result of missing

Any help is appreciated.


Paul Graham

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