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

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



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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.