B<UVforecast> - A prognosis of UV radiation


NAME

UVforecast - A prognosis of UV radiation


DESCRIPTION

Returns forecast of uv - radiation. Data can be returned as an image (png) or as a xml-document. Forecasts are available for the immiediate three days, at time 12:00:00 UTC.


Available

A list of available data may be retrieved using the 'available' action, using the url 'http://api.met.no/weatherapi/uvforecast/1.0/available'.


Schema

The schema for the xml delivered by this product is available from http://api.met.no/weatherapi/uvforecast/1.0/schema.


Parameters

time (mandatory)

Specify the time for which you want a forecast. Forecasts are currently available for the immediate three days at the time 12:00:00 UTC. Note though, that uv-forecast of the present date will become unavailable some time after 12 UTC.

Format: yyyy-mm-ddThh:mm:00Z.

content_type (mandatory)

Specify type of file to be returned.

Values: image/png, text/xml.

cloudcoverage (mandatory in use with image/png)

Specify the type of cloudcover you want a forecast for.

Values: clear, partly_cloudy, cloudy, forecast

This option is not valid when content_type=text/xml


Example requests:

http://api.met.no/weatherapi/uvforecast/1.0/?cloudcoverage=clear;time=2008-04-10T12:00:00Z;content_type=image/png
http://api.met.no/weatherapi/uvforecast/1.0/?time=2007-01-10T12:00:00Z;content_type=text/xml


Change log

1.0, 2008-04-01

- Updated documentation regarding required parameters
 B<UVforecast> - A prognosis of UV radiation