Commit b7b5500e authored by Andrey Filippov's avatar Andrey Filippov

bug fixes

parent cde73fef
...@@ -1162,7 +1162,13 @@ public class Lwir16Reader { ...@@ -1162,7 +1162,13 @@ public class Lwir16Reader {
if (dt==null) { if (dt==null) {
System.out.println("i="+i+", dt is NULL!"); System.out.println("i="+i+", dt is NULL!");
} }
img_seconds[i] = Double.parseDouble(dt.substring(dt.lastIndexOf(":")+1)); try {
img_seconds[i] = Double.parseDouble(dt.substring(dt.lastIndexOf(":")+1));
} catch (Exception e) {
System.out.println("i="+i+", dt="+dt);
System.out.println("i="+i+", dt="+dt);
}
try { try {
img_numbers[i] = Integer.parseInt((String) imps[i].getProperty("STD_Image_Number")); img_numbers[i] = Integer.parseInt((String) imps[i].getProperty("STD_Image_Number"));
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment