Commit 9a072dd3 authored by Daniel Eggert's avatar Daniel Eggert
Browse files

changed interface to include advanced options for homogenization proc

parent 5936d8f0
......@@ -1455,15 +1455,13 @@ public class SceneDatabase {
if (job.pathAnalysisScript != null && !job.pathAnalysisScript.isEmpty()) {
pst.setString(++idx, job.pathAnalysisScript);
if (job.analysisParameter != null) {
pst.setString(++idx, job.analysisParameter);
} else {
pst.setNull(++idx, Types.VARCHAR);
}
} else {
pst.setNull(++idx, Types.VARCHAR);
}
if (job.analysisParameter != null) {
pst.setString(++idx, job.analysisParameter);
} else {
pst.setNull(++idx, Types.VARCHAR);
}
......
......@@ -229,6 +229,7 @@ public class ProcessingJob {
procJob.seasonCode = seasonCode;
procJob.status = job_status.pending;
procJob.mode = job_mode.processing_only;
procJob.analysisParameter = analysisParameter;
procJob.statistics = new int[] { sceneids.length, 0, 0, 0, 0, 0, 0, 0, 0 };
// set refjob id, if we have a valid one
......
......@@ -32,8 +32,8 @@ public interface ControllerModuleInterface extends GmsModuleInterface {
*
*/
public void submitJob(ScenesProcessingProgressInterface progressMonitor, short virtualSensorId, short refDatasetId, long startTimestamp, long endTimestamp, double[] polygon,
Long[] sceneids, Short[] nonRefDatasetids, double maxCloudCover, int seasonCode, String jobMode, int distributionIndex, String[] pathAnalysisScript,
String[] analysisScriptParameter);
Long[] sceneids, Short[] nonRefDatasetids, double maxCloudCover, int seasonCode, String jobMode, int distributionIndex, String advancedHomogenizationParameters,
String[] pathAnalysisScript, String[] analysisScriptParameter);
public void submitJob(ScenesProcessingProgressInterface progressMonitor, short virtualSensorId, short refDatasetId, long startTimestamp, long endTimestamp, double[] polygon,
Long[] sceneids, Short[] nonRefDatasetids, double maxCloudCover, int seasonCode, String jobMode, String[] pathAnalysisScript, String[] analysisScriptParameter);
......
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