public class CagipsDataSource extends Object implements EnvironmentDataSource
EnvironmentDataSource.LatitudeLongitudeRectangle
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 |
---|
CagipsDataSource(URL server) |
CagipsDataSource(URL server,
double lat0,
double lon0,
double lat1,
double lon1,
String aux) |
Modifier and Type | Method and Description |
---|---|
EnvironmentDataSource.LatitudeLongitudeRectangle[] |
getCoverage() |
String |
getDescription()
Get the internally-provided description(s) of the NetcdfDatasets.
|
int |
getParameterMask()
Get the mask of parameter bits which are requested-of and supported-by this data set
|
double |
getVariable(int var,
double lat,
double lon,
double height,
Date date) |
double |
getVariable(int var,
double lat,
double lon,
double height,
long time) |
double[] |
getVariableAr(int var,
double lat,
double lon,
double height,
Date date)
Fnmoc has more data for wind in x, y direction than z; Trap z failures separately, warn, but
return something (ie., don't throw exception.
|
double[] |
getVariableAr(int var,
double lat,
double lon,
double height,
long time) |
void |
setDescription(String s) |
void |
setParamMask(int mask)
Set the mask of parameter bits which this data set has been instructed to provide and
can provide.
|
public double getVariable(int var, double lat, double lon, double height, Date date) throws EnviroException
getVariable
in interface EnvironmentDataSource
EnviroException
public double getVariable(int var, double lat, double lon, double height, long time) throws EnviroException
getVariable
in interface EnvironmentDataSource
EnviroException
public double[] getVariableAr(int var, double lat, double lon, double height, Date date) throws EnviroException
getVariableAr
in interface EnvironmentDataSource
var
- lat
- lon
- height
- date
- EnviroException
public double[] getVariableAr(int var, double lat, double lon, double height, long time) throws EnviroException
getVariableAr
in interface EnvironmentDataSource
EnviroException
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
mask
- requested params