Marine "point-and-click" forecast script

Does anyone know of a marine “point-and-click” script that does the same thing as the advforecast.php script does for the public point-and-click forecast? I’ve noticed a nice marine forecast like this on a few pages. Thanks in advance. -Chris

Never tried but can you use the advforecast script for the NWS point and click marine?

http://forecast.weather.gov/MapClick.php?site=lwx&FcstType=text&zmx=1.0416666666666667&zmy=1.0416666666666667&site=LWX&map.x=332&map.y=87&TextType=1

which is pulled from the “Printable Forecast” from here: http://forecast.weather.gov/MapClick.php?site=lwx&FcstType=text&zmx=1.0416666666666667&zmy=1.0416666666666667&site=LWX&map.x=332&map.y=87

Yeah that’s what I’m wondering. I’m sure somebody else has modified that script to make a marine forecast. I have seen it on some other sites. I kinda tried doing but, but with no luck.

I use this code

<?php
 $url = 'http://weather.noaa.gov/cgi-bin/fmtbltn.pl?file=forecasts/marine/coastal/an/anz330.txt';
 $output = file_get_contents($url);
 echo $output;
?>

Which is just included into this page http://stillweather.com/numarine.php

You will have to change the anz330.txt to the one you need, search pages like this one http://www.erh.noaa.gov/er/okx/marine.shtml for the right text file. It’s very simple but it works!

Jack

My marine page (although I live a few hours away) has been modified from another script on the forum which lets you select a coastal WFO from a drop down menu and get a coastal forecast. Let me know if your interested in the code and I will post.

http://www.harpersferry-weather.com/wxmarinefcst.php

John

I too can offer up mine: http://www.relayweather.com/wxmarineforecast.php
It basically utilizes the following url: http://forecast.weather.gov/shmrn.php?mz=[color=red][b]6 DIGIT ZONE HERE[/b][/color]
(Example: http://forecast.weather.gov/shmrn.php?mz=ANZ538)
and displays multiple zones via a drop down box selection.
You can add as many zones as you wish.

I too can offer up mine: http://www.relayweather.com/wxmarineforecast.php

Far better than mine, :oops: I’d be interested!

Regards,

Jack

Thanks. I found what I was looking for through Tom at carolinastormwatch.com. You can see it
here http://moreheadcityweather.com/wxmarine.php I’m always open to newer ideas however.