hmm I have never used DAWS but I got contacted by Neon who said my script would not work with DAWS missions
normal mission file data for wind section
["wind"] =
{
["at8000"] =
{
["speed"] = 0,
["dir"] = 0,
}, -- end of ["at8000"]
["atGround"] =
{
["speed"] = 0,
["dir"] = 0,
}, -- end of ["atGround"]
["at2000"] =
{
["speed"] = 0,
["dir"] = 0,
}, -- end of ["at2000"]
}, -- end of ["wind"]
DAWS mission file provided to me same section
mission["weather"]["wind"] = {}
mission["weather"]["wind"]["at8000"] = {}
mission["weather"]["wind"]["at8000"]["speed"] = 7
mission["weather"]["wind"]["at8000"]["dir"] = 273
mission["weather"]["wind"]["atGround"] = {}
mission["weather"]["wind"]["atGround"]["speed"] = 3
mission["weather"]["wind"]["atGround"]["dir"] = 270
mission["weather"]["wind"]["at2000"] = {}
mission["weather"]["wind"]["at2000"]["speed"] = 5
mission["weather"]["wind"]["at2000"]["dir"] = 264