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. An description for the multiple bands dimension needs to be provided in the indexer file, something like this for example:
<multipleBandsDimensions>
<multipleBandsDimension>
<name>data</name>
<bandsNames>value1,value2,value3</bandsNames>
</multipleBandsDimension>
</multipleBandsDimensions>
When publish a layer for a station the names of the bands will be listed (instead of band1, band2, etc ..). The changes required in GeoTools to add support for this will touch imagemosaic module (extending the indexer) and the netcdf module. |