Re: [netcdf-java] Behaviour of NetCDF file cache in Java NetCDF libraries

OK, let's say I wanted to use the NetcdfDataset cache with things that
aren't NcML aggregations (e.g. an OPeNDAP dataset, or a single NetCDF
file).  As it stands, such datasets will never expire from the cache,
unless the maxElements parameter is exceeded.

Could I work around this by creating trivial NcML aggregations, then
opening the NcML wrapper through the cache?  I.e. an OPeNDAP dataset
might have a wrapper like this:

<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
  <aggregation recheckEvery="15 min">
    <netcdf location="http://myopendap.org/cldc.mean.nc"/>
  </aggregation>
</netcdf>

Will the recheckEvery parameter be respected in this case, or does the
aggregation have to be a joinExisting/joinNew?

Cheers, Jon

-- 
Dr Jon Blower
Technical Director, Reading e-Science Centre
Environmental Systems Science Centre
University of Reading
Harry Pitt Building, 3 Earley Gate
Reading RG6 6AL. UK
Tel: +44 (0)118 378 5213
Fax: +44 (0)118 378 6413
j.d.blower@xxxxxxxxxxxxx
http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm



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