[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [netcdf-java] GRIB collection processing in 4.3

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: [netcdf-java] GRIB collection processing in 4.3
  • Date: Wed, 15 Feb 2012 13:46:48 -0700

On 2/13/2012 8:07 PM, Schmunk, Robert B. (GISS-611.0)[SIGMA SPACE CORPORATION] wrote:
John,

What is the replacement for
ucar.nc2.iosp.grib.GribGridServiceProvider.setIndexAlwaysInCache(boolean)
in 4.3? Or is there a replacement?

If there is no replacement, that will cause some trouble. You may recall
my inquiring a couple years ago about being able to control where GRIB
index files were being written because Panoply users were complaining about
GBX files cluttering up their file systems.

rbs


--
Robert B. Schmunk
NASA Goddard Institute for Space Studies, 2880 Broadway, New York, NY 10025
212-678-5535
Hi Robert:

you can set it globally (for CDM library) with:

  ucar.nc2.util.DiskCache.setCachePolicy(true);

the GribGridServiceProvider.setIndexAlwaysInCache() allowed one to set it for just grib files, but no one used it that was AFAIK.
will that suffice for you?

John