Sandaysoft

Support forum for Cumulus weather station software
It is currently Tue May 21, 2013 9:54 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 10  Next
Author Message
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Sep 19, 2011 1:37 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
If you have a ftp program, just login and start going 'up' the directories. The 'full' path may already be displayed in your ftp prog.

My web pages root for example /(username)/public_html

Your username may or may not be displayed, try it both ways - if you can't work it out ask your webspace provider.

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Sep 19, 2011 1:52 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Just checked godaddy very unhelpful support forum ..

"Our Hosting servers do not included a /public_html/ folder, ..."

They suggest that if a prog requires [root] to try "/" (no dot - I'm not optimistic :? )

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Sep 19, 2011 5:11 pm 
Offline

Joined: Wed Dec 30, 2009 6:45 pm
Posts: 43
Location: Earley, Reading, Berks, UK
Weather Station: Vantage Vue
Operating System: Windows 7
thanks for your help beteljuice.

according to a script my dirname is just a full stop .

which i tried with no success.

i then tried to eliminate the need for a dir to be opened in the script - without success


so for now i will have to stick with the reports being in a folder

http://www.maidenerleghweather.com/noaa.php

thanks everyone!

(if anyone can get rid or edit the script so $NOAAdir is not needed i would be interested)


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Sep 19, 2011 6:05 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
After running some php addressing checks this was my PM response:

muppet77 wrote:
- i'm looking at removing the need to open a sub directory in the script now...
but we have just proved that you must have a sub-directory !

It always was the best option.

The script inspects the contents of a (stated) directory, and looks for files with a particular naming format.

In the (html) root there is the future possibility of many files to be checked and the accidental naming of none related files that seem to match the expected format.

Unfortunately opendir() is unhappy in (html) root which for that function is a php nomansland. In your case, because of the lack of a higher directory structure php can't work out where it really is.

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Sep 19, 2011 6:44 pm 
Offline

Joined: Wed Dec 30, 2009 6:45 pm
Posts: 43
Location: Earley, Reading, Berks, UK
Weather Station: Vantage Vue
Operating System: Windows 7
ok - i understand now.

many thanks Beteljuice.


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sun Oct 30, 2011 11:40 am 
Offline

Joined: Sat Jan 10, 2009 8:36 pm
Posts: 62
Location: Broadstairs, Kent
Weather Station: Maplin N96FY (WH1081)
Operating System: Windows 7
Thanks Beteljuice
This is superb I have sort of tried to produce records on my site but this is a lot better
My limited coding knowledge prevented me from anything more complex than pasting in the monthly screen shots from cumulus
Had it up & running in a few minutes works really well alongside David's daily data sheets

Neil

_________________
Follow Thanetweather on Twitter http://twitter.com/#!/thanetweather
Thanetweather home page http://www.thanetweather.co.uk

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sun Oct 30, 2011 3:06 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Thank you for using it (and the acknowlegement ;) )
Quote:
My limited coding knowledge prevented me from anything more complex than ...

STOP USING Frontpage !

You'll be confused by all the rubbish it puts in :?

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sun Oct 30, 2011 5:02 pm 
Offline

Joined: Sat Jan 10, 2009 8:36 pm
Posts: 62
Location: Broadstairs, Kent
Weather Station: Maplin N96FY (WH1081)
Operating System: Windows 7
My pleasure credit where its due :)
Just got to have a play and get it working as an include
im using Namo web editor which is a little dated now but i dont really have the time to learn how to code completely from scratch
Learn a new bit every time i change a page so i will get there in the end :!:
Neil

there you go
50 minutes later http://www.thanetweather.co.uk/weather/test.php
just got to edit the links to make it part of my weather pages :D
still couldnt do it without the excellent instructions though
Neil

_________________
Follow Thanetweather on Twitter http://twitter.com/#!/thanetweather
Thanetweather home page http://www.thanetweather.co.uk

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Oct 31, 2011 2:50 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Update: Intermediate 'Tweak' added

viewtopic.php?f=14&t=5754&p=49194#p49194

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Tue Nov 01, 2011 8:55 pm 
Offline

Joined: Sat Jan 10, 2009 8:36 pm
Posts: 62
Location: Broadstairs, Kent
Weather Station: Maplin N96FY (WH1081)
Operating System: Windows 7
Ok everythings up and running I have copied all my records into a spreadsheet & worked out averages for temperature & precipitation 1/1/2009 to 1/11/2011
On the NOAA setup screen the bit thats got me stumped is the heating threshold & cooling threshold
Could anybody explain what this means & how to calculate the figures
Thanks in advance
Neil

_________________
Follow Thanetweather on Twitter http://twitter.com/#!/thanetweather
Thanetweather home page http://www.thanetweather.co.uk

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Nov 02, 2011 7:56 am 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi,

I've just noticed that my NOAA report on my website has not moved on to November.
i.e. not showing any data nor giving me the (NOV) month button at the top to click on.

can someone confirm if Cumulus generates and uploads the new month automatically
or do I need to generate each new month myself?

If Cumulus does not automatically generate and upload, will this be added into a
future Cumulus update?

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Nov 02, 2011 7:58 am 
Offline
User avatar

Joined: Wed Mar 03, 2010 10:20 am
Posts: 299
Location: Brisbane, Australia
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows Vista SP2
Mine rolled over without any problems.

_________________
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Nov 02, 2011 8:15 am 
Offline
User avatar

Joined: Thu Dec 17, 2009 2:03 pm
Posts: 787
Location: Hurstpierpoint, West Sussex, UK
Weather Station: WH1081
Operating System: Windows XP & 7 Pro
Solorize wrote:
Can someone confirm if Cumulus generates and uploads the new month automatically
or do I need to generate each new month myself?

If Cumulus does not automatically generate and upload, will this be added into a
future Cumulus update?


It is a feature built into 1.9.2 (which I note you are using) and the parameters are under Configuration on the Cumulus control panel "NOAA Setup". I can confirm that mine is working automatically and generates the reports correctly.

_________________
Neil
Hurstpierpoint Weather

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Nov 02, 2011 8:16 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17564
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Solorize wrote:
I've just noticed that my NOAA report on my website has not moved on to November.

Perhaps you had an ftp problem on the first upload after midnight. Did the report get created in the reports folder on your PC?

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Nov 02, 2011 8:23 am 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
hmm,

I have just looked in my C:\Cumulus\Reports folder and can see that there is a txt file.
NOAAM01111.txt <--- which is the November report file, so it is logging it ok.


NOAAM01111.txt;
Code:
                  Monthly Climatological Summary for Nov 2011

Name: Wokingham Weather   City: Wokingham   State: Berkshire
Elevation: 45 m  Lat: N 51° 25' 37"   Lon: W 000° 51' 02"

                  Temperature (°C), Rain (mm), Wind Speed (mph)

                                      Heat  Cool        Avg
    Mean                              Deg   Deg         Wind                 Dom
Day Temp  High   Time   Low    Time   Days  Days  Rain  Speed High   Time    Dir
----------------------------------------------------------------------------------
1  12.0  16.2   12:27   6.2   23:53   6.3   0.0   0.3   3.6  15.2   02:23    SW
----------------------------------------------------------------------------------
    12.0  16.2     1     6.2     1     6.3   0.0   0.3   3.6  15.2     1      SW

Max >=  27.0:  0
Max <=   0.0:  0
Min <=   0.0:  0
Min <= -18.0:  0
Max Rain: 0.3 on day 1
Days of Rain: 1 (> 0.2 mm)  0 (> 2.0 mm)  0 (> 20.0 mm)
Heat Base: 18.3  Cool Base: 18.3  Method: Integration


I have looked in my NOAAYR2011.txt and it has an entry for the 11th month;

Code:
Name: Wokingham Weather   City: Wokingham   State: Berkshire
Elevation: 45 m  Lat: N 51° 25' 37"   Lon: W 000° 51' 02"

                  Temperature (°C), Heat Base: 18.3  Cool Base: 18.3
                          Dep.  Heat  Cool                       Max  Max  Min  Min
        Mean  Mean        From  Deg   Deg                        >=   <=   <=   <=
YR MO  Max   Min   Mean  Norm  Days  Days  Hi  Date  Low  Date 27.0  0.0  0.0 -18.0
------------------------------------------------------------------------------------
11  1
11  2  10.0   3.5   6.7   0.0   197     0  16.0  24   0.0   12    0    0    1    0
11  3  14.8   1.5   7.6   0.0   332     0  22.9  25  -5.6    8    0    0   12    0
11  4  20.2   6.6  13.1   0.0   155     0  28.8  23   2.0   13    1    0    0    0
11  5  19.9   7.7  13.7   0.0   141     0  25.7   6   0.1    4    0    0    0    0
11  6  21.7   9.4  15.5   0.0    92     9  30.7  27   4.5   12    2    0    0    0
11  7  22.6  11.1  16.8   0.0    59    14  26.9   5   6.6   25    0    0    0    0
11  8  21.9  11.7  16.6   0.0    84    30  29.4   1   6.8   19    3    0    0    0
11  9  21.1  10.4  15.4   0.0   103    18  26.5   2   4.7   15    0    0    0    0
11 10  17.4   8.6  12.8   0.0   178     7  27.1   1  -0.4   20    1    0    1    0
11 11  16.2   6.2  12.0   0.0     6     0  16.2   1   6.2    1    0    0    0    0
11 12
------------------------------------------------------------------------------------
        18.6   7.7  13.0   0.0  1351    79  30.7 Jun  -5.6  Mar    7    0   14    0

                                Precipitation (mm)


It looks like the files didnt get copied onto my server?

Could someone confirm what settings I need to have selected to have this
done automatically, just so I can check I have it all set up OK.

The only thing I can think off why it is not on my server is perhaps my internet connection
was down, when Cumulus went to upload the files and therefore they did not get coppied?


These are my settings on Cumulus;

Image

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 10  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group