Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Yet Another Dayfile Reader (PHP)

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

westonweather
Posts: 166
Joined: Sun 29 Dec 2013 8:37 am
Weather Station: WMR88
Operating System: Windows 7
Location: Weston-super-Mare
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by westonweather »

beteljuice wrote:Arggh !!!!! the beteljuice must try and get a nap at least once a week - that and do better housekeeping on all the different variants of the files I now have !!

Sorry - Sorry - Sorry
The beteljuice 'lost' a global declaration between working versions.

Updated - yet again above (stand-alone) or distrubution in first post.

I shall do no more until I have visited the local hostelry for liquid anaesthesia :bash:
Top bloke, that's fixed it! Have a drink on me ;)
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by bnwrx »

Using the latest files, I selected.."false" for the "buttons" and I get the "dropdown" when the page 1st loads, but when I select a different data IE:"Rain","Min Temp", the page reverts back to the "buttons" look. Do I need to edit another line other than "..$buttons = false; // true = button options, false = dropdown options"..?

Thanks for any help...

Bob
westonweather
Posts: 166
Joined: Sun 29 Dec 2013 8:37 am
Weather Station: WMR88
Operating System: Windows 7
Location: Weston-super-Mare
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by westonweather »

Try forcing a page reload. CTRL F5. It may be a caching issue as the file changes are small?
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by bnwrx »

westonweather wrote:Try forcing a page reload. CTRL F5. It may be a caching issue as the file changes are small?
The "re-load" DOES work, but then when you change the data field it still reverts back the the "button" look....?
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

Do you have more than one copy of the readDayfile ?
If you are renaming this 'new' version there is a new variable for you to change $this_file_name =
Image
......................Imagine, what you will KNOW tomorrow !
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by bnwrx »

beteljuice wrote:Do you have more than one copy of the readDayfile ?
If you are renaming this 'new' version there is a new variable for you to change $this_file_name =

That was it...Thank you!!
I actually think I like the "Button" view better though.....Still deciding...
Dennisdg
Posts: 220
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Yet Another Dayfile Reader (PHP)

Post by Dennisdg »

I have strange screen display that I cannot see why.
Initially screen looks perfect - when I change to year 2013 and full years data is loaded, the screen 'shifts' over to the right and my station name and navigation bar are duplicated.
See attached jpgs.
The 2nd image doesn't show the navigation bar but the station name is clearly shown duplicated.

Please help!

Thanks
You do not have the required permissions to view the files attached to this post.
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

1/ Are you using latest version ?
2/ See post(s) above.
Image
......................Imagine, what you will KNOW tomorrow !
Dennisdg
Posts: 220
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Yet Another Dayfile Reader (PHP)

Post by Dennisdg »

Thought I was - downloaded from page 1 this afternoon.
I'll take another look in the morning.
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
nossis
Posts: 89
Joined: Wed 28 Nov 2012 6:12 am
Weather Station: Davis Vantage Pro 2
Operating System: Win 10
Location: Perth AU
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by nossis »

Added to languages and read day file (the version 2 breeds) Heat Index
Might no be correct for other than English as used Google translate (I have enough difficulty in getting my own language of English correct :oops: )

Looks best with the 750 version as Heat Index appears on first entry of second row
http://members.iinet.net.au/~nossis/wea ... sic750.php
http://members.iinet.net.au/~nossis/weather/basic.php
You do not have the required permissions to view the files attached to this post.
nossis
Posts: 89
Joined: Wed 28 Nov 2012 6:12 am
Weather Station: Davis Vantage Pro 2
Operating System: Win 10
Location: Perth AU
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by nossis »

I have my temp gradients working just the way I want it. Green is lovely temps between 22-27 Deg C
http://members.iinet.net.au/~nossis/wea ... adient.php

Now just to figure out how they work, then customise the others for wind, baro and rain etc :D
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

@ nossis

.. but you've done what every temperate => hot country does.

You've 'stretched' the cold scale so it's not as well defined as the hot.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

Error discovered in example 'holding' pages

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
There was a missing - in utf8 - should be

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Also capitaized for good luck.
Only one person has reported problems through this so far ...

Distribution file has examples updated

But all you really need to do is edit your 'holding' page ;)
Image
......................Imagine, what you will KNOW tomorrow !
milos.jirik
Posts: 18
Joined: Wed 19 May 2010 5:02 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Nova Paka, Czech Republic, Central Europe
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by milos.jirik »

Hello,

I also want to contribute and send translation into Czech

Code: Select all

'cs' => array(
                    'daily' => 'Den',       // výběr tabulky
                    'seasonal' => 'Sezóna', // výběr tabulky
                    'note' => array('Pozn.','Neúplná data.', 'Nuly jsou jako prázdná hodnota!'),
                    'loading' => 'Nahrávám data ...',
                    'fail' => 'CHYBA DAT !!!',
                    'total' => '&#931;',
                    'avg' => 'Prům',
                    'hi' => 'Max',
                    'lo' => 'Min',
                    'dom' => 'Prům', // 'zkratka' pro převažující (směr větru)
                    'season_1' => '<img src="snowflake.png" height="22px" alt="zima" />Zima',   // předchozí Pro, Led, Únob
                    'season_2' => '<img src="daffodil.png" height="22px" alt="jaro" />Jaro',    // Bře, Dub, Kvě
                    'season_3' => '<img src="sun.png" height="22px" alt="léto" />Léto',         // Čer, Čec, Srp
                    'season_4' => '<img src="leaf.png" height="22px" alt="podzim" />Podzim',    // Zář, Říj, Lis
                    'mn' => array('Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čer', 'Čec', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'),
                    'dy' => array('Ne','Po','Út','St','Čt','Pá','So'),
                    'compass_headings' => array('S&nbsp;&#x2193;','SV&nbsp;&#x2199;','V&nbsp;&#x2190;','JV&nbsp;&#x2196;','J&nbsp;&#x2191;','JZ&nbsp;&#x2197;','Z&nbsp;&#x2192;','SZ&nbsp;&#x2198;','S&nbsp;&#x2193;'),
                    'maxtemp' => array('Max. teplota', 'Nejvyšší teplota'),
                    'mintemp' => array('Min. teplota', 'Nejnižší teplota'),
                    'tdiff' => array('Tepl. rozdíl', 'Denní teplotní rozdíl'),
                    'avgtemp' => array('Prům. teplota', 'Průměrná teplota'),
                    'tappmax' => array('Max. zd. teplota', 'Nejvyšší zdánlivá teplota'),
                    'tappmin' => array('Min. zd. teplota', 'Nejnižší zdánlivá teplota'),
		    'hindx' => array('Index horka', 'Nejvyšší hodnota indexu horka'),
                    'dpmax' => array('Max. rosný bod', 'Nejvyšší teplota rosného bodu'),
                    'dpmin' => array('Min. rosný bod', 'Nejnižší teplota rosného bodu'),
                    'rhmax' => array('Max. vlhkost', 'Nejvyšší relativní vlhkost %'),
                    'rhmin' => array('Min. vlhkost', 'Nejnižší relativní vlhkost %'),
                    'rainfall' => array('Srážky', 'Srážky'),
                    'windspd' => array('Rychlost větru', 'Nejvyšší rychlost větru'),
                    'windgust' => array('Náraz větru', 'Nejvyšší náraz větru'),
                    'windrun' => array('Proběh větru', 'Proběh větru'),
                    'winddir' => array('Směr větru', 'Převažující směr větru'),
                    'baromax' => array('Max. tlak vzduchu', 'Nejvyšší tlak vzduchu'),
                    'baromin' => array('Min. tlak vzduchu', 'Nejnižší tlak vzduchu'),
                    'HoursSun' => array('Slun. svit', 'Délka slunečního svitu hod.'),
                    'Solar' => array('Slun. záření', 'Energie slunečního záření W/m&sup2;'),
                    'HighUV' => array('UV index', 'UV index'),
                    'evt' => array('EVT', 'Odpařování'),
                    'heatday' => array('Topení', 'Vytápění denostupňů'),
                    'coolday' => array('Ochlazování', 'Ochlazování denostupňů')
                ),
In my file is also added item Heat Index

Milos
User avatar
joewith
Posts: 29
Joined: Fri 18 May 2012 4:33 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 Pro
Location: Aurora, Colorado, USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by joewith »

With the latest Version (2.0) I noticed that a new '.css' file was added (meteo900_betel_datasummary.css) and after taking a look at it with with the following URL: http://www.tigerdenweb.com/tigerdenwx/d ... sic900.php I decided to incorporate it into my Weather Blues template (http://www.tigerdenweb.com/tigerdenwx/d ... ary900.php. No problem except for the pages that don't use 'UOM' selections. See the following picture for a good page:
WindGust_OK.png
Now an example of a page without a 'UOM' selection:
WindRun_Bad.png
I believe the problem must be a conflict between the two '.css' files that are used:

http://www.tigerdenweb.com/tigerdenwx/styles.css

and

http://www.tigerdenweb.com/tigerdenwx/d ... ummary.css

but not being an expert with css files I was wondering if someone might have an idea has to the cause.

Any help would be immensely appreciated.

Thanks,
You do not have the required permissions to view the files attached to this post.
Post Reply