Weather::MOSMIX - Reader for MOSMIX weather forecast files
$mosmix->locations
Lists all locations with their names and longitude/latitude. If a longitude / latitude pair is passed in, the list is ordered by the distance from that position.
Install the module
Create a directory for the database
mkdir ~/weather ; cd ~/weather
Create the database
mosmix-import.pl --create
Set up a cron job to fetch the MOSMIX forecast
01 6,12,18,0 * * * cd /home/corion/weather; mosmix-import.pl 15 6,12,18,0 * * * cd /home/corion/weather; mosmix-purge.pl
Query the current forecast
cd /home/corion/weather; mosmix-query.pl
German Weather Service
https://opendata.dwd.de/weather/
https://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_S/all_stations/kml/
Other Weather APIs
https://openweathermap.org/api - international, signup required
https://www.weatherbit.io/api - international, signup required
https://developer.accuweather.com/ - international, signup required
https://darksky.net/dev - paid, international, signup required
http://api.weather2020.com/ - international, signup required
Overview of Open Data
https://index.okfn.org/place/de/weather/ https://index.okfn.org/place/us/weather/ https://index.okfn.org/place/lv/weather/ https://index.okfn.org/place/cy/weather/
Cyprus forecast
http://www.moa.gov.cy/moa/ms/ms.nsf/DMLforecast_general_gr/DMLforecast_general_gr?opendocument
https://github.com/zagortenay333/Tempestacons
https://thenounproject.com/search/?q=weather
https://undraw.co/search
https://coreui.io/icons/
The public repository of this module is https://github.com/Corion/weather-mosmix.
The public support forum of this module is https://perlmonks.org/.
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.
Max Maischein corion@cpan.org
corion@cpan.org
Copyright 2019-2020 by Max Maischein corion@cpan.org.
This module is released under the same terms as Perl itself.
To install Weather::MOSMIX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Weather::MOSMIX
CPAN shell
perl -MCPAN -e shell install Weather::MOSMIX
For more information on module installation, please visit the detailed CPAN module installation guide.