Issue #1438 fix problems reading a non existent grid alias file.
Former-commit-id:15c7614ffe
[formerly4ca0f320cc
] [formerly15c7614ffe
[formerly4ca0f320cc
] [formerlyecbbc823f1
[formerly 77868132755b799810c9a01888fcec06798070fb]]] Former-commit-id:ecbbc823f1
Former-commit-id:b9980a0f77
[formerly777a1d93bb
] Former-commit-id:1a1c6d7efa
This commit is contained in:
parent
9fcb9f9179
commit
a8077ca1c3
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ public class GribModelLookup {
|
|||
"/grid/dataset/alias/gfeParamInfo.xml");
|
||||
AliasList al = null;
|
||||
if (baseFile.exists()) {
|
||||
al = JAXB.unmarshal(file.getFile(), AliasList.class);
|
||||
al = JAXB.unmarshal(baseFile.getFile(), AliasList.class);
|
||||
al.getAliasList().addAll(aliasList);
|
||||
} else {
|
||||
al = new AliasList();
|
||||
|
|
Loading…
Add table
Reference in a new issue