if ((gridFileDirs[numStation]==null) || (gridFileDirs[numStation].length==0)) {
if (!IJ.showMessageWithCancel("No files selected","Retry? (Cancel will abort the command)")) return false;
@@ -10279,6 +10390,8 @@ if (MORE_BUTTONS) {
DISTORTION_CALIBRATION_DATA=new DistortionCalibrationData( // new way for LWIR - initialize from dirs
gridFileDirs,
gridUseChn, //
// gridUseTypes, //int [][] gridUseTypes, // per station, per set - a bitbmask of channels to use (+1 - eo, +2 - lwir)
sourceStationDirs,
gridFilter,
sourceFilter,
@@ -10482,6 +10595,10 @@ if (MORE_BUTTONS) {
}
saved_file++;
}
if (this.SYNC_COMMAND.stopRequested.get() > 0) {
System.out.println("User requested stop2");
break;
}
}
if (DEBUG_LEVEL>0) System.out.println(((this.SYNC_COMMAND.stopRequested.get()>0)?"Partial (interrupted by user) set of grids":"All")+ " grids calculation done at "+ IJ.d2s(0.000000001*(System.nanoTime()-startTime),3));