One thing to note is that code doesn't seem to do any conversion for magnetic deviation. Instructions I've found say that (acurite) wind sensors should be installed with reference to true north (though I imagine this isn't always the case). OTOH, runways are in magnetic, so the conversion needs to be done. OTOH, now that I look at the code they don't seem to be calculating the deviation from rwy heading (or the xwind component), but instead just plotting the vector.
On Wednesday, October 11, 2017 at 3:37:19 PM UTC-7, [email protected] wrote: > > I figured out commenting the Set title block after I posted yesterday. Now > no text. > > I have changed line 69 "width=" all the way up to 10.0 and the arrow line > width width doesn't change. I attached a screen grab of the project. Get > over this hump and it's smooth sailing I hope. Going to use the Airmar > 150mx so that will be the next hurdle. > > On Saturday, April 12, 2014 at 4:18:31 PM UTC-5, [email protected] > wrote: >> >> Hi, >> >> I want to customize weewx to calculate and display wind vectors for a >> given airport runway, using the current windSpeed and windDir. (windvector >> in runway direction and its crosswind vector) >> >> I am thinking and testing it like this: >> >> - Putting the runway directions (heading) in the weewx.conf file. >> - Creating a new service (inheriting from class StdService) which >> calculates the vectors for every NEW_ARCHIVE_RECORD event triggered: >> Retrieve windSpeed, windDir from the the new record. Retrieve runway >> directions from the config dictionary. Calculate current runway wind >> vectors. >> >> Now how do I get the values to the Cheetah template engine so that I can >> reference them in a template? Do I need to store them in the Archive as new >> statistics? I am not interested in storing the calculated values. I have >> looked at the MyXSearch extension for updating the search list. But I don't >> see how I can pass on the values here. I am new to Python, but have a fair >> understanding of classes/OO. >> >> I think that digging through the weewx source code is an excellent way to >> learn both Python and Object mechanisms! What a well structured piece of >> software! >> >> /Jordi >> >> >
