After update grib file I have carusel of dimension name (depth_below_sea, depth_below_sea1, depth_below_sea2). No way to configure dimension.

Description

I work on grib file with dimension name depth_below_sea and depth_below_sea1. After when I copy new grib file to data store directory my grib file has new dimension like depth_below_sea2. If I copy one more and more it change to depth_below_sea or depth_below_sea1 and layer to be not displayed.
Wen I open configuration dimension of layer I can see Exception statement like this:

It is until I remove directory from data store directory for example by typing:
rm -rf .bs005.grib_fab41f3e55cb748b225e15a7f30795aaf931d3eb
and reload configuration by typing:
curl --silent -u admin:geoserver -X POST http://localhost:8080/geoserver/rest/reload > /dev/null

after that operation I can see the same dimenstion or ! new dimension in configuration dimension changed in schema like this:
dimension -> dimension1,
dimension1 -> diimension2,
dimension2 ->dimension

I have 61 grib files and make me it randomly for another files.
I dont know if it give me highest number at end of dimension name.

Environment

Linux pw-wsh-3 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
geoserver-2.9.1-war
apache-tomcat-9.0.0.M9/
jre1.8.0_102
jdk1.8.0_102

profile:

JAVA_HOME=/usr/local/java/jdk1.8.0_102
JRE_HOME=/usr/local/java/jre1.8.0_102
CATALINA_HOME=/usr/local/apache-tomcat-9.0.0.M9
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin:$CATALINA_HOME
export JAVA_HOME
export JRE_HOME
export CATALINA_HOME
export PATH

Status

Assignee

Unassigned

Reporter

P

Triage

None

Fix versions

None

Affects versions

Components

Priority

High
Configure