Tom - I agree with you - my suggestion is 'wrong' but provided (I think) a possible workaround to 'solve' Per's specific problem where his station appeared to not be providing the data to match the .conf file and provide output without requiring the editing of all templates - which was the issue Per raised. Definitely not an elegant solution, definitely more a workaround, definitely probably poses more problems than solutions - and may not even have been a solution of any kind - more a suggestion. Sorry if it was a little misleading.
On Tuesday, 3 January 2017 04:21:10 UTC+2, Tom Keffer wrote: > Respectively disagree. They are different measurement, which require > different labels. A level of indirection would just confuse people, plus be > harder to debug. > > -tk > > On Sat, Dec 31, 2016 at 9:00 AM, Per Edström <[email protected] > <javascript:>> wrote: > >> .. I also have to modify all .tmpl files that create the web pages. Quite >> messy.. >> There should be a local variable that does this globally i.e. change in >> skin.conf only.. >> >> air_pressure = barometer >> or >> air_pressure = pressure >> or >> air_pressure = altimeter >> >> -- >> 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] <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.
