|
A NetCDF dataset has two ways of opening a new dataset: openDataset and acquireDataset. The difference is that, if caching is enabled, acquireDataset will use the cache. If caching is disabled, which is the default case, acquireDataset falls back to using openDataset.
I have tested this in a production environment locally, with the cache enabled, and it improves the performance of my geoserver. For other users there will be no side effect, since they have to enable the netcdf cache explicitly.
A patch is attached!
|