Author Topic: saratoga template (Hurricane script)  (Read 1029 times)

0 Members and 1 Guest are viewing this topic.

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1597
    • Texas Weather
saratoga template (Hurricane script)
« on: June 03, 2019, 07:55:35 PM »
The Hurricane script is not auto adjusting the image... Se here:

https://www.txweather.org/wx_nhca.php

How can I fix it?

TIA!

----
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 saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: saratoga template (Hurricane script)
« Reply #1 on: June 03, 2019, 08:29:47 PM »
It's not one of my scripts.. I suggest you contact the script author.  Generally, setting just a width="620" in the image statement should autoscale (via the browser) the image to better fit in the narrow-aspect template page.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1597
    • Texas Weather
Re: saratoga template (Hurricane script)
« Reply #2 on: June 03, 2019, 08:57:48 PM »
It's not one of my scripts.. I suggest you contact the script author.  Generally, setting just a width="620" in the image statement should autoscale (via the browser) the image to better fit in the narrow-aspect template page.

Thanks Ken, I have no clue where I got it from! LMAO. Ill try and figure it out. Thanks again!

Edit: I figure out where the img links were and added new options.

Thanks again Ken!
« Last Edit: June 03, 2019, 09:04:18 PM by txweather.org »

----
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 gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: saratoga template (Hurricane script)
« Reply #3 on: June 04, 2019, 12:12:00 AM »
Mea culpa, but it looks like I haven't tagged the script as being mine--sorry.

The Central Pacific Graphical Tropical Weather Outlook image wasn't displaying because the URL changed slightly, but I'm not sure what txweather's issue was.  I'm unable to see his script with '?sce=view' to see what version he's running.

A corrected 'nwshurricanecenter.zip' is on my scripts page.

Regards, Jerry Wilkins
gwwilk@gmail.com

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1597
    • Texas Weather
Re: saratoga template (Hurricane script)
« Reply #4 on: June 04, 2019, 09:48:24 AM »
Mea culpa, but it looks like I haven't tagged the script as being mine--sorry.

The Central Pacific Graphical Tropical Weather Outlook image wasn't displaying because the URL changed slightly, but I'm not sure what txweather's issue was.  I'm unable to see his script with '?sce=view' to see what version he's running.

A corrected 'nwshurricanecenter.zip' is on my scripts page.



Yea, I fixed mine. Its like 6yrs old... LOL I copied from my old server. Ill update to your new 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 MackerelSky

  • Contributor
  • ***
  • Posts: 113
    • McKean County Weather, Smethport Pa.
Re: saratoga template (Hurricane script)
« Reply #5 on: June 24, 2019, 05:02:25 PM »
Another nice script Jerry, and hope things are treating you well heading into the the summer.

Still working on this script locally.
One question tho.
In both your nhca and nhcp outlook scripts, around line 64/65 you have this in the code
Code: [Select]
<td align="left">GIS data: &nbsp;<a href="http://www.nhc.noaa.gov/gtwo/two.zip">.shp</a></td>
That link comes back a 404 and doesn't look quite finished with the '.shp'. Was/is there some reason for it there, or should we just delete it?

Thanks,

Brad
« Last Edit: June 24, 2019, 05:03:57 PM by MackerelSky »
Mckean County Weather
Located on upper Marvin Creek
https://mckeanweather.com/
Davis VP2 + fars
Cumulus 1.9.4-b1092

 

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: saratoga template (Hurricane script)
« Reply #6 on: June 24, 2019, 06:31:24 PM »
Hi Brad,

This is a bit of legacy code whereby a GIS file could be downloaded.  This no longer appears on the NHC pages, so I've eliminated it in the latest version of 'nwshurricanecenter.zip' on my scripts page.

Thanks for picking up on this. [tup]
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline MackerelSky

  • Contributor
  • ***
  • Posts: 113
    • McKean County Weather, Smethport Pa.
Re: saratoga template (Hurricane script)
« Reply #7 on: June 24, 2019, 07:51:16 PM »
Thx for the quick reply Jerry, have removed the link.

Hope you don't mind, but I've included a link to your scripts at the bottom of the Atl/Pac pages since you are now the 'go to' on this script. Let me know if you want it removed...

https://www.mckeanweather.com/mwtropix.php

Brad
Mckean County Weather
Located on upper Marvin Creek
https://mckeanweather.com/
Davis VP2 + fars
Cumulus 1.9.4-b1092

 

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: saratoga template (Hurricane script)
« Reply #8 on: June 25, 2019, 08:50:48 AM »
For some reason I never claimed this script, Brad.  Thanks for the attribution.

I've placed a mea culpa at the bottom of the two main scripts in a new zip on my scripts page.
Regards, Jerry Wilkins
gwwilk@gmail.com

 

anything