Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Monthly dom wind dir web tag

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Monthly dom wind dir web tag

Post by muppet77 »

Hi all.
Happy New Year.

Is there a web tag that gives this months dominant wind direction please?
I know the monthly log file has it but I'd like to "get at it" for use with php.

Any ideas?
Regards.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Monthly dom wind dir web tag

Post by steve »

There's no web tag. It's in the NOAA-style reports as a compass point.
Steve
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: Monthly dom wind dir web tag

Post by muppet77 »

Thanks Steve. I guessed that would be the case as I had a good search.
Any ideas on getting to php? (Words or bearing?)
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Monthly dom wind dir web tag

Post by steve »

Didn't someone write a PHP parser for the NOAA reports? And I tried to keep them 'standard' so that any existing tools could be used. I had rather assumed/hoped that in providing the NOAA reports, that they could be used for the summary information that isn't available elsewhere in Cumulus. Perhaps this was a forlorn hope.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Monthly dom wind dir web tag

Post by steve »

Kevin did a parser for the NOAA monthly reports (i.e. the ones with the daily summaries) produced by WD: http://www.tnetweather.com/nb-0005.php

I used Weatherlink as the basis for the Cumulus ones, but I imagine that his code could be adapted if necessary, and also used as the basis for a parser for the annual reports (i.e. the ones with the monthly summaries).
Steve
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: Monthly dom wind dir web tag

Post by muppet77 »

Thanks both.
I do have this set up but can't seem to find the bit I need.
http://www.maidenerleghweather.com/cumu ... e/noaa.php
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Monthly dom wind dir web tag

Post by steve »

If you select a year, it will show you the dominant direction for each month, e.g.
2014-01-03 18_15_12-www.maidenerleghweather.com_cumulus_website_noaa.php.png
But your display box is cut off, so you can't see any months after April, so if you select 2013 you can't see the months that you actually have data for:
2014-01-03 18_15_40-www.maidenerleghweather.com_cumulus_website_noaa.php.png
You do not have the required permissions to view the files attached to this post.
Steve
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: Monthly dom wind dir web tag

Post by muppet77 »

Thanks Steve. I meant I don't know how to access that monthly dominant direction so I can use it in php.
Which variable of the script do I need to look for? Thanks.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Monthly dom wind dir web tag

Post by steve »

In Kevin's script? It looks like $value[12] to me. But that's the daily dominant direction, that script doesn't parse the annual report with the monthly direction.
Steve
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: Monthly dom wind dir web tag

Post by muppet77 »

It's the monthly dom dir reported in the monthly summary that I am after. The one in the bottom right corner under the line.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Monthly dom wind dir web tag

Post by steve »

I don't think this script handles that line. I'm sorry if I gave the impression that this script would do what you wanted, unaltered; I was suggesting it as a possible basis for a script to parse the report to extract the information you want.
Steve
Post Reply