Web Weather > Custom Website Templates

'This day' Max / Min / Avg Temperatures (NOAA) - PHP Script

(1/18) > >>

the beteljuice:
beteljuice NOAA this day temperature records / 'norms' - requires inclusion in a .php page

Ver #4.0 now available ... 27 Aug 2021

Data available for US only - sorry

This was originally meant to replace WU data in ALT dashboard, but is quite happy as a 'stand-alone'.
See this thread for discussion > https://www.wxforum.net/index.php?topic=37154.0

See this post for explanation of Ver #3.0 > https://www.wxforum.net/index.php?topic=37220.msg384607#msg384607

The script file can be used as a stand-alone - NO dependences - Be aware units are deg F
For stand-alone use php variables available are:
   $thisDayMax, $thisDayMaxYear
   $thisDayMin, $thisDayMinYear
   $thisDayMaxAvg (Norm)
   $thisDayMinAvg (Norm)
   
See running in debug mode and get zip > FROM HERE <

betel_noaa.zip contains:

noaarec.php    include file that does all the work
patch.html      replacement for section of ALT dashboard / example of useage
README.txt     Do what it says !

Upon execution a cachefile will be created called noaarecdat.txt

TIP - Get noaarec.php?noaabug working BEFORE you commit to modifying dashboard

Ver #3.0
noaarec.php - Improved debug, error handling, comments.
                    copes with upto 48hrs of NOAA errors.
patch.html   - No change
README.txt  - Minor change

Ver #4.0
noaarec.php - Mods by Ken True for url changes and call methodology (Thanks  ;) )

Use or abuse - upto you  :-P

the beteljuice:
Version #2 - 20th June 2019

See above - improved debug and instructions ...

the beteljuice:
Knock ... Knock ...

Feedback please.

Topics concerning WD alt-dashboard and loss of WU 'this date' temps.
 views > 2000, posts > 200

This replacement, which can also be used in any (US) template / page.
 views 200, others posts 0  #-o

Is anyone using it ?
Is there anything that readers of this post / debug / demo page don't understand ?  :shock:
Is there anybody out there   :???:

mikeym2m:
Working good here - www.mikeymsweather.com

Thanks

Cheers

 [tup]

MikeyM

tbrasel:
Yes, I am using your script without any issues.

Thank you.

Navigation

[0] Message Index

[#] Next page

Go to full version