Adjusted Input parameters
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@76909 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
595a668600
commit
d8f853f1f8
|
@ -35,8 +35,8 @@ import org.opengis.metadata.Metadata;
|
|||
|
||||
public class MapsComparator extends DataAnalysis {
|
||||
|
||||
static String layer1 = "LayerTitle_1";
|
||||
static String layer2 = "LayerTitle_2";
|
||||
static String layer1 = "Layer_1";
|
||||
static String layer2 = "Layer_2";
|
||||
static String zString = "Z";
|
||||
static String t1 = "TimeIndex_1";
|
||||
static String t2 = "TimeIndex_2";
|
||||
|
@ -57,7 +57,7 @@ public class MapsComparator extends DataAnalysis {
|
|||
}
|
||||
|
||||
@Override
|
||||
public LinkedHashMap<String, String> analyze() throws Exception {
|
||||
public void compute() throws Exception{
|
||||
status = 0;
|
||||
AnalysisLogger.setLogger(config.getConfigPath() + AlgorithmConfiguration.defaultLoggerFile);
|
||||
long t0 = System.currentTimeMillis();
|
||||
|
@ -181,11 +181,9 @@ public class MapsComparator extends DataAnalysis {
|
|||
AnalysisLogger.getLogger().debug("MapsComparator: Deleting table " + rastertable2);
|
||||
DatabaseFactory.executeSQLUpdate(DatabaseUtils.dropTableStatement(rastertable2), connection);
|
||||
AnalysisLogger.getLogger().debug("MapsComparator: Elapsed: Whole operation completed in " + ((double) (System.currentTimeMillis() - t0) / 1000d) + "s");
|
||||
return outputParameters;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
AnalysisLogger.getLogger().debug("MapsComparator: ERROR!: " + e.getLocalizedMessage());
|
||||
return outputParameters;
|
||||
} finally {
|
||||
DatabaseUtils.closeDBConnection(connection);
|
||||
status = 100;
|
||||
|
@ -276,6 +274,12 @@ public class MapsComparator extends DataAnalysis {
|
|||
public float getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkedHashMap<String, String> analyze() throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue