|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface MetAccessMechanisms use to communicate with a service that maintains metdata about a meteorological database.
| Method Summary | |
void |
addRegion(String regionID,
MultilingualString regionName)
Add a database region to the list maintained by the MetDataSource. |
void |
addStation(String hostDBIdentifier,
MultilingualString placeName,
Location location,
Period operational,
String regionID)
Add the details of a particular station to the list maintained by the the MetDataSource. |
boolean |
checkElementCatalog(String stationID,
MetElement element,
Duration resolution,
Period period)
|
Date |
getRecent()
Gets a data for which currently operating stations of this database should have data |
float |
getSuggestedDailyOffset()
Provide client applications with a sensible default offset for building requests for daily data for displaying the resulting data. |
String |
getSuggestedTimezone()
Provide a sensible default timezone for building requests to the database and for displaying the resulting data. |
WeatherStation |
getWeatherStation(String hostID,
String language)
|
void |
processSequence(MetElement element,
MetSequence sequence,
MetRequest request,
Duration queryResolution,
StationDataSetImpl result)
Adds the supplied sequence into the supplied result set, summarising it if necessary. If the sequence is null the source metadata is updated to reflect the absence of any data. |
void |
recordElementStatus(String stationID,
MetElement element,
Duration resolution,
Period period,
boolean status)
Record that a station measured or didn't measure an element at a particular resolution over a period. |
void |
recordMultipleElementStatus(String stationID,
MetElement[] elements,
Duration[] resolutions,
Period period,
boolean status)
Record that a station measured or didn't measure a set of elements at a particular resolution over a period. |
| Methods inherited from interface net.agmodel.brokerImpl.GenericSourceForDrivers |
getID, getLog4jCategory, getName, getParameterValue, getSystemPassword, getSystemUsercode |
| Method Detail |
public void addRegion(String regionID,
MultilingualString regionName)
regionID - a string used to identify the region on the host database.regionName - the name of the region in one or more languages.
public void addStation(String hostDBIdentifier,
MultilingualString placeName,
Location location,
Period operational,
String regionID)
hostDBIdentifier - the ID that the host database uses to refer to the stationplaceName - the name of the place where the station is located, in one or more languageslocation - the location of the stationoperational - the date when the station began operating, and, if it has closed, the date when it closed.regionID - the region which the station belongs to, or null if there are no regions in the database.
public void recordElementStatus(String stationID,
MetElement element,
Duration resolution,
Period period,
boolean status)
stationID - the station in questionelement - the meteorological elementperiod - the period of time (which might not have an end specified)resolution - the temporal resolution. There are useful constants in weatherData.MetDurationstatus - true if the element was recorded over the period, false if it wasn't
public void recordMultipleElementStatus(String stationID,
MetElement[] elements,
Duration[] resolutions,
Period period,
boolean status)
stationID - the station in questionelements - the meteorological elementsperiod - the period of time (which might not have an end specified)status - true if the element was recorded over the period, false if it wasn't
public boolean checkElementCatalog(String stationID,
MetElement element,
Duration resolution,
Period period)
public WeatherStation getWeatherStation(String hostID,
String language)
public String getSuggestedTimezone()
public float getSuggestedDailyOffset()
public void processSequence(MetElement element,
MetSequence sequence,
MetRequest request,
Duration queryResolution,
StationDataSetImpl result)
element - the element that the sequence representsqueryResolution - the resolution of the original database querysequence - a set of data or null if there is no dataresult - the result set that the sequence will be added intopublic Date getRecent()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||