[Geoserver-devel] [jira] (GEOS-6956) Setup migration tool for NetCDF Mosaics created before GS 2.6.1

Daniele Romagnoli created an issue

GeoServer / BugGEOS-6956

Setup migration tool for NetCDF Mosaics created before GS 2.6.1

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

26/Mar/15 6:34 AM

Priority:

MajorMajor

Reporter:

Daniele Romagnoli

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

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo