Author Topic: Missing windrose.png for wxtrends.  (Read 366 times)

0 Members and 1 Guest are viewing this topic.

Offline drrehak

  • Senior Member
  • **
  • Posts: 51
Missing windrose.png for wxtrends.
« on: February 21, 2022, 12:32:03 PM »
MB-trends-inc.php is looking for windrose.png in ./
I don't have a windrose.png anywhere.

Is there anyway to get the windrose graphic for the trends page? 
Looks like some sites that have it are using dirplot.gif
Do I need to replicate some code from the dashboard to use that on the trends page?
Other suggestions?
Davis Pro2+ and Meteobridge Pro

Thanks.


Dan Rehak | Pittsburgh PA
Davis Vantage Pro 2 Plus | Meteobridge Pro
Local Site | Raspberry Pi 4B

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8672
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Missing windrose.png for wxtrends.
« Reply #1 on: February 21, 2022, 01:09:55 PM »
My testing site at https://saratogawx.net/wxtrends.php doesn't show anything regarding the windrose, as the windrose.png image isn't present.

The current version of Meteobridge software doesn't generate the image at all (AFAIK).
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline drrehak

  • Senior Member
  • **
  • Posts: 51
Re: Missing windrose.png for wxtrends.
« Reply #2 on: February 21, 2022, 02:35:30 PM »
Ken

Understood and your MB output is what output I'm currently getting, unlike what you have on your production site.    Was hoping someone has some changes/extensions to wxtrends to generate a windrose from the MB data.  Otherwise I'll put it on my "to do" list.
Dan Rehak | Pittsburgh PA
Davis Vantage Pro 2 Plus | Meteobridge Pro
Local Site | Raspberry Pi 4B

Offline cirrus

  • Kevin Hough
  • Member
  • *
  • Posts: 44
  • Davis Vantage Pro2 Plus
    • Gorge-East Weather
Re: Missing windrose.png for wxtrends.
« Reply #3 on: February 21, 2022, 04:59:19 PM »
Ken

Understood and your MB output is what output I'm currently getting, unlike what you have on your production site.    Was hoping someone has some changes/extensions to wxtrends to generate a windrose from the MB data.  Otherwise I'll put it on my "to do" list.

I used to use jpgraphs for that. I went back to using WD's dirplot.gif as I couldn't see having the large amount of files required for jpgraphs just for 1 item, but it worked very well for rendering a windrose. Here's an example of the windrose at jpgraphs: https://jpgraph.net/images/gallery/wind1.png

« Last Edit: February 22, 2022, 01:49:24 AM by cirrus »
Regards,--Kevin


Offline drrehak

  • Senior Member
  • **
  • Posts: 51
Re: Missing windrose.png for wxtrends.
« Reply #4 on: February 22, 2022, 12:30:43 PM »
Thank you for the tip.

Dan Rehak | Pittsburgh PA
Davis Vantage Pro 2 Plus | Meteobridge Pro
Local Site | Raspberry Pi 4B

 

anything