org.gcube.dataanalysis.ecoengine.evaluation.bioclimate
Class BioClimateAnalysis
java.lang.Object
org.gcube.dataanalysis.ecoengine.evaluation.bioclimate.BioClimateAnalysis
public class BioClimateAnalysis
- extends Object
Method Summary |
double |
avgValue(String hcaf1,
String field)
|
double |
calcDiscrepancy(String configPath,
String persistencePath,
String firstTable,
String secondTable,
String probabilityColumnName,
String csquareColumn,
float comparisonThreshold)
|
int |
calcHighProbabilityCells(String hspec,
double probabilty)
|
double |
calcOverDiscrepancy(String configPath,
String persistencePath,
String firstTable,
String secondTable,
String probabilityColumnName,
String csquareColumn,
float comparisonThreshold)
|
int |
countIceLeakageCells(String hcaf1,
String hcaf2)
|
int |
countSeaCells(String hcaf1,
String hcaf2,
double threshold)
|
void |
geographicEvolutionAnalysis(String[] hcafTable,
String[] hcafTableNames)
Generates a geographic trend for each hspec feature: ice con, salinity, sst in each fao area |
HashMap<String,Image> |
getProducedImages()
|
float |
getStatus()
|
void |
globalEvolutionAnalysis(String[] hcafTable,
String[] hspecTables,
String[] hcafTablesNames,
String[] hspecTableNames,
String probabilityColumn,
String csquareColumn,
float threshold)
Generates a chart for each hspec feature Generates a chart for hspec prob > thr and performs a discrepancy analysis on hspec |
void |
hcafEvolutionAnalysis(String[] hcafTable,
String[] hcafTableNames)
|
void |
hspecEvolutionAnalysis(String[] hspecTables,
String[] hspecTableNames,
String probabilityColumn,
String csquareColumn,
float threshold)
|
static void |
main(String[] args)
|
void |
produceCharts(HashMap<String,HashMap<String,double[]>> GeoMap,
String[] tablesNames)
|
void |
produceGraphs2D()
|
void |
speciesEvolutionAnalysis(String[] hspenTables,
String[] hspenTableNames,
String parameterName,
String condition)
Generates a chart for hspens in time according to a certain interval in the parameter e.g. : a chart for several salinity intervals |
void |
speciesGeographicEvolutionAnalysis(String[] hspecTables,
String[] hspecTablesNames,
float threshold)
|
void |
speciesGeographicEvolutionAnalysis2(String[] hspecTables,
String[] hspecTablesNames,
float threshold)
Generates a chart for hspec probability > thr in each Fao Area and LME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
salinityDefaultRange
public static String salinityDefaultRange
salinityMinFeature
public static String salinityMinFeature
referencedbConnection
protected org.hibernate.SessionFactory referencedbConnection
BioClimateAnalysis
public BioClimateAnalysis(String configPath,
String persistencePath,
String databaseURL,
String databaseUserName,
String databasePassword,
boolean liveRender)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
produceGraphs2D
public void produceGraphs2D()
throws Exception
- Throws:
Exception
getProducedImages
public HashMap<String,Image> getProducedImages()
hcafEvolutionAnalysis
public void hcafEvolutionAnalysis(String[] hcafTable,
String[] hcafTableNames)
throws Exception
- Throws:
Exception
hspecEvolutionAnalysis
public void hspecEvolutionAnalysis(String[] hspecTables,
String[] hspecTableNames,
String probabilityColumn,
String csquareColumn,
float threshold)
throws Exception
- Throws:
Exception
produceCharts
public void produceCharts(HashMap<String,HashMap<String,double[]>> GeoMap,
String[] tablesNames)
speciesEvolutionAnalysis
public void speciesEvolutionAnalysis(String[] hspenTables,
String[] hspenTableNames,
String parameterName,
String condition)
throws Exception
- Generates a chart for hspens in time according to a certain interval in the parameter e.g. : a chart for several salinity intervals
- Parameters:
hspenTables
- hspenTableNames
- parameterName
- condition
-
- Throws:
Exception
speciesGeographicEvolutionAnalysis2
public void speciesGeographicEvolutionAnalysis2(String[] hspecTables,
String[] hspecTablesNames,
float threshold)
throws Exception
- Generates a chart for hspec probability > thr in each Fao Area and LME
- Parameters:
hspecTables
- hspecTablesNames
-
- Throws:
Exception
speciesGeographicEvolutionAnalysis
public void speciesGeographicEvolutionAnalysis(String[] hspecTables,
String[] hspecTablesNames,
float threshold)
throws Exception
- Throws:
Exception
geographicEvolutionAnalysis
public void geographicEvolutionAnalysis(String[] hcafTable,
String[] hcafTableNames)
throws Exception
- Generates a geographic trend for each hspec feature: ice con, salinity, sst in each fao area
- Parameters:
hcafTable
- hcafTableNames
-
- Throws:
Exception
globalEvolutionAnalysis
public void globalEvolutionAnalysis(String[] hcafTable,
String[] hspecTables,
String[] hcafTablesNames,
String[] hspecTableNames,
String probabilityColumn,
String csquareColumn,
float threshold)
throws Exception
- Generates a chart for each hspec feature Generates a chart for hspec prob > thr and performs a discrepancy analysis on hspec
- Parameters:
hcafTable
- hspecTables
- hcafTablesNames
- hspecTableNames
- probabilityColumn
- csquareColumn
-
- Throws:
Exception
calcHighProbabilityCells
public int calcHighProbabilityCells(String hspec,
double probabilty)
throws Exception
- Throws:
Exception
avgValue
public double avgValue(String hcaf1,
String field)
throws Exception
- Throws:
Exception
countIceLeakageCells
public int countIceLeakageCells(String hcaf1,
String hcaf2)
throws Exception
- Throws:
Exception
countSeaCells
public int countSeaCells(String hcaf1,
String hcaf2,
double threshold)
throws Exception
- Throws:
Exception
getStatus
public float getStatus()
calcOverDiscrepancy
public double calcOverDiscrepancy(String configPath,
String persistencePath,
String firstTable,
String secondTable,
String probabilityColumnName,
String csquareColumn,
float comparisonThreshold)
throws Exception
- Throws:
Exception
calcDiscrepancy
public double calcDiscrepancy(String configPath,
String persistencePath,
String firstTable,
String secondTable,
String probabilityColumnName,
String csquareColumn,
float comparisonThreshold)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.