Yr.no Weather Template
  • 14 Oct 2024
  • 1 Minute to read

Yr.no Weather Template


Article summary

The YR.no weather template provides Weather-forcasts for any position on (landmass of) earth by exposing data from their weather simulation model. The only requirement is that a disclaimer/copyright text/logo is included in the design.

There's a lot of data to handle, as the data (temperature, wind-info, symbol etc.) is exposed for different time-ranges and data is more detailed in the near future than for example, a week away.

This wrapper makes it easier to handle this data. The methods Weather.YR.getTimeRangeForcast() and Weather.YR.getForecastAround(), simplifies how this is done.

The template uses Weather-symbol graphics from YR, but other designs can be used.

Note how the "Table (repeating data)" pattern is used for display of today's- and coming-days forecasts.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.