Skip to content

Commit

Permalink
fixed MTD loader to include the last fcst_lead into the revision seri…
Browse files Browse the repository at this point in the history
…es data #423
  • Loading branch information
TatianaBurek committed Oct 10, 2022
1 parent 5102e2e commit 37d3f27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3201,7 +3201,7 @@ private int processMtdRevision(List<String[]> mtd2dLines, DataFileInfo info, Lis
int expectedSize = Integer.parseInt(dataForObjId.get(dataForObjId.size() - 1)[indTimeInd])
- Integer.parseInt(dataForObjId.get(0)[indTimeInd]) + 1;
if (expectedSize == dataForObjId.size()) {
for (int i = 1; i < dataForObjId.size() - 1; i++) {
for (int i = 1; i <= dataForObjId.size() - 1; i++) {
String[] dataFirst = dataForObjId.get(i);
String[] dataSecond = dataForObjId.get(i - 1);
String[] revisionLine = new String[dataFirst.length];
Expand Down

0 comments on commit 37d3f27

Please sign in to comment.