|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.agmodel.weatherData.MetRequest
net.agmodel.weatherData.SpatialMetRequest
Encapsulates a request for meteorological data from stations in an area.
In general, client applications will only use the constructor.
The remaining methods are primarily for MetBroker's internal use.
StationMetRequest,
Serialized Form| Constructor Summary | |
SpatialMetRequest(Interval dateExtremes,
Set requestedElements,
MetDuration resolution,
GeographicalArea area)
Creates a request for meteorological data from stations in an area, allowing summarising but not interpolation. See Interpretation of dateExtremes in queries in MetRequest for details
of how the dateExtremes parameter is interpreted. |
|
SpatialMetRequest(Interval dateExtremes,
Set requestedElements,
MetDuration resolution,
GeographicalArea area,
boolean summarise,
boolean interpolate)
Creates a request for meteorological data from stations in an area. |
|
SpatialMetRequest(Interval dateExtremes,
Set requestedElements,
MetDuration resolution,
GeographicalArea area,
boolean summarise,
boolean interpolate,
boolean allOrNothing)
Creates a request for meteorological data from stations in an area. See Interpretation of dateExtremes in queries in MetRequest for details
of how the dateExtremes parameter is interpreted. |
|
| Method Summary | |
GeographicalArea |
getArea()
Get the geographical area associated with the request return the area in question |
boolean |
isAllOrNothing()
|
String |
toString()
Get a string representation of the query parameters |
| Methods inherited from class net.agmodel.weatherData.MetRequest |
containsMetElement, getDateExtremes, getElapsedTime, getRequested, getResolution, setProcessingCommenced, shouldInterpolate, shouldSummarise |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SpatialMetRequest(Interval dateExtremes,
Set requestedElements,
MetDuration resolution,
GeographicalArea area,
boolean summarise,
boolean interpolate,
boolean allOrNothing)
Interpretation of dateExtremes in queries in MetRequest for details
of how the dateExtremes parameter is interpreted.
dateExtremes - the interval for which data is requestedrequestedElements - the set of elements requestedresolution - the temporal resolution. See weatherData.MetDuration for some useful constants.area - to return data from.summarise - true if you want data from higher resolutions summarised to the target resolution.interpolate - true if you want MetBroker to find replacement values for missing data by spatial or temporal interpolation.allOrNothing - true if you only want MetBroker to return data from stations who record all the specified elements.
public SpatialMetRequest(Interval dateExtremes,
Set requestedElements,
MetDuration resolution,
GeographicalArea area,
boolean summarise,
boolean interpolate)
Interpretation of dateExtremes in queries in MetRequest for details
of how the dateExtremes parameter is interpreted.
dateExtremes - the interval for which data is requestedrequestedElements - the set of elements requestedresolution - the temporal resolution. See weatherData.MetDuration for some useful constants.area - to return data from.summarise - true if you want data from higher resolutions summarised to the target resolution.interpolate - true if you want MetBroker to find replacement values for missing data by spatial or temporal interpolation.
public SpatialMetRequest(Interval dateExtremes,
Set requestedElements,
MetDuration resolution,
GeographicalArea area)
Interpretation of dateExtremes in queries in MetRequest for details
of how the dateExtremes parameter is interpreted.
dateExtremes - the interval for which data is requestedrequestedElements - the set of elements requestedresolution - the temporal resolution. See weatherData.MetDuration for some useful constants.area - to return data from.| Method Detail |
public GeographicalArea getArea()
public String toString()
toString in class MetRequestpublic boolean isAllOrNothing()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||