wsKlima logo

Standard -> data values

The method for data values

Data use the complex types (no_met_metdata_x where x = Metdata, TimeStamp ,Location, WeatherElement) in the WSDL-file. See examples and explanations of use of getMetData.

Inputparameters for getMetData (* = required)
timeserietypeID* - is given as a number. Timeserie types can be retrieved from method getTimeSerietypesProperties("","")

format, from and to is used only for timeserietypeID: 0, 1, 2, 7, 8, 9, 11, 13, 14, 15 and 16
format - for date (see java SimpleDateFormat). Blank ("") uses the default format: yyyy-MM-dd
from - from start of date is given in date format. Blank ("") gives today's date.
to - to end of date is given in date format. Blank ("") gives today's date.

stations* - is given as a comma-separated list of station numbers. Stations can be retrieved from getStationsFromTimeserieType("","")

elements* - is given as a comma-separated list of character-based element codes. Elements can be retrieved from method getElementFromTimeserieType(""). Elements from a timeserie type can be retrieved from method getElementsFromTimeserieType(timeserie type).

hours* is only used for timeserietypeID=2, 8, 9, 13, 14, 15 and 16(hours data)
hours - [0,..,23] are given as a comma-separated list. hours are in UTC-time.

months can be used by all timeserie types. Blank ("") returns all months in a time intervall.
months - [1,..,12] is given as a comma-separated list .

username- is left blank (null or "") for ordinary users. For some external station owners, brukernavn(username) can be used. In this case, the user name is the same as in eKlima.
information about getMetData
1000000: is the upper limit on the number of data points by for a request.
Data points = (times * (days - ((12- months)*30)*years) * elements * stations.) 
is the element weathersymbolnumber (see symbols and number in day column). symbol_no does not exist in getElementProperties("","") because the meta data does not exist in the current database. symbol_no can be used in input parameter for the elements. The elements ww and nn are also in output because symbol_no is based on the elements.
-99999: number is set when missing data from station observing the element that it asked for. If the station does not observe element, no data will be shown.
-1.0: for precipitationfor means no precipitation observed.
0.0: for precipitation means observed precipitation but neglected.
Z: in output for time for example: 2008-07-02T00:00:00.000Z, Z means UTC-time.