Mercurial > dive4elements > river
changeset 4516:de4832ffde2a
Fix: Handle epochs like official epochs to get a year range.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 14 Nov 2012 17:04:01 +0100 |
parents | 17d896822d70 |
children | a5e4fae31089 |
files | flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/SedimentLoadAccess.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/SedimentLoadAccess.java Wed Nov 14 17:02:51 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/SedimentLoadAccess.java Wed Nov 14 17:04:01 2012 +0100 @@ -63,7 +63,9 @@ } public int[][] getEpochs() { - if (getYearEpoch().equals("epoch")) { + if (getYearEpoch().equals("epoch") || + getYearEpoch().equals("off_epoch") + ) { String data = getString("epochs"); if (data == null) {