Author Topic: Henkka's Euroblitz Script  (Read 13053 times)

0 Members and 1 Guest are viewing this topic.

Offline Jumpin Joe

  • Forecaster
  • *****
  • Posts: 1021
    • Joe’s Weather
Re: Henkka's Euroblitz Script
« Reply #50 on: March 06, 2014, 03:29:53 PM »

Offline weatherc

  • Senior Contributor
  • ****
  • Posts: 278
Re: Henkka's Euroblitz Script
« Reply #51 on: March 06, 2014, 03:36:26 PM »
You used wrong link. The link in my orginal message are fixed:
http://www.wxforum.net/index.php?topic=20509.msg211226#msg211226

Offline Jumpin Joe

  • Forecaster
  • *****
  • Posts: 1021
    • Joe’s Weather
Re: Henkka's Euroblitz Script
« Reply #52 on: March 06, 2014, 03:57:48 PM »
You used wrong link. The link in my orginal message are fixed:
http://www.wxforum.net/index.php?topic=20509.msg211226#msg211226

That works great.

Thanks

Offline i_fiorentino

  • Forecaster
  • *****
  • Posts: 557
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Henkka's Euroblitz Script
« Reply #53 on: March 06, 2014, 04:23:34 PM »
Fantastic work Henkka!  =D> =D>

Offline i_fiorentino

  • Forecaster
  • *****
  • Posts: 557
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Henkka's Euroblitz Script
« Reply #54 on: March 22, 2014, 05:18:20 AM »
Euroblitzortung Map doesn't show anymore.
http://www.meteocarmignano.it/wxblitzortung.php
What about yours?
Regards,


Alessandro

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1778
    • Echo Valley Weather
Re: Henkka's Euroblitz Script
« Reply #55 on: March 22, 2014, 05:42:10 AM »
Hi Alessandro,

I noticed mine disappears if you zoom it and doesn't return until you refresh the page.

John
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline weatherc

  • Senior Contributor
  • ****
  • Posts: 278
Re: Henkka's Euroblitz Script
« Reply #56 on: March 22, 2014, 08:04:04 AM »
Hi guys,

Probably has the proxy-cached maps stopped working (like they have been removed at the source).
The updated script do not use those maps anymore.

// Henkka

Offline i_fiorentino

  • Forecaster
  • *****
  • Posts: 557
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Henkka's Euroblitz Script
« Reply #57 on: March 22, 2014, 08:20:11 AM »
Hi Henkka,
have you already released new version?
If yes, where?
Thanks,


Alessandro

Offline weatherc

  • Senior Contributor
  • ****
  • Posts: 278
Re: Henkka's Euroblitz Script
« Reply #58 on: March 22, 2014, 09:22:38 AM »
Hi Alessandro,

You can download it from the BO-forum.
There are still a few minor bugs to sort out but mainly it works OK.

// Henkka

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 3439
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Henkka's Euroblitz Script :: I broke something and need help...
« Reply #59 on: March 30, 2014, 09:49:03 AM »
::: UPDATE :::
I found the problem. Apparently something changed and no longer allowed the $bodirectory to be defined as http://www.miraculon.net/BO/. I changed it to the server (virtual server) path and it started magically working again.

Greg
========================================================================================

Hello all,

I tried changing the lat/lon in both the bo.php and bo_update.php files to correspond to my new location in Rogers City.
Unfortunately after making this change, there were no more updates. I ran bo_update.php and I get the following errors:

Warning: file_put_contents(): Only 0 of 4792 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 198

Warning: file_put_contents(): Only 0 of 1183 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 278

Warning: file_put_contents(): Only 0 of 658 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 289


(this is hosted on e-rice and it was working fine until I changed the lat/lon)
I am not sure about the validity of the "out of free disk space" error, I checked my account on e-rice and it is less than half the available space for the web site, I am not sure how to check the SQL to see if that is "full". (don't know why it would be)

Quote
Service Status:      Expiration Date: July 28 2014
       
       Current b/w Usage: 0 MB / 6144 MB
     Current Space Usage: 78.14 MB / 200 MB
    
Service Package:    Standard 2 - 12 Months - Total $20.00
   200 MB Space - 6 gig/mo Transfer - 20 Emails - 2 MySQL DB(s)
    
Domain Alias:   No Alias

line 198 has:
file_put_contents($bodirectory."cache/bostrout.txt",  json_encode(array_reverse($strarr),true));

line 278 has:
file_put_contents($bodirectory."reports/report_".date("Ym").".txt", $report);

line 289 has:
file_put_contents($bodirectory."cache/bo.txt", json_encode($out,true));

So then I deleted the SQL database, re-imported it. I also double checked the file permissions (all 777).

Now it is doing the same thing, with more errors:

Warning: file_put_contents(): Only 0 of 715 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 198

Warning: file_put_contents(): Only 0 of 1081 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 278

Warning: array_reverse() expects parameter 1 to be array, null given in /virtual/users/e17373-19178/web/BO/bo_update.php on line 286

Warning: array_reverse() expects parameter 1 to be array, null given in /virtual/users/e17373-19178/web/BO/bo_update.php on line 287


Warning: file_put_contents(): Only 0 of 352 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 289


I am stuck. Anyone have any ideas or suggestions?

The array errors spontaneously cleared up after a while, I am back to where I started:

Warning: file_put_contents(): Only 0 of 4901 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 198

Warning: file_put_contents(): Only 0 of 1081 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 278

Warning: file_put_contents(): Only 0 of 370 bytes written, possibly out of free disk space in /virtual/users/e17373-19178/web/BO/bo_update.php on line 289


p.s. I made a similar lat/lon change in MyLightningDetection and that went well. No problems.
Greg


« Last Edit: March 30, 2014, 07:34:32 PM by miraculon »


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1148
Re: Henkka's Euroblitz Script
« Reply #60 on: April 12, 2014, 01:15:46 PM »
Working on getting this script going and I ran into a brick wall. ](*,) Where do I go from here?
http://www.cavecountryweather.com/test.php

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3044
    • Frankfort Weather - TwinHollies WeatherCenter
Re: Henkka's Euroblitz Script
« Reply #61 on: April 12, 2014, 06:41:20 PM »
Working on getting this script going and I ran into a brick wall. ](*,) Where do I go from here?
http://www.cavecountryweather.com/test.php
Dave,
If you've got Firefox Web developer add on, it'll show you 53 errors on the page.
Probably a couple of the errors near the top of the attached will take care of several of them.
Now, what's going on with the script can probably best be resolved getting the page more or less in order.
Ouch  :sad:

Mike
 

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1148
Re: Henkka's Euroblitz Script
« Reply #62 on: April 12, 2014, 07:45:26 PM »
The 53 errors are coming from with in the bo.php script. The errors are the same if it is echo into the test page or is run as the supplied webpage.

In any case, I can not clear the errors. if you wouldn't mind, can you send a copy of your scripts and I can compare them?

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3044
    • Frankfort Weather - TwinHollies WeatherCenter
Re: Henkka's Euroblitz Script
« Reply #63 on: April 12, 2014, 09:01:51 PM »
The 53 errors are coming from with in the bo.php script. The errors are the same if it is echo into the test page or is run as the supplied webpage.

In any case, I can not clear the errors. if you wouldn't mind, can you send a copy of your scripts and I can compare them?
Dave, I'm running the 'original' (prior to last re-write) version as stand-alone pages. That script is in HTML 5 -- which may explain some of the errors incorporating into the XHTML 1.0 Transitional of the Saratoga template... one of the reasons I built mine as stand-alone...
and haven't attempted to incorporate any of the 'new' changed scripts...  too lazy.
http://ourspecial.net/twinhollies/weathercenter/showblitz/index.php
Mike
 

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1148
Re: Henkka's Euroblitz Script
« Reply #64 on: April 12, 2014, 09:16:14 PM »
I have knocked it down to 32 errors, but the ones that remain are still giving the error messages - or the error messages are giving the validation errors.  :-k

My end goal is just to have a map with the lightning strikes on it. I do not need/want the whole USA, just zoomed in on KY and the surrounding states.

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1778
    • Echo Valley Weather
Re: Henkka's Euroblitz Script
« Reply #65 on: April 12, 2014, 09:29:12 PM »
Hi Dave,

Within your bo/cache directory, do you have a file called bo.txt? This is one of the errors. If you do have one, make sure it is set to CHMOD 666, so it can written to.

John

CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1148
Re: Henkka's Euroblitz Script
« Reply #66 on: April 12, 2014, 11:03:40 PM »
Yes - see attached.

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1148
Re: Henkka's Euroblitz Script
« Reply #67 on: April 13, 2014, 08:26:07 AM »
Well... Never mind on this script.  :???: I got the My Lightening Detection script working.  \:D/

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2212
    • SouthEast Lincoln, NE Weather
Re: Henkka's Euroblitz Script
« Reply #68 on: April 30, 2014, 01:36:18 PM »
1)  I had been frustrated because my graph bars had been appearing erratically with a-few-to-many missing bars per 24 hours since I first installed the Euroblitz Script.  Nothing seemed to solve the problem until it struck me that my shared GoDaddy server is particularly hard hit by me and probably others at 00 minutes each hour.  Because GoDaddy only allows 10 cron jobs TOTAL I was using curl.exe jobs for all updates under Windows Scheduler.  I added a 10th cron job to my GoDaddy crons, at 00 and 30 min (GoDaddy generously allows you to repeat your cron every half hour!!!), and voila, I now have a graph bar for every hour.

2)  My GoDaddy MySQL server is located in 'America/Los_Angeles' TZ.  I think this may be what prevents my x-axis times on the graph from settling in as 'America/Chicago' because using Don's technique hasn't worked for me.  My graph still shows 8 hours past CDT, so I have labeled the times as (cet), Central European Time.

3)  When the number of strikes exceeds 9999/hr, the leading digits are hidden on the x-axis of the graph.  The css for this is not modifiable by me at all, so I think the 'highcharts' styles are in a css residing elsewhere.  John Sacrey is using the latest version, and I see that his Euroblitz chart suffers from the same problem.
« Last Edit: April 30, 2014, 07:44:20 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@inebraska.com

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1526
    • Texas Weather
Re: Henkka's Euroblitz Script
« Reply #69 on: June 21, 2014, 04:08:27 PM »
Where can I download this script?

Thanks!

----
Davis Vantage Pro2 Plus +FARS|Meteobridge Nano SD|Meteohub|Meteobridge MR-3020|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095
Donations are welcome: https://paypal.me/ffuentesb

Offline Dr Obbins

  • Forecaster
  • *****
  • Posts: 1148
Re: Henkka's Euroblitz Script
« Reply #70 on: June 21, 2014, 04:48:32 PM »
Need to be a member of the Blitzortung forum.
http://www.blitzortung.org/Webpages/index.php?lang=en&page=6&session=1
Thread title is - EuroBlitz - script for showing data on the website

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1526
    • Texas Weather
Re: Henkka's Euroblitz Script
« Reply #71 on: June 21, 2014, 06:04:48 PM »
Need to be a member of the Blitzortung forum.
http://www.blitzortung.org/Webpages/index.php?lang=en&page=6&session=1
Thread title is - EuroBlitz - script for showing data on the website

Thanks! :)

----
Davis Vantage Pro2 Plus +FARS|Meteobridge Nano SD|Meteohub|Meteobridge MR-3020|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095
Donations are welcome: https://paypal.me/ffuentesb