Author Topic: Saratoga template question  (Read 1277 times)

0 Members and 1 Guest are viewing this topic.

Offline xcom

  • Forecaster
  • *****
  • Posts: 988
    • Texas Weather
Saratoga template question
« on: August 13, 2015, 02:17:00 PM »
Is it possible to have this page in stand alone?
http://saratoga-weather.org/NA-lightning.php

I am part of the Blitzortung network :)

TIA!

----
Davis Vantage Vue|Meteohub 5.0l (Build 7293) Running on Debian 7.9 x86 (oVirt)|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 6534
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Saratoga template question
« Reply #1 on: August 13, 2015, 05:27:02 PM »
Sure, the script (gen-BO-maps.php) simply generates animated GIFs which can be used anywhere.

If you want to have the rest of the text from my page, here it is
Code: [Select]
<div id="main">
 
  <h1 id="pageName">Blitzortung Lightning</h1>
  <div class="story">
  <?php
     
if(file_exists('./BOmap/cache/BONorthAmerica-ani.gif')) {
 $fn './BOmap/cache/BONorthAmerica-ani.gif';
 } else {
 $fn './BOmap/cache/BONorthAmerica.png';
 }
 if(file_exists('./BOmap/cache/BONorthAmerica-map.html')) {
 include('./BOmap/cache/BONorthAmerica-map.html');
 }
  
?>

  <p><img src="<?php echo $fn;?>?<?php echo time(); ?>" alt="Lightning by Blitzortung network stations" title="Lightning by Blitzortung network stations" usemap="#BONorthAmerica"
  width="623" height="454" /></p>
  <p>Lightning Map Courtesy of <a href="http://www.blitzortung.org/Webpages/index.php?lang=en&amp;page_0=30">Blitzortung.org</a> hobbyist lightning detection network.<br/>
Data supplied by Blitzortung network members using their home-built Blitzortung hardware.</p>

<p>The Blitzortung networks members build (from kit parts) the detector which monitors H-field   (and now can do E-field) emissions from lightning strikes, and has a set   of servers in Europe to correlate the Time-Of-Arrival at detectors v.s.   GPS-time and uses that to locate strikes.  There is a great (and somewhat hypnotic) <a href="http://www.blitzortung.org/Webpages/index.php?lang=en&amp;page_0=30">realtime map</a> for North America where you can see real-time strike info, and which stations participated in the location of that strike.  There is a companion site that offers the same data and uses a<a href="http://www.lightningmaps.org/blitzortung/america/index.php?lang=en"> zoomable Google Map</a> for display.</p>
<p>  For those interested in more information about Blitzortung, there is a Blitzortung forum in the US at <a href="http://www.wxforum.net/index.php?board=115.0">WXForum.net</a> and a <a href="http://www.blitzortung.org/Webpages/index.php?lang=en&amp;page=6">public forum</a> .. to access the internal forum, there, you'll need to have a Blitzortung member id. </p>

  </div>


</div><!-- end main -->
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline xcom

  • Forecaster
  • *****
  • Posts: 988
    • Texas Weather
Re: Saratoga template question
« Reply #2 on: August 13, 2015, 05:49:43 PM »
Sure, the script (gen-BO-maps.php) simply generates animated GIFs which can be used anywhere.

If you want to have the rest of the text from my page, here it is
Code: [Select]
<div id="main">
 
  <h1 id="pageName">Blitzortung Lightning</h1>
  <div class="story">
  <?php
     
if(file_exists('./BOmap/cache/BONorthAmerica-ani.gif')) {
 $fn './BOmap/cache/BONorthAmerica-ani.gif';
 } else {
 $fn './BOmap/cache/BONorthAmerica.png';
 }
 if(file_exists('./BOmap/cache/BONorthAmerica-map.html')) {
 include('./BOmap/cache/BONorthAmerica-map.html');
 }
  
?>

  <p><img src="<?php echo $fn;?>?<?php echo time(); ?>" alt="Lightning by Blitzortung network stations" title="Lightning by Blitzortung network stations" usemap="#BONorthAmerica"
  width="623" height="454" /></p>
  <p>Lightning Map Courtesy of <a href="http://www.blitzortung.org/Webpages/index.php?lang=en&amp;page_0=30">Blitzortung.org</a> hobbyist lightning detection network.<br/>
Data supplied by Blitzortung network members using their home-built Blitzortung hardware.</p>

<p>The Blitzortung networks members build (from kit parts) the detector which monitors H-field   (and now can do E-field) emissions from lightning strikes, and has a set   of servers in Europe to correlate the Time-Of-Arrival at detectors v.s.   GPS-time and uses that to locate strikes.  There is a great (and somewhat hypnotic) <a href="http://www.blitzortung.org/Webpages/index.php?lang=en&amp;page_0=30">realtime map</a> for North America where you can see real-time strike info, and which stations participated in the location of that strike.  There is a companion site that offers the same data and uses a<a href="http://www.lightningmaps.org/blitzortung/america/index.php?lang=en"> zoomable Google Map</a> for display.</p>
<p>  For those interested in more information about Blitzortung, there is a Blitzortung forum in the US at <a href="http://www.wxforum.net/index.php?board=115.0">WXForum.net</a> and a <a href="http://www.blitzortung.org/Webpages/index.php?lang=en&amp;page=6">public forum</a> .. to access the internal forum, there, you'll need to have a Blitzortung member id. </p>

  </div>


</div><!-- end main -->

Ken,

Thank you so much!
Where can I download the script from?

Thanks in advance!

Regards,
-

----
Davis Vantage Vue|Meteohub 5.0l (Build 7293) Running on Debian 7.9 x86 (oVirt)|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 6534
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Saratoga template question
« Reply #3 on: August 13, 2015, 06:49:00 PM »
Sent you a PM with the link...
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline xcom

  • Forecaster
  • *****
  • Posts: 988
    • Texas Weather
Re: Saratoga template question
« Reply #4 on: August 13, 2015, 11:45:30 PM »
Ken,

All up and running but cant figure out why it wont animate, Also Cant seem to get any data when I click on a stations.

Any ideas?

TIA!

----
Davis Vantage Vue|Meteohub 5.0l (Build 7293) Running on Debian 7.9 x86 (oVirt)|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095

Offline xcom

  • Forecaster
  • *****
  • Posts: 988
    • Texas Weather
Re: Saratoga template question
« Reply #5 on: August 14, 2015, 09:30:10 AM »
Ken,

I found the issue but I am not sure how to fix it.
Fatal error: Class 'GIFEncoder' not found in /home/user/path/path/wxbomap/BOmapgen-inc.php on line 962

Any ideas?

Thanks!

----
Davis Vantage Vue|Meteohub 5.0l (Build 7293) Running on Debian 7.9 x86 (oVirt)|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095

Offline xcom

  • Forecaster
  • *****
  • Posts: 988
    • Texas Weather
Re: Saratoga template question
« Reply #6 on: August 14, 2015, 09:44:47 AM »
I got it fixed!
YAY! :D

----
Davis Vantage Vue|Meteohub 5.0l (Build 7293) Running on Debian 7.9 x86 (oVirt)|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095

Offline fpalafox

  • Member
  • *
  • Posts: 18
    • Hermosillo Weather
Re: Saratoga template question
« Reply #7 on: May 16, 2018, 05:45:39 PM »
Thank you Ken,

Could you share with me where I can get this Saratoga script, please? This is showed at:
http://saratoga-weather.org/NA-lightning.php


Thank you in advance.
Wunderground: ISONORAH5
CWOP: CW2548
AWEKAS: 7184
Blitzortung: 1023 Hermosillo,Mex
www.climason.com

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 6534
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Saratoga template question
« Reply #8 on: May 16, 2018, 05:52:01 PM »
The script is available, but is only usable if you have a Blitzortung lightning detector operating and sending data to blitzortung.org -- the data the script uses is accessible only using the Blitzortung userid:password .. it's not otherwise available.

Do you have a Blitzortung detector operational?  If so, I'd be pleased to send the script package.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline fpalafox

  • Member
  • *
  • Posts: 18
    • Hermosillo Weather
Re: Saratoga template question
« Reply #9 on: May 16, 2018, 06:24:42 PM »
Thank you Ken,
Yes, I have deployed my Blitzortung station 1023, located in Hermosillo, Mexico.

Thank you.
Wunderground: ISONORAH5
CWOP: CW2548
AWEKAS: 7184
Blitzortung: 1023 Hermosillo,Mex
www.climason.com

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 6534
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Saratoga template question
« Reply #10 on: May 16, 2018, 06:36:04 PM »
PM sent with instructions.. enjoy!
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything