public class EnsembleAlgorithm
extends org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static String |
IN_DAPSTOM_FILE |
static String |
IN_FISHING_PARAM_HIST_FILE |
static String |
IN_FISHING_PARAM_MSY_FILE |
static String |
IN_NS_DIET_FILE |
static String |
IN_NS_IV_FILE |
static String |
IN_NS_PARAMS_FILE |
| Constructor and Description |
|---|
EnsembleAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
downloadAndSetupEnsemble()
The goal of this method is to make input files available in the working.
|
String |
getDescription() |
org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType |
getOutput() |
void |
init() |
protected void |
prepareOutput()
Move output files to the persistence location.
|
protected void |
process() |
protected void |
removeWorkingDirectory()
The goal of this method is to make input files available in the working
directory.
|
protected void |
setInputParameters() |
protected void |
setupWorkingDirectory()
The goal of this method is to make input files available in the working
directory.
|
void |
shutdown() |
addDoubleInput, addEnumerateInput, addIntegerInput, addOutputString, addRemoteDatabaseInput, addStringInput, compute, getInfrastructure, getInputParameter, getInputParameters, getResourceLoad, getResources, getStatus, log, setConfigurationpublic static final String IN_DAPSTOM_FILE
public static final String IN_NS_DIET_FILE
public static final String IN_FISHING_PARAM_HIST_FILE
public static final String IN_FISHING_PARAM_MSY_FILE
public static final String IN_NS_IV_FILE
public static final String IN_NS_PARAMS_FILE
public void init()
throws Exception
init in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentinit in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmExceptionpublic String getDescription()
getDescription in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentgetDescription in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmprotected void setInputParameters()
setInputParameters in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmprotected void process()
throws Exception
process in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmExceptionpublic org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()
getOutput in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentgetOutput in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmpublic void shutdown()
shutdown in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentshutdown in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmprotected void setupWorkingDirectory()
throws Exception
Exceptionprotected void downloadAndSetupEnsemble()
throws Exception
Exceptionprotected void prepareOutput()
throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.