We would like to provide some support for 2D coordinate variables in NetCDF, in particular in aggregations. An example use case: NC files with different time values being aggregated over runtime. The idea is not to provide support for 2D coordinates in geotools, but to expose the 2D coordinate as a regular coordinate to geotools/geoserver. Some of the expected behaviour (using the example of a 2D time over runtime): In the GetCapabilities, all possible time values are listed (no value is mentioned twice of course, so a unique flat list is composed from the 2D value table). The user may of course specify a valid combination of a time and a runtime in a WMS/WCS request to get the appropriate data. An invalid combination returns no data. NetCDF can be configured to retrieve the maximum or minimum runtime RELATIVE to a provided time in the request. This requires geoserver to configure the runtime dimension default value as "built-in". In addition, we want to support an auxiliary WFS store that exposes the index in order to list all possible time/runtime combinations, since this cannot be retrieved from the GetCapabilities. |