-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new repo culled from weatherapi3 and weatherapi-docs repos
- Loading branch information
Showing
253 changed files
with
3,638 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
|
||
# MET Weather API icons | ||
|
||
## Weather icons | ||
|
||
This is a redesigned set of icons, meant to be used in conjunction | ||
with version 2.0 of Locationforecast, Nowcast and Oceanforecast. | ||
They are available in PNG, SVG and PDF formats. The images are the | ||
same as used on [Yr](https://yr.no/), but the filenames are different | ||
to correspond with the symbol codes in Locationforecast | ||
|
||
The icon files are meant to be downloaded and bundled with your application. | ||
There is no need for an API to fetch individual icons on demand. | ||
|
||
{: .note } | ||
There is a typing error in `lightssleetshowersandthunder` and | ||
`lightssnowshowersandthunder` (an extra "s" after "light"). Unfortunately, | ||
correcting this would mean breaking existing applications, so it has been | ||
postponed to the next version of locationforecast/nowcast. | ||
|
||
### Variants | ||
|
||
Some symbols come in three different variants, for day, night and [polar | ||
twilight](https://en.wikipedia.org/wiki/Polar_night#Polar_twilight) | ||
respectively. Others (the ones without sun or moon) are constant during the | ||
day. Locationforecast/2.0 will specify the correct variant to use for each | ||
hour. | ||
|
||
### Algorithm | ||
|
||
You can potentially try to reconstruct the weather icons in the API from the | ||
locationforecast data. A description of the symbol algorithms is too long | ||
to document and support officially, but you can have a look at the [source code | ||
on GitHub](https://github.com/metno/weather_symbol) if you are interested. | ||
|
||
## Alerting icons | ||
|
||
You can download alerting icons in SVG format (which can be converted to PNG) | ||
from the [Yr GitHub page](https://github.com/nrkno/yr-warning-icons). | ||
|
||
### Variants | ||
|
||
Each warning icon includes a yellow, orange, and red variant. | ||
You can find descriptions of what the icons represent on the Yr help pages | ||
in [English](https://hjelp.yr.no/hc/en-us/articles/360014052634) | ||
and [Norwegian](https://hjelp.yr.no/hc/no/articles/360014052634). | ||
|
||
Event type|Icon id | ||
----------|-------- | ||
Avalanches|`icon-warning-avalanches` | ||
BlowingSnow|`icon-warning-snow` | ||
DrivingConditions|`icon-warning-drivingconditions` | ||
Flood|`icon-warning-flood` | ||
ForestFire|`icon-warning-forestfire` | ||
Gale|`icon-warning-wind` | ||
Ice|`icon-warning-ice` | ||
Icing|`icon-warning-generic` | ||
Landslide|`icon-warning-landslide` | ||
PolarLow|`icon-warning-polarlow` | ||
Rain|`icon-warning-rain` | ||
RainFlood|`icon-warning-rainflood` | ||
Snow|`icon-warning-snow` | ||
StormSurge|`icon-warning-stormsurge` | ||
Lightning|`icon-warning-lightning` | ||
Wind|`icon-warning-wind` | ||
Unknown|`icon-warning-generic` | ||
|
||
In addition there is an extreme warning icon, `icon-warning-extreme`, which only is available in red. | ||
|
||
## License | ||
|
||
The original icons as used on yr.no can be found on GitHub: | ||
- [weather icons](https://github.com/YR/weather-symbols/) | ||
- [alert icons](https://github.com/nrkno/yr-warning-icons) | ||
|
||
The icons are copyright (c) 2015-2017 Yr and licensed under the [MIT | ||
License](https://github.com/YR/weather-symbols/blob/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Symbol ID,English,Bokmål,Nynorsk,Old ID,Variants | ||
clearsky,Clear sky,Klarvær,Klårvêr,1,1 | ||
fair,Fair,Lettskyet,Lettskya,2,1 | ||
partlycloudy,Partly cloudy,Delvis skyet,Delvis skya,3,1 | ||
cloudy,Cloudy,Skyet,Skya,4,0 | ||
lightrainshowers,Light rain showers,Lette regnbyger,Lette regnbyer,40,1 | ||
rainshowers,Rain showers,Regnbyger,Regnbyer,5,1 | ||
heavyrainshowers,Heavy rain showers,Kraftige regnbyger,Kraftige regnbyer,41,1 | ||
lightrainshowersandthunder,Light rain showers and thunder,Lette regnbyger og torden,Lette regnbyer og torevêr,24,1 | ||
rainshowersandthunder,Rain showers and thunder,Regnbyger og torden,Regnbyer og torevêr,6,1 | ||
heavyrainshowersandthunder,Heavy rain showers and thunder,Kraftige regnbyger og torden,Kraftige regnbyer og torevêr,25,1 | ||
lightsleetshowers,Light sleet showers,Lette sluddbyger,Lette sluddbyer,42,1 | ||
sleetshowers,Sleet showers,Sluddbyger,Sluddbyer,7,1 | ||
heavysleetshowers,Heavy sleet showers,Kraftige sluddbyger,Kraftige sluddbyer,43,1 | ||
lightssleetshowersandthunder ,Light sleet showers and thunder,Lette sluddbyger og torden,Lette sluddbyer og torevêr,26,1 | ||
sleetshowersandthunder,Sleet showers and thunder,Sluddbyger og torden,Sluddbyer og torevêr,20,1 | ||
heavysleetshowersandthunder,Heavy sleet showers and thunder,Kraftige sluddbyger og torden,Kraftige sluddbyer og torevêr ,27,1 | ||
lightsnowshowers,Light snow showers,Lette snøbyger,Lette snøbyer,44,1 | ||
snowshowers,Snow showers,Snøbyger,Snøbyer,8,1 | ||
heavysnowshowers,Heavy snow showers,Kraftige snøbyger,Kraftige snøbyer,45,1 | ||
lightssnowshowersandthunder,Light snow showers and thunder,Lette snøbyger og torden,Lette snøbyer og torevêr,28,1 | ||
snowshowersandthunder,Snow showers and thunder,Snøbyger og torden,Snøbyer og torevêr,21,1 | ||
heavysnowshowersandthunder,Heavy snow showers and thunder,Kraftige snøbyger og torden,Kraftige snøbyer og torevêr,29,1 | ||
lightrain,Light rain,Lett regn,Lett regn,46,0 | ||
rain,Rain,Regn,Regn,9,0 | ||
heavyrain,Heavy rain,Kraftig regn,Kraftig regn,10,0 | ||
lightrainandthunder,Light rain and thunder,Lett regn og torden,Lett regn og torevêr,30,0 | ||
rainandthunder,Rain and thunder,Regn og torden,Regn og torevêr,22,0 | ||
heavyrainandthunder,Heavy rain and thunder,Kraftig regn og torden,Kraftig regn og torevêr,11,0 | ||
lightsleet,Light sleet,Lett sludd,Lett sludd,47,0 | ||
sleet,Sleet,Sludd,Sludd,12,0 | ||
heavysleet,Heavy sleet,Kraftig sludd,Kraftig sludd,48,0 | ||
lightsleetandthunder,Light sleet and thunder,Lett sludd og torden,Lett sludd og torevêr,31,0 | ||
sleetandthunder,Sleet and thunder,Sludd og torden,Sludd og torevêr,23,0 | ||
heavysleetandthunder,Heavy sleet and thunder,Kraftig sludd og torden,Kraftig sludd og torevêr,32,0 | ||
lightsnow,Light snow,Lett snø,Lett snø,49,0 | ||
snow,Snow,Snø,Snø,13,0 | ||
heavysnow,Heavy snow,Kraftig snø,Kraftig snø,50,0 | ||
lightsnowandthunder,Light snow and thunder,Lett snø og torden,Lett snø og torevêr,33,0 | ||
snowandthunder,Snow and thunder,Snø og torden,Snø og torevêr,14,0 | ||
heavysnowandthunder,Heavy snow and thunder,Kraftig snø og torden,Kraftig snø og torevêr,34,0 | ||
fog,Fog,Tåke,Skodde,15,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
# Legend | ||
|
||
You can find translations for the various symbols (in English and Norwegian) | ||
as a CSV file named `legend.csv`. | ||
|
||
Symbol ID |English |Bokmål |Nynorsk |Variants | ||
-------------------------------|---------------------------------|-------------------------------|------------------------------|-------- | ||
`clearsky` |Clear sky |Klarvær |Klårvêr |yes | ||
`fair` |Fair |Lettskyet |Lettskya |yes | ||
`partlycloudy` |Partly cloudy |Delvis skyet |Delvis skya |yes | ||
`cloudy` |Cloudy |Skyet |Skya |no | ||
`lightrainshowers` |Light rain showers |Lette regnbyger |Lette regnbyer |yes | ||
`rainshowers` |Rain showers |Regnbyger |Regnbyer |yes | ||
`heavyrainshowers` |Heavy rain showers |Kraftige regnbyger |Kraftige regnbyer |yes | ||
`lightrainshowersandthunder` |Light rain showers and thunder |Lette regnbyger og torden |Lette regnbyer og torevêr |yes | ||
`rainshowersandthunder` |Rain showers and thunder |Regnbyger og torden |Regnbyer og torevêr |yes | ||
`heavyrainshowersandthunder` |Heavy rain showers and thunder |Kraftige regnbyger og torden |Kraftige regnbyer og torevêr |yes | ||
`lightsleetshowers` |Light sleet showers |Lette sluddbyger |Lette sluddbyer |yes | ||
`sleetshowers` |Sleet showers |Sluddbyger |Sluddbyer |yes | ||
`heavysleetshowers` |Heavy sleet showers |Kraftige sluddbyger |Kraftige sluddbyer |yes | ||
`lightssleetshowersandthunder` |Light sleet showers and thunder |Lette sluddbyger og torden |Lette sluddbyer og torevêr |yes | ||
`sleetshowersandthunder` |Sleet showers and thunder |Sluddbyger og torden |Sluddbyer og torevêr |yes | ||
`heavysleetshowersandthunder` |Heavy sleet showers and thunder |Kraftige sluddbyger og torden |Kraftige sluddbyer og torevêr |yes | ||
`lightsnowshowers` |Light snow showers |Lette snøbyger |Lette snøbyer |yes | ||
`snowshowers` |Snow showers |Snøbyger |Snøbyer |yes | ||
`heavysnowshowers` |Heavy snow showers |Kraftige snøbyger |Kraftige snøbyer |yes | ||
`lightssnowshowersandthunder` |Light snow showers and thunder |Lette snøbyger og torden |Lette snøbyer og torevêr |yes | ||
`snowshowersandthunder` |Snow showers and thunder |Snøbyger og torden |Snøbyer og torevêr |yes | ||
`heavysnowshowersandthunder` |Heavy snow showers and thunder |Kraftige snøbyger og torden |Kraftige snøbyer og torevêr |yes | ||
`lightrain` |Light rain |Lett regn |Lett regn |no | ||
`rain` |Rain |Regn |Regn |no | ||
`heavyrain` |Heavy rain |Kraftig regn |Kraftig regn |no | ||
`lightrainandthunder` |Light rain and thunder |Lett regn og torden |Lett regn og torevêr |no | ||
`rainandthunder` |Rain and thunder |Regn og torden |Regn og torevêr |no | ||
`heavyrainandthunder` |Heavy rain and thunder |Kraftig regn og torden |Kraftig regn og torevêr |no | ||
`lightsleet` |Light sleet |Lett sludd |Lett sludd |no | ||
`sleet` |Sleet |Sludd |Sludd |no | ||
`heavysleet` |Heavy sleet |Kraftig sludd |Kraftig sludd |no | ||
`lightsleetandthunder` |Light sleet and thunder |Lett sludd og torden |Lett sludd og torevêr |no | ||
`sleetandthunder` |Sleet and thunder |Sludd og torden |Sludd og torevêr |no | ||
`heavysleetandthunder` |Heavy sleet and thunder |Kraftig sludd og torden |Kraftig sludd og torevêr |no | ||
`lightsnow` |Light snow |Lett snø |Lett snø |no | ||
`snow` |Snow |Snø |Snø |no | ||
`heavysnow` |Heavy snow |Kraftig snø |Kraftig snø |no | ||
`lightsnowandthunder` |Light snow and thunder |Lett snø og torden |Lett snø og torevêr |no | ||
`snowandthunder` |Snow and thunder |Snø og torden |Snø og torevêr |no | ||
`heavysnowandthunder` |Heavy snow and thunder |Kraftig snø og torden |Kraftig snø og torevêr |no | ||
`fog` |Fog |Tåke |Skodde |no | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.