GithubHelp home page GithubHelp logo

knut0815 / meteogram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buwx/meteogram

0.0 1.0 0.0 565 KB

Meteogram for a DWD MOSMIX station

Home Page: https://buwx.de/index.php/forecast

License: Apache License 2.0

R 2.66% PHP 2.28% JavaScript 33.78% HTML 48.26% XSLT 13.02%

meteogram's Introduction

Meteogram

Meteogram for DWD MOSMIX forecast stations

TODO:

# get the latest MOSMIX data from the DWD OpenData server
wget -N -P data https://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_S_LATEST_240.kmz

# filter stations (only german stations with id=10*
zcat data/MOSMIX_S_LATEST_240.kmz | xsltproc --stringparam station "${STATION}" \
    mos-filter10.xsl - > data/MOSMIX_S_LATEST_240-de.kml

# run the xsl transformation with the specified station parameters
STATION=10738
TITLE=Stuttgart/Echterdingen
TITLE_SHORT=Stuttgart/Echt.

cat data/MOSMIX_S_LATEST_240-de.kml | xsltproc --stringparam station "${STATION}" \
    --stringparam title "${TITLE}" --stringparam titleShort "${TITLE_SHORT}" \
    mos-json.xsl - > data/${STATION}.json

# change mosmix_url to 'data/10738.json' and view meteogram.html

Highcharts and Highstock available at https://www.highcharts.com

For more information see the service description on https://www.dwd.de/DE/leistungen/opendata/neuigkeiten/opendata_mar2018_01.html or my weather page https://buwx.de

meteogram's People

Contributors

buwx avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.