Ok, I think there are a couple of issues here. Firstly, I cannot get your weekly plots to display, the page gives an error in plot.js; it seems that I updated plot.js after I put out the most recent weewx-Highcharts release but never updated the plot.js that is listed separately on the release. Try replacing your existing plot.js with this one <https://raw.githubusercontent.com/gjr80/weewx-highcharts/master/web%20server/scripts/plots.js>. Hopefully that will get your weekly plots displaying.
As for the 90 degree wind direction, that is actually the yearly plot (it uses year.json not week.json)not the weekly plot. The yearly plot displays daily values appropriate to the observation being plotted. For outTemp this is daily min, max and avg, for windSpeed this is day gust, day max 5 min average speed and day average speed. For windDir the day vector average direction is plotted. For some reason this is being set to 90 degrees or null (open up the direction plot to display the full suite of data not just the last month that it defaults to). I note your week.json has windDir that is very close to 270 degrees nearly all the time, maybe there is some funny vector averaging going on, I think not as it would not give exactly 90 degrees all the time. I need to look into this further. The bottom line is what data highcharts is plotting appears consistent with the data it is being fed. I expect once the plot.js issue is fixed the weekly plots will render fine as will the weekly windDir plot. I need to look further at how the year winDir data is generated. Gary On Sunday, 2 September 2018 01:12:15 UTC+10, Praveen Chandrasekaran wrote: > > And the output graphs are available now at: > > http://bedi.co.in:15000/pc-aws/weather/graphs.html?graph=w > > As you can see direction graph is all 90 degrees. Apart from that > everything else works and is awesome. > > On Sat, 1 Sep 2018 at 19:56, Praveen Chandrasekaran <[email protected] > <javascript:>> wrote: > >> Hi Gary, >> >> My json can be taken from >> >> http://bedi.co.in:15000/pc-aws/weather/json/week.json >> >> As you can see wind direction is all fine in this but graphics shows all >> as 90 degrees >> >> Regards, >> Praveen >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/WgCKuU-gBcU/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
