Current NetCDF module can only handle classic homogeneous dimensions like height, depth, wave length, time or a coordinate axis. Some dimensions can have multiple entries referring to multiple parameters.
Lets consider as an example a data set (annexed - stations.nc) that represents some stations measurements where each station will be represented by a variable (stationA, stationB, etc ...).
Each station variable will have 4 dimensions, the last three dimensions will be time, latitude and longitude. The first dimension (named data) will have three entries referring to three different measurements values.
A description for the multiple bands dimension needs to be provided in the indexer file, something like this for example:
When publish a layer for a station the names of the bands will be listed (instead of band1, band2, etc ..).
Since we support multiple bands we should also take in account the bands parameter described in issue https://osgeo-org.atlassian.net/browse/GEOT-5513.
The changes required in GeoTools to add support for this will touch imagemosaic module (extending the indexer) and the netcdf module.