NullPointerException during aggregation

Hi all,

I'm having problems working with NcML aggregations and the 2.2.16
version of the Java NetCDF libraries.  I would like to aggregate

along the time dimension.  I tried an NcML file like this:

<netcdf xmlns="";>
  <aggregation dimName="time" type="joinNew">
    <variableAgg name="temperature"/>
    <variableAgg name="salinity"/>
    <scan location="/path/to/files/" suffix=".nc"
dateFormatMark="NATL_1_#ddMMyyyy" />

This gave me a NullPointerException:


I think I know why this is.  There are other files in the same
directory of the form "" and I think the
aggregator is trying to match these.  Can I arrange it so that only
files that match the pattern "" are aggregated, and
all others are simply ignored?

I am reluctant to change the directory structure of my data because
other applications may depend on it.

Thanks in advance,

Dr Jon Blower              Tel: +44 118 378 5213 (direct line)
Technical Director         Tel: +44 118 378 8741 (ESSC)
Reading e-Science Centre   Fax: +44 118 378 6413
ESSC                       Email: jdb@xxxxxxxxxxxxxxxxxxxx
University of Reading
3 Earley Gate
Reading RG6 6AL, UK

To unsubscribe netcdf-java, visit:

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