Unidata / netcdf-java

The Unidata netcdf-java library
https://docs.unidata.ucar.edu/netcdf-java/current/userguide/index.html
BSD 3-Clause "New" or "Revised" License
143 stars 68 forks source link

Fix performance issue that aggregation cache not used for coverages #1317

Closed tdrwenski closed 4 months ago

tdrwenski commented 4 months ago

The aggregation cache for join existing aggregations stores coordinate information so that all files don't need to be opened on every request. For this cache to be used, NetcdfFile.location must be a non null value. This PR ensures the location is not null when an ncml dataset is opened as a coverage (for instance with NCSS).

Use this change in the TDS: https://github.com/Unidata/tds/pull/475