The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Weather::MOSMIX::Weathercodes - weather codes for MOSMIX data

SYNOPSIS

  use Weather::MOSMIX::Weathercodes 'mosmix_weathercode';
  print mosmix_weathercode('01')->{text}; # sunny
  print mosmix_weathercode('01')->{emoji}; # \N{SUN} emoji

FUNCTIONS

mosmix_weathercode

  my $c = mosmix_weathercode('01');

This function returns a reference to a hash of items representing a weather code. The hash keys are:

<emoji>

Emoji representing this weather code

<svg>

SVG filename representing this weather code, taken from the Tempestacons

<text>

English text description as provided by DWD

SEE ALSO

https://www.dwd.de/DE/leistungen/opendata/help/schluessel_datenformate/kml/mosmix_element_weather_xls.html

Tempestacons

REPOSITORY

The public repository of this module is https://github.com/Corion/weather-mosmix.

SUPPORT

The public support forum of this module is https://perlmonks.org/.

BUG TRACKER

Please report bugs in this module via the RT CPAN bug queue at https://rt.cpan.org/Public/Dist/Display.html?Name=Weather-MOSMIX or via mail to www-Weather-MOSMIX@rt.cpan.org.

AUTHOR

Max Maischein corion@cpan.org

COPYRIGHT (c)

Copyright 2019-2020 by Max Maischein corion@cpan.org.

LICENSE

This module is released under the same terms as Perl itself.