public class ConstantCurrentNEPoint2Knots extends Object implements EnvironmentDataSource
EnvironmentDataSource.LatitudeLongitudeRectangle
Modifier and Type | Field and Description |
---|---|
static double |
METERS_PER_NAUTMILE |
static double |
SECS_PER_HOUR |
AIR, AIR_EW, AIR_NS, AIR_PRESS, AIR_TEMP, AIR_UD, CURRENT, CURRENT_EW, CURRENT_NS, CURRENT_UD, DENS_ANOM, EW, NS, SALINITY, SEASTATE, SURF_ELEV, UD, WATER_TEMP
Constructor and Description |
---|
ConstantCurrentNEPoint2Knots() |
Modifier and Type | Method and Description |
---|---|
EnvironmentDataSource.LatitudeLongitudeRectangle[] |
getCoverage() |
String |
getDescription() |
int |
getParameterMask()
Return the parameters which this source can/is-instructed-to provide
|
double |
getVariable(int var,
double lat,
double lon,
double depth,
Date date) |
double |
getVariable(int var,
double lat,
double lon,
double depth,
long time) |
double[] |
getVariableAr(int var,
double lat,
double lon,
double depth,
Date date) |
double[] |
getVariableAr(int var,
double lat,
double lon,
double depth,
long time) |
void |
setDescription(String s) |
void |
setParamMask(int mask)
Set the parameter which this source can/is-instructed-to provide
|
public static final double METERS_PER_NAUTMILE
public static final double SECS_PER_HOUR
public EnvironmentDataSource.LatitudeLongitudeRectangle[] getCoverage()
getCoverage
in interface EnvironmentDataSource
public String getDescription()
getDescription
in interface EnvironmentDataSource
public void setDescription(String s)
setDescription
in interface EnvironmentDataSource
public int getParameterMask()
getParameterMask
in interface EnvironmentDataSource
public void setParamMask(int mask)
setParamMask
in interface EnvironmentDataSource
public double getVariable(int var, double lat, double lon, double depth, Date date) throws EnviroException
getVariable
in interface EnvironmentDataSource
EnviroException
public double getVariable(int var, double lat, double lon, double depth, long time) throws EnviroException
getVariable
in interface EnvironmentDataSource
EnviroException
public double[] getVariableAr(int var, double lat, double lon, double depth, Date date) throws EnviroException
getVariableAr
in interface EnvironmentDataSource
EnviroException
public double[] getVariableAr(int var, double lat, double lon, double depth, long time) throws EnviroException
getVariableAr
in interface EnvironmentDataSource
EnviroException