smhi_r

Read rainfall from SMHI in a virtual tag read script.

Read scripts only. Part of the virtual tag expression reference.

Reads the rainfall for a location and time from SMHI.

smhi_r(lon: number, lat: number, time: number): number;

Parameters

  • lon — the longitude of the location.
  • lat — the latitude of the location.
  • time — the Unix timestamp, in seconds.

Return value

The rainfall at that location and time.