git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/SeaDataNetConnector@152848 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8c3a512035
commit
a10c8ba05d
|
@ -40,10 +40,6 @@ import com.vividsolutions.jts.io.WKTReader;
|
|||
|
||||
public class SeaDataNetConnector_AutoCorrelation extends StandardLocalExternalAlgorithm {
|
||||
|
||||
//TODO
|
||||
//download file from thredds
|
||||
//currents resolution at 1
|
||||
|
||||
// Statistical result by DIVA
|
||||
LinkedHashMap<String, String> statResultMap = new LinkedHashMap<String, String>();
|
||||
|
||||
|
@ -142,7 +138,9 @@ public class SeaDataNetConnector_AutoCorrelation extends StandardLocalExternalAl
|
|||
AnalysisLogger.getLogger().debug("Use currents: " + config.getParam(UseCurrentsP));
|
||||
AnalysisLogger.getLogger().debug("Currents weight: " + config.getParam(CurrentsWeightP));
|
||||
|
||||
int currentsWeight = Integer.parseInt(config.getParam(CurrentsWeightP));
|
||||
AnalysisLogger.getLogger().debug("Converting weights");
|
||||
|
||||
int currentsWeight = (int) Math.round(Double.parseDouble(""+config.getParam(CurrentsWeightP)));
|
||||
if (currentsWeight<0)
|
||||
currentsWeight=0;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue