|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Provides SOAP-based access to MetBroker
Copyright (c) 2002 National Agricultural Research Center
| Method Summary | |
StationData |
getStationData(StationMetRequest request)
Returns the elements of interest at the resolution of interest from a single station. |
StationData |
getStationDataOld(String metSourceID,
String stationID,
String username,
String password,
Date start,
Date end,
int[] elements,
int resolution,
String language,
boolean okToSummarise)
Deprecated. use getStationData(StationMetRequest) instead |
MetSource[] |
listMetSources(String language)
List the metSources available from the broker. |
MetSource[] |
listMetSourcesInArea(String language,
GeographicalBox area)
List the metSources available from the broker which cover or partially cover an area of interest. |
Region[] |
listRegionsForSource(String language,
String metSourceID)
List the regions for a metSource. |
WeatherStation[] |
listStations(String language,
String metSourceID,
String regionID)
List the stations for a database region or entire metsource if no regions are defined for the metsource. |
WeatherStation[] |
listStationsInArea(String language,
GeographicalBox area)
List all the stations in a particular area, regardless of the database in which they are stored. |
| Method Detail |
public StationData getStationDataOld(String metSourceID,
String stationID,
String username,
String password,
Date start,
Date end,
int[] elements,
int resolution,
String language,
boolean okToSummarise)
throws RemoteException
getStationData(StationMetRequest) instead
public StationData getStationData(StationMetRequest request)
throws RemoteException
request - details of the data requiredRemoteException -
public MetSource[] listMetSources(String language)
throws RemoteException
MetRequest.setLanguage(String) for a list of language codes.language - a 2 letter code indicating the preferred national language for the database names
public MetSource[] listMetSourcesInArea(String language,
GeographicalBox area)
throws RemoteException
MetRequest.setLanguage(String) for a list of language codes.language - a 2 letter code indicating the preferred national language for the database namesarea - the area of interest
public Region[] listRegionsForSource(String language,
String metSourceID)
throws RemoteException
MetRequest.setLanguage(String) for a list of language codes.language - a 2 letter code indicating the preferred national language for the database namesmetSourceID - the MetBroker ID for the database
public WeatherStation[] listStations(String language,
String metSourceID,
String regionID)
throws RemoteException
metSourceID - the ID MetBroker has assigned to the databaseregionID - the ID MetBroker has assigned to the region, or null if no regions are defined for the database
public WeatherStation[] listStationsInArea(String language,
GeographicalBox area)
throws RemoteException
MetRequest.setLanguage(String) for a list of language codes.language - a 2 letter code indicating the preferred national language for the database namesarea - an area of interest (may span several databases)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||