Author Topic: meteohub - clientraw ?  (Read 383 times)

0 Members and 1 Guest are viewing this topic.

Offline sheldon

  • Senior Member
  • **
  • Posts: 82
    • Roma EUR Meteo
meteohub - clientraw ?
« on: February 21, 2019, 10:32:50 AM »
Hi to everyone,

preamble: I'm managing a weather station network and I'm trying to acquire data from different softwares. I've never used meteohub and I don't know how it works.

I was wondering if meteohub automatically generates some file such as "realtime.txt" by Cumulus or "clientraw.txt" by weather display.

I would be very grateful to those who could help me.

Thanks,
Andrea
My weather Station in Rome:
http://www.romaeurmeteo.it/

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 3392
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: meteohub - clientraw ?
« Reply #1 on: February 21, 2019, 11:29:28 AM »
Meteohub generates a clientraw.txt file.
It is what I am using on my site.
I would recommend viewing the Wiki for meteohub at https://wiki.meteohub.de/Introduction
The info for the meteobridge is located at https://meteobridge.com/wiki/index.php/Home

Greg H.



Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline sheldon

  • Senior Member
  • **
  • Posts: 82
    • Roma EUR Meteo
Re: meteohub - clientraw ?
« Reply #2 on: February 22, 2019, 11:57:58 AM »
Meteohub generates a clientraw.txt file.
It is what I am using on my site.
I would recommend viewing the Wiki for meteohub at https://wiki.meteohub.de/Introduction
The info for the meteobridge is located at https://meteobridge.com/wiki/index.php/Home

Greg H.

thank you, I found that the clientraw generated is the same as weather display's!
now, I have another problem: the clientraw is getting updated very irregularly (like an update every 2 hours), but the station appears continously online on the website. What could I do?
My weather Station in Rome:
http://www.romaeurmeteo.it/

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 3392
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: meteohub - clientraw ?
« Reply #3 on: February 22, 2019, 01:16:09 PM »
Here is a useful tool for the clientraw files: https://www.tnetweather.com/wdparserold/index.php
Remember to put the http:// (or https://) ahead of your URL otherwise it won't work.
With this tool, you can compare the clientraw files from the different programs.
What program are you using? Are you asking about the clientraw file generated by meteohub? Or, some other program?
The station might appear, but maybe with old data. The Saratoga scripts will show a banner if the file is stale. What web template are you using?
Are you examining the time stamps on the file in the web site's directory?
We area going to need more background in order to help.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline sheldon

  • Senior Member
  • **
  • Posts: 82
    • Roma EUR Meteo
Re: meteohub - clientraw ?
« Reply #4 on: February 23, 2019, 09:57:54 AM »
Here is a useful tool for the clientraw files: https://www.tnetweather.com/wdparserold/index.php
Remember to put the http:// (or https://) ahead of your URL otherwise it won't work.
With this tool, you can compare the clientraw files from the different programs.
What program are you using? Are you asking about the clientraw file generated by meteohub? Or, some other program?
The station might appear, but maybe with old data. The Saratoga scripts will show a banner if the file is stale. What web template are you using?
Are you examining the time stamps on the file in the web site's directory?
We area going to need more background in order to help.


Greg H.


The clientraw I'm using is thisone, generated by meteohub: http://www.leganavaleostia.it/data/clientraw.txt
look at the graphs generated by parsing the data from that:
 [ You are not allowed to view attachments ]
there are very few updates. But the station is continuosly online on the official website: http://www.leganavaleostia.it/situazione-attuale/
Looking directly to the clientraw, I noticed that it isn't getting frequently updated during the day (as the attached graph suggests).
The problem now is that this station isn't managed directly by me, so I can't handle the software. Is this normal, that clientraw is few times updated?
Thanks
My weather Station in Rome:
http://www.romaeurmeteo.it/

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 3392
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: meteohub - clientraw ?
« Reply #5 on: February 23, 2019, 11:48:55 AM »
Quote
The problem now is that this station isn't managed directly by me, so I can't handle the software. Is this normal, that clientraw is few times updated?

This is going to be dependent on the settings that the station is using for uploads. Whatever they are using, there must be a schedule for the clientraw file uploads. If you don't have control over it, there isn't much that you can do.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1397
    • My PWS at Leuven Belgium Europe
Re: meteohub - clientraw ?
« Reply #6 on: February 23, 2019, 01:28:57 PM »
Quote
The problem now is that this station isn't managed directly by me, so I can't handle the software. Is this normal, that clientraw is few times updated?

This is going to be dependent on the settings that the station is using for uploads. Whatever they are using, there must be a schedule for the clientraw file uploads. If you don't have control over it, there isn't much that you can do.

Greg H.
http://www.leganavaleostia.it is uploading the clientraw.txt every minute.
Code: [Select]
LegaNavaleOstia-19:15
LegaNavaleOstia-19:16
LegaNavaleOstia-19:17
Their nginx webserver/htaccess is set with a long valid period for text files, which is normal nowadays as those files do not change often.
Requesting the same text-file over and over again is then loaded from the browser cache after an "304 Not Modified" answer.

In these cases AND when is allowed to retrieve those files by the owner of the files,
one should use a timestamp after the filename: /data/clientraw.txt?1550945893484 
in PHP that is  '/data/clientraw.txt?'.time()

Wim


Support for Leuven-Template & Scripts  at this forum
Support for the HWS-template for WD a.o.  http://wd34.weather-template.com/
Script sponsors https://support.leuven-template.eu/userlistScripts.php
Template sponsors https://support.leuven-template.eu/userlist.php

Offline sheldon

  • Senior Member
  • **
  • Posts: 82
    • Roma EUR Meteo
Re: meteohub - clientraw ?
« Reply #7 on: February 23, 2019, 05:53:58 PM »
Quote
The problem now is that this station isn't managed directly by me, so I can't handle the software. Is this normal, that clientraw is few times updated?

This is going to be dependent on the settings that the station is using for uploads. Whatever they are using, there must be a schedule for the clientraw file uploads. If you don't have control over it, there isn't much that you can do.

Greg H.
http://www.leganavaleostia.it is uploading the clientraw.txt every minute.
Code: [Select]
LegaNavaleOstia-19:15
LegaNavaleOstia-19:16
LegaNavaleOstia-19:17
Their nginx webserver/htaccess is set with a long valid period for text files, which is normal nowadays as those files do not change often.
Requesting the same text-file over and over again is then loaded from the browser cache after an "304 Not Modified" answer.

In these cases AND when is allowed to retrieve those files by the owner of the files,
one should use a timestamp after the filename: /data/clientraw.txt?1550945893484 
in PHP that is  '/data/clientraw.txt?'.time()

Wim

thank you!!!!! =D> =D>
now it works perfectly.  \:D/
My weather Station in Rome:
http://www.romaeurmeteo.it/

 

anything