WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Custom Website Templates => Topic started by: txweather.org on August 13, 2015, 02:17:00 PM

Title: Saratoga template question
Post by: txweather.org 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!
Title: Re: Saratoga template question
Post by: saratogaWX 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 -->
Title: Re: Saratoga template question
Post by: txweather.org 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,
-
Title: Re: Saratoga template question
Post by: saratogaWX on August 13, 2015, 06:49:00 PM
Sent you a PM with the link...
Title: Re: Saratoga template question
Post by: txweather.org 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!
Title: Re: Saratoga template question
Post by: txweather.org 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!
Title: Re: Saratoga template question
Post by: txweather.org on August 14, 2015, 09:44:47 AM
I got it fixed!
YAY! :D
Title: Re: Saratoga template question
Post by: fpalafox 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.
Title: Re: Saratoga template question
Post by: saratogaWX 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.
Title: Re: Saratoga template question
Post by: fpalafox 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.
Title: Re: Saratoga template question
Post by: saratogaWX on May 16, 2018, 06:36:04 PM
PM sent with instructions.. enjoy!
Title: Re: Saratoga template question
Post by: ConligWX on October 31, 2018, 09:35:55 AM
Ken, have sent you an email, but just found this thread. is there any possibility I could get the script too? I'm running Saratoga Templates and a Red System too.
Title: Re: Saratoga template question
Post by: saratogaWX on October 31, 2018, 10:01:56 AM
Sure.. PM sent with instructions.. enjoy!