Re: [Flightgear-devel] Snow line based on METAR

2011-12-08 Thread Tuomas Kuosmanen
Hmm. As far as I know, METAR snow information only focuses on the runway surface. Imagine a nice sunny day in late march, where the runway is just dry asphalt, yet there can be lots of snow in the ground. On the other hand, if the runway surface has snow, we can pretty safely assume it exists on th

Re: [Flightgear-devel] Snow line based on METAR

2011-12-07 Thread Jari Häkkinen
On 2011-12-07 09.02, Robert wrote: > Does METAR contain this information? Not directly. METAR may contain information about gusty winds which is an indication of turbulence. Jari -- Cloud Services Checklist: Pricing a

Re: [Flightgear-devel] Snow line based on METAR

2011-12-07 Thread Robert
Is it possible to automatically set the turbulence based on METAR? Does METAR contain this information? -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, c

Re: [Flightgear-devel] Snow line based on METAR

2011-12-06 Thread Csaba Halász
On Tue, Dec 6, 2011 at 9:00 PM, Vivian Meazza wrote: > > I'm not sure that this is correct. Nasal listeners don't mind if a property > is tied or not - this must be true or else weather-utility.nas wouldn't work > to "untie" properties for use by effects. Effects use c++ listeners, and > these do

Re: [Flightgear-devel] Snow line based on METAR

2011-12-06 Thread Vivian Meazza
Csaba wrote: > -Original Message- > From: Halász [mailto:csaba.hal...@gmail.com] > Sent: 06 December 2011 16:55 > To: FlightGear developers discussions > Subject: Re: [Flightgear-devel] Snow line based on METAR > > On Tue, Dec 6, 2011 at 5:15 PM, Gijs de Rooy wro

Re: [Flightgear-devel] Snow line based on METAR

2011-12-06 Thread Gijs de Rooy
Hi Csaba and Torsten, > valid thanks for the tip! Seems to work fine now. Will do some more testing and cleanups before I commit the working stuff :) Gijs -- Cloud Services Che

Re: [Flightgear-devel] Snow line based on METAR

2011-12-06 Thread Torsten Dreyer
Hi Gijs, here is a better solution: there is a property "valid" in /environment/metar which fires the listeners. The property is true if and only if there given metar string is a valid metar report. The valid property will be written true every time a new metar string is written (and parsed).

Re: [Flightgear-devel] Snow line based on METAR

2011-12-06 Thread Csaba Halász
On Tue, Dec 6, 2011 at 5:15 PM, Gijs de Rooy wrote: > > I wrote a Nasal script, everything works fine, but I stumble accross a > problem with my listener. For > some reason the snow-cover property seems to be tied and therefore it always > reports "nil" to a > listener (AndersG said so, I got no i

[Flightgear-devel] Snow line based on METAR

2011-12-06 Thread Gijs de Rooy
Hi, I've been trying to make the shader's snow line listen to METAR. METAR reports whether an airport has snow on the ground or not. Apparently FlightGear was already set up to read this and put it in a property: /environment/metar/snow-cover. I wrote a Nasal script, everything works fine, bu