WXSIM - Meteobridge Pro

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

User avatar
hrvistaweather
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Mon Apr 29, 2019 11:16 am
Location: Beaumaris Tasmania
Contact:

Re: WXSIM - Meteobridge Pro

Post by hrvistaweather »

Hi,
Just had change to DST this morning, at 02: clocks forward (1) Hour to 03:00.
For some reason my Davis Console never changed (it used to for years when plugged into my PC but did not this morning (as plugged into my Meteobridge Pro Red).
Anyway manually set time on Davis Console and all OK.
What I did find was that the append script for cumulus export I have been using (by Bernd) because of the above issue I assume did not record the 01:00 to 01:59 period. resulted in below :

Code: Select all

06/10/19,00:53,12.2,86,9.9,3.2,4.7,326,0.0,0.0,1014.5,0,21.3,44,4.7,12.2,12.2,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,00:54,12.2,86,9.9,3.2,8.0,319,0.0,0.0,1014.5,0,21.3,44,8.0,12.2,12.2,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,00:55,12.2,86,9.9,3.2,8.0,319,0.0,0.0,1014.6,0,21.3,44,8.0,11.9,12.2,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,00:56,12.2,86,9.9,4.5,4.7,296,0.0,0.0,1014.6,0,21.3,44,4.7,12.2,12.2,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,00:57,12.2,86,9.9,4.7,11.3,314,0.0,0.0,1014.6,0,21.3,44,11.3,12.0,12.2,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,00:58,12.1,86,9.8,4.7,11.3,320,0.0,0.0,1014.5,0,21.3,44,11.3,12.1,12.1,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,00:59,12.1,86,9.8,4.7,11.3,320,0.0,0.0,1014.5,0,21.3,44,11.3,12.1,12.1,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:00,11.8,88,9.9,0.0,1.4,301,0.0,0.0,1012.5,0,20.7,45,1.4,11.9,11.8,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:01,11.8,89,10.0,0.0,0.0,301,0.0,0.0,1012.5,0,20.7,45,0.0,11.8,11.8,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:02,11.8,89,10.0,0.0,0.0,301,0.0,0.0,1012.5,0,20.7,45,0.0,11.8,11.8,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:03,11.8,89,10.0,0.0,0.0,301,0.0,0.0,1012.5,0,20.7,45,0.0,11.8,11.8,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:04,11.7,89,9.9,0.0,1.4,301,0.0,0.0,1012.4,0,20.7,45,1.4,11.7,11.7,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:05,11.7,89,9.9,0.0,0.0,301,0.0,0.0,1012.4,0,20.7,45,0.0,11.7,11.7,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:06,11.7,89,9.9,0.0,0.0,301,0.0,0.0,1012.4,0,20.7,45,0.0,11.7,11.7,0.0,0,0,0,0,0,0,0,0,0,
06/10/19,03:07,11.7,89,9.9,0.0,3.2,307,0.0,0.0,1012.4,0,20.7,45,3.2,11.7,11.7,0.0,0,0,0,0,0,0,0,0,0,
Also not sure if anyone can help with an earlier question :
"I have tried many was to achieve this one minute monthly output and one thing I would need to do is export historic (previous) Monthly Logs (in one Minute Resolution).

The stumbling block being inability to export monthly data in minute resolution."

Kind Regards,
Tony
thunderstorm
Senior Boarder
Senior Boarder
Posts: 75
Joined: Sun Mar 31, 2019 11:00 am

Re: WXSIM - Meteobridge Pro

Post by thunderstorm »

Hi Tony,

not sure what happened during the DST switch, but regarding accumulated rain-total: Looks like for data exports yearsum/daysum takes only the selected data-period into account (sums up the values and groups it by year or date), which isn't helpful for the wxsim support (see here).

I've a separate (email) thread with Boris and Tom so sort this out.

Bernd
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: WXSIM - Meteobridge Pro

Post by admin »

Yes, rain totals are just computed for the requested time period. When you try to get around the 72h limitation of available data in 1 minute resolution by polling every hour data from it and by appending these snippets, rain-totals will not sum up in the export file over the day or month.

When you decide to go with hourly data you can get the current month in one request and the sums will work fine.
User avatar
hrvistaweather
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Mon Apr 29, 2019 11:16 am
Location: Beaumaris Tasmania
Contact:

Re: WXSIM - Meteobridge Pro

Post by hrvistaweather »

Hi Bernd and Boris,
Thanks for all your help, however due to the inability to produce the accumulated Rain Totals in less than 1 hourly format etc. I have elected to go back to using CumulusMX (TCP/IP connection set to the ip-address of the Meteobridge Pro and the Port Number 22222) for now until a possible resolve may be found, without Tom having to re-script WXSIM for a different input format.

Kindest Regards,
Tony
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: WXSIM - Meteobridge Pro

Post by admin »

I still don't see why a per minute data resolution is needed when doing forecasts, but may be I don't understand enough on that.
thunderstorm
Senior Boarder
Senior Boarder
Posts: 75
Joined: Sun Mar 31, 2019 11:00 am

Re: WXSIM - Meteobridge Pro

Post by thunderstorm »

Right now I'm using following solution, that unfortunately doesn't include historical data with a resolution resolution less than an hour.

I schedule a ftp template upload every 5min to my webspace (you could choose a different schedule and vary the avg-selector)

Code: Select all

#if#{*[th0hum-avg5.0:]>0*}#then#[DD]/[MM]/[YY],[hh]:[mm],[th0temp-avg5.1:],[th0hum-avg5.0:],[th0dew-avg5.1:],[wind0wind-avg5=mph.1:],[wind0wind-max5=mph.1:],[wind0dir-avg5.0:],[rain0rate-avg5.1:],[rain0total-daysum.1:],[thb0seapress-avg5.1:],[rain0total-yearsum.1:],,,,,,,[sol0rad-avg5.0:],,#else##[DD]/[MM]/[YY],[hh]:[mm] - no data#fi#
ftp-schedule.png
ftp-schedule.png (46.13 KiB) Viewed 2670 times
And download it with a script right after the upload to append it to a monthly log

Code: Select all

#!/bin/sh
#
TARGET="/tmp/mnt/data/export/`date '+%b.%y'`log.txt"
URL="http://<...>/c`date '+%Y%m%d%H%M'`.txt"
wget -O - $URL >>$TARGET
exit 0
script-schedule.png
script-schedule.png (52.2 KiB) Viewed 2670 times
Not the best solution ever, especially since it requires an internet connection (I don't want to run an additional local ftp/http server), but it works for now.

Maybe Boris can provide a smoother integration at some point - knowing he's super busy :D

Best,
Bernd
Post Reply