Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[netcdf-java] using pre-defined grib index files

Hello,

I understand that I can use
DiskCache.setRootDirectory("grib_data");
to set a directory where grib index files will be stored. This allows me to read and process grib files from a read-only directory.

However, I recall reading that it is possible to use a pre-defined index file to save the time involved in generating an index file. In spite of a lot of looking I haven't (re)found the documentation that tells me how to do it.

My question: how do I tell the netcdf4 reader to use a specified index file (and one that is in a different directory than the data files)?

-Bill
--
William R. Moninger         http://www-frd.fsl.noaa.gov/~moninger/
NOAA / Earth Systems Research Laboratory / Global Systems Division
325 Broadway, R/GSD1                           voice: 303-497-6435
Boulder, CO 80305                              fax:   303-497-3329


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