nope there is no short write up i kind of reap the benefit of using meteobridge to do it all for me because its all automated in the background to run at 0800 1400 2000 hrs
you need to able to get
wind bearing direction average for last 12 hours in numbers
a barometer reading at 12 hours ago in mb
current barometer
current wind direction bearing
current temp
current month to determine season
you can set output to return in kmh,mph,kts,ms
script runs more accurately for me at 0800 1400 2000 most just run script once per day at 0600 hrs
i think use the link from above and study the info i took a few moths before I really understood it all and how to tweak it for reliable use
// ONLY CHANGE THIS IF ABSOLUTELY NECESSARY! Sometimes, depending on your location, a barometric pressure offset is needed if the wind is consistently being forecasted too high or too low. On Line 17 below, change 0 to 10 if the winds are being predicted too high or -10 if they are being predicted too low. If 10 is not enough, try 15 or 20. If 10 is too much, try 5. Barometric pressure is converted to hPa in these PHP Scripts. The number below simply adds or subtracts from the hPa barometric pressure:
$po =0;
// Coordinates:
$lt = $lat;
$lg = $lon;
// Temperature Information:
$tr = $weather[‘temp’];
$ts = ‘C’ ;
// Barometric pressure, trend, and unit used:
$bp = $weather[‘barometer’];
$bt = $weather[‘barotrend’];//trend 12 hours
$bu = $weather[“barometer_units”];
// Month Name to determine season:
$mn = date(‘F’);
// Wind Bearing:wind bearing now
$bd = $weather[‘wind_direction’];
// Average wind bearing from 12 hours ago and wind speed unit used:
$b6 = $weather[“wind_direction_avg”];
$wu = $weather[“wind_unit”];;// Can be entered manually as “km/h”, “kts”, “m/s”, or “mph”.
// End WEATHER34 Variables.