Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mitica/metno-symbols

met.no weather symbol names
https://github.com/mitica/metno-symbols

metno metno-symbols

Last synced: 4 days ago
JSON representation

met.no weather symbol names

Awesome Lists containing this project

README

        

# metno-symbols

A set of files with met.no weather symbol names.

Supported languages: `['en', 'ro', 'bg', 'ru', 'hu', 'cs', 'it', 'pl', 'sq', 'tr', 'lv', 'vi', 'sr']`

## Files

- **symbols**.json - general symbols
- **en**.json - symbols names for English
- **ro**.json - symbols names for Romanian
- ... **CODE**.json - CODE = language code

## Nodejs usage
```
var Symbols = require('metno-symbols');
var englishSymbols = Symbols.symbols('en');
var englishSunName = Symbols.symbolName(1);
// or:
// var englishSunName = Symbols.symbolName('Sun');
var romanianSunName = Symbols.symbolName(1, 'ro');
// or:
// var romanianSunName = Symbols.symbolName('Sun', 'ro');
```