GithubHelp home page GithubHelp logo

buwx / meteogram Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 4.0 565 KB

Meteogram for a DWD MOSMIX station

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

License: Apache License 2.0

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

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meteogram's Issues

Old MOSMIX Date

Hi,

is it possible to get old (March 2021) MOSMIX Data for a certain station?

Thanks!

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.