Page 1 of 1

More meoteohub and data on one internet site, possible

Posted: Sat Jul 12, 2008 11:20 am
by J.S.
Hej,

I have the possibility to put more meteohubs in different places. I want to know if it is possible to get the data from different meteohubs and put it in a table or a few tables side by side on one internetpage (not one site), so people can see directly what the temperature, sun and wind is in each city/village?

If it is not possible directly via meteohub, is it possible with WD of WsWIn???

Thanks in advance,
J.S.

Re:More meoteohub and data on one internet site, possible

Posted: Sat Jul 12, 2008 1:22 pm
by skyewright
J.S. wrote:I want to know if it is possible to get the data from different meteohubs and put it in a table or a few tables side by side on one internetpage (not one site), so people can see directly what the temperature, sun and wind is in each city/village?
If I have understood your requirement correctly, if you had the sections that were fed from different sources as 'include' files then the requirement could be handled by the website.

As a minor example, the home page of my weather website is usually built from data uploaded by WD, but I also upload a html file from Meteohub every 15 minutes. If the php code that builds the page detects that the WD sourced data is more than 15 minutes older than the Meteohub sourced data (as happens every night when I shutdown the WD PC), it uses the Meteohub html file instead of the WD.

Does that make sense?

Re:More meoteohub and data on one internet site, possible

Posted: Sat Jul 12, 2008 2:20 pm
by J.S.
I read that on your site, but in this case it is either a or b, so to speak. So not simultaneously.

I want something like this:

http://www.knmi.nl/actueel/

A map with the values of the station on it topographically (probably invloves programming) but most of all the table below with all my weatherstations in a nice, clean table.

if not, than three stations like a sort of weahterunderground thing you can put on your site. But then three or four...

Dificult to clarify myself..

Thanks.

Re:More meoteohub and data on one internet site, possible

Posted: Sat Jul 12, 2008 6:50 pm
by skyewright
J.S. wrote:I read that on your site, but in this case it is either a or b, so to speak. So not simultaneously.
But simultaneous is just a possible.

You can 'include' as many files as you like in a page, i.e. you have a 'master' page that specifies includes that point to other (probably html) text files. When the server receives a request for the master page it merges together the text of the master page plus the current versions of the included files, then and presents the lot to the browser (if someone 'views' the source of the served page they see the combined result).

In your case the included files could be html snippets uploaded by different Meteohubs (or WD, or WSWIN,...).

Does that make more sense now?

There are various types of 'include', php is just one of them.

Alternatively, if your data was in the form of graph images, you could manage the same thing without the includes (in some ways I suppose <img> actually is a specialist form of 'include'!).
A map with the values of the station on it topographically (probably invloves programming) but most of all the table below with all my weatherstations in a nice, clean table.
With php pulling in values from data files uploaded by various Meteohubs you could do that.

To some extent that's what is going on with the various Weather Networks that exist, e.g.
http://www.scottishweather.net/

Re:More meoteohub and data on one internet site, possible

Posted: Sat Jul 12, 2008 9:31 pm
by J.S.
Sqaw the site already. Look great, not exactly what I want but it comes close. I want the data to be in it directly, not by going over the station. So temperature, winddirection and speed and humidity as almost one symbol. I know what I want, but I do not know anything about php or html programming. I hate to do it actually. Had to do so back when I studied electrotechnology back in the early ninetees but always didn't like. Tried it in 2000/2001, making my own site but it is not for me I guess. Do not like it at all. I could ask someone of course to assist me. May be then I like it better...

Scottish site looks nice BTW!

Re:More meoteohub and data on one internet site, possible

Posted: Sat Jul 12, 2008 10:53 pm
by skyewright
J.S. wrote:Had to do so back when I studied electrotechnology back in the early ninetees but always didn't like.
I'd offer to help, but I already spend far more time than I ought on weather related things. :ohmy:

I first came across programming when we had a short course in FORTRAN as part of my Civil Engineering degree in the very late 70's. I never became a Civ Eng. Nowadays I mainly work in C plus plus (if I write that the normal way, joomla seems to 'eat' the plus signs! ). I write software in the field of accounts and stock control. I've only recently started to dabble in PHP to help customise the scripts that drive my weather site - I am very impressed with the power and flexibility of PHP.
Scottish site looks nice BTW!
One of a growing group - they started in the US, but there now ones in Europe and the Pacific region.
http://www.scottishweather.net/wxglobal.php
There is a lot of help available for people wanting to set up new national or regional sites. No programming knowledge required - so I understand. I could put you in touch with the relevant people if you were interested.

Re:More meoteohub and data on one internet site, possible

Posted: Sat Jul 12, 2008 11:33 pm
by J.S.
Well, that would be very nice! But first things first. I also have so much time to spend, so it will go into the station and do a lot of testing. Afterwards I will ask you to bring me in contact with them if that is oke with you.

Thanks in advance!

J.