https://jira.codehaus.org/browse/GEOT-4944 added a fix to setup proper imageLayout within the sampleImage created by the Imagemosaic for NetCDF/GRIB granules.
This may result in issues when upgrading to GS > 2.6.0 (2.6.x x>=1, 2.7.x) in terms of harvesting. Depending on the underlying dataType, harvesting a NetCDF/GRIB dataset using upgraded GS to add granules to an imageMosaic which has been previously configured with a older GS version may result into granules not being added to the mosaic.
If this problem occurs, the quickest solution is:
-
configure a new imageMosaic on top of the minimal amount of files required to represent the same variables*
-
get the newly generated sample_image files
-
override the old sample_image files with the updated one
-
reload
*: if you have a set of netCDFs where each of them contains both temperature and humidity and they only differ for time values, you just need one file within your mosaic. If you have a set of NetCDFs where temperature and humidity are stored into different files, then you need at least 2 files (1 for temperature and 1 for humidity).
Scope of this JIRA is to provide a scritp, a tool or an automatic way to do that
|