Merge "Issue #1438 fix problems reading a non existent grid alias file." into development
Former-commit-id:61700b2f37
[formerly61700b2f37
[formerly 3880bfbd8bf84a9ed4ba93b785b2a45f3af35f81]] Former-commit-id:19fc9e2bbc
Former-commit-id:5e9f24b527
This commit is contained in:
commit
693548c7d2
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