Recent Posts

Pages: [1] 2 3 ... 10
1
WeatherUnderground / Re: Weather Webcams not accepting pictures ?
« Last post by rdm362 on Today at 08:15:27 AM »
Some images from my Webcam have showed up but now again it is down (last image 8 hours ago)
Got 1 from my camera an hour ago. Nothing since
2
Weather Web Site Help / Re: Cron Job help
« Last post by yamiacaveman on Today at 08:11:35 AM »
So after several tries running http://www.pennlake.us/cache/nws-notes.txt

So NWS problem, my code or my provider???

Thanks for any help.

Script characteristics on last page load:
Last update: Tue 09-26-2017 08:05 EDT
nws-alerts.php - V1.41 - 07-Mar-2017
Cron job enabled
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ047
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC079
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ047
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC079
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ054
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC025
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ053
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC037
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ044
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC069
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ055
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC089
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=NYZ038
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=NYC043
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ058
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC107
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ042
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC113
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ043
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC131
Cache file updated: Tue 09-26-2017 8:05 am
Alert box data file updated
Icon data file updated
Alert logging enabled
Total process time: 32.2650 seconds
3
Weather Web Site Help / Cron Job help
« Last post by yamiacaveman on Today at 08:06:22 AM »
Recently change, server - providers, but noticed a lag time when accessing my site --- so after trying to figure out what was going on, I now believe the cron job is the problem.

pennlake.us
PHP 7.1

So here is the Cron job in my c-panel     ---    The service provider set this up for me.

Current Cron Jobs

Minute   Hour   Day   Month   Weekday   Command   Actions
*/5   *   *   *   *   php /home/hogan2/pennlake.us/nws-alerts.php >/dev/null 2>&1    Edit      Delete
Home
Trademarks
Documentation
cPanel, Inc.  66.0.23


Here is the result from running  ---  http://www.pennlake.us/cache/nws-notes.txt

It looks to me like eventually it gets the information but after all the errors it takes  21 seconds to load???
I guess my question - code problem or server problem???


Script characteristics on last page load:
Last update: Tue 09-26-2017 06:45 EDT
nws-alerts.php - V1.41 - 07-Mar-2017
Cron job enabled
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ047
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC079
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ047
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC079
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ054

6:45:01
Error: Operation timed out after 2001 milliseconds with 0 bytes received
Source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC025
First attempt in getting preliminary URL failed
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC025
Second attempt successful


6:45:05
Error: Operation timed out after 2001 milliseconds with 0 bytes received
Source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ053
First attempt in getting preliminary URL failed
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ053
Second attempt successful

XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC037
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ044

6:45:09
Error: Operation timed out after 2000 milliseconds with 0 bytes received
Source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC069
First attempt in getting preliminary URL failed

6:45:12
Error: Operation timed out after 2001 milliseconds with 0 bytes received
Source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC069
Second attempt failed & skipped

XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ055
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC089

6:45:16
Error: Operation timed out after 2001 milliseconds with 0 bytes received
Source: https://alerts.weather.gov/cap/wwaatmget.php?x=NYZ038
First attempt in getting preliminary URL failed
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=NYZ038
Second attempt successful

XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=NYC043
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ058
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC107
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ042
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC113
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAZ043
XML source: https://alerts.weather.gov/cap/wwaatmget.php?x=PAC131
Cache file updated: Tue 09-26-2017 6:45 am
Alert box data file updated
Icon data file updated
Alert logging enabled
Total process time: 21.5386 seconds
4
AcuRite Weather Stations / Re: A Pleasent Surprise With My Acurite
« Last post by Glenn on Today at 08:05:43 AM »
I wonder why it saves data...but not the date and time?
5
I've found several locales that had alerts, including two that had multiple watches and a warning, and the alert code worked just fine to produce a combined warning box and a separate watch box on the display, so that appears to be all OK.
I do not (and did not) doubt that the code to produce the alerts/warnings had any problem...  ;)

It is just that, as usual, there is a lot more happening in my code than yours and I have not had any alert nor warning in my are to test the operation of the extra code.

I have also spent some time producing a script to extract and display the upcoming 24-hour forecasts - I put the finishing touches earlier this morning. Rather than including the code inside the 'ec-forecast.php' script, I have developed a fully autonomous script that not only check the age of the cache file, but also update the cache file, extract the forecasts for the upcoming 24 hours and display those forecasts on a separate web page thus does not cramp nor congest the normal forecast page.
6
WeatherLink by Davis Instruments / Re: Weatherlink 5.8.2 on USB stick
« Last post by Davidb on Today at 07:00:29 AM »
That sounds a bit radical after 15 yrs of VWS!  would the mini computer run straight from the Davis data logger with CumulusMX and nothing else installed? David
7
Both my Console and ISS PCB has Made in USA with Imported and US parts. By law if it says Made in the USA, it has to be made with 51% + USA Parts, go look it up. Also Engineering and Tech Support and MFG is 100% USA. Not too shaaby in 2017.

EDIT To ADD: To be fair, here you go  https://www.ftc.gov/tips-advice/business-center/guidance/complying-made-usa-standard

If ya'll think if Davis is going to hood wink you with labeling, they can get into a lot of trouble.
8
Thank you. Maplins don't have these at least in Leeds! Tried yesterday
9
WeatherLink by Davis Instruments / Re: Weatherlink 5.8.2 on USB stick
« Last post by Phil23 on Today at 06:20:31 AM »
What about a Plan-B...

Ditch Weatherlink & try CumulusMX.

10
WeatherUnderground / Re: Weather Webcams not accepting pictures ?
« Last post by Bassmo on Today at 06:19:38 AM »
Some images from my Webcam have showed up but now again it is down (last image 8 hours ago)
Pages: [1] 2 3 ... 10