Showing posts with label gnuplot. Show all posts
Showing posts with label gnuplot. Show all posts
Tuesday, 16 April 2019
Friday, 13 October 2017
Weather forecast: build a graph with gnuplot (1)
Once I discovered Metcheck.com I thought to have found the solution to all my weather forecasting problem. I had datas in more less lines of code than email GRIB provided by SailDocs GRIB Service (a useful, but co,plicated system to receive email which contents is a grib file to decode and set by a bash script).
With the Metcheck system I can receive datas in a json format (free), in this way I can use libraries in bash to obtain infos quickly.
So, with this method I extrapolated dats and I converted it in a csv file then, with these infos I used gnuplot (a bash command [sudo apt-get install gnuplot]) or better, I created a pg file (within there are gnuplot commands) to generate a graph (and after a multigraph through the use of other bash commands).
This is the last version of my code bash code (on pastebin.com):
Although the previous one is not complete you can find the project through the following link on hithub:
With the Metcheck system I can receive datas in a json format (free), in this way I can use libraries in bash to obtain infos quickly.
So, with this method I extrapolated dats and I converted it in a csv file then, with these infos I used gnuplot (a bash command [sudo apt-get install gnuplot]) or better, I created a pg file (within there are gnuplot commands) to generate a graph (and after a multigraph through the use of other bash commands).
This is the last version of my code bash code (on pastebin.com):
I'd be glad if you could give me some suggestion. Thank you... :-)
Subscribe to:
Posts (Atom)
-
One of my dreams was to measure particulate in the air and make this operation simple. Thanks to the PPD42NS sensor this is possible. O...
-
Just a few book... HTML5 CSS3 jQuery Javascript Markdown Any languages (important!!) Wordpress Take a look!
