public class EtoPenmanMonteithFao
extends org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalInfraAlgorithm
| Constructor and Description |
|---|
EtoPenmanMonteithFao() |
| Modifier and Type | Method and Description |
|---|---|
static Date |
anyStringToDate(String value)
An auxiliary method that converts string to date.
|
static Double |
dailyEtoCalculation(Date day,
Double lat,
Double z,
Double t,
Double maxT,
Double minT,
Double ru,
Double u2,
Double rs,
Double lambda)
An auxiliary method that return the ETo estimation of the day by Penman-Monteith-FAO method.
|
String |
getDescription() |
org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType |
getOutput() |
void |
init() |
static boolean |
isValidFormat(String format,
String value)
An auxiliary method that validates if a string respect a specified date format.
|
protected void |
process() |
protected void |
setInputParameters() |
void |
shutdown() |
sendNotificationaddBooleanInput, addDoubleInput, addEnumerateInput, addFileInput, addIntegerInput, addOutputString, addRemoteDatabaseInput, addStringInput, compute, getInfrastructure, getInputParameter, getInputParameters, getResourceLoad, getResources, getStatus, log, setConfigurationpublic String getDescription()
getDescription in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentgetDescription in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmpublic void init()
throws Exception
init in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentinit in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmExceptionprotected void process()
throws Exception
process in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmExceptionprotected void setInputParameters()
setInputParameters in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmpublic 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.StandardLocalExternalAlgorithmpublic static Date anyStringToDate(String value)
value - public static boolean isValidFormat(String format, String value)
format - value - public static Double dailyEtoCalculation(Date day, Double lat, Double z, Double t, Double maxT, Double minT, Double ru, Double u2, Double rs, Double lambda)
day - lat - z - t - maxT - minT - ru - u2 - rn - lambda - Copyright © 2016. All Rights Reserved.