Current Wind Speed higher than Wind Gust on auto updated wxindex.php and wxtrends.php

Issue #26 resolved
Gary Roderick created an issue

Wxindex.php and wxtrends.php take their initial values from testtags.php with, if auto updates are enabled, take dynamic updates from clientraw.txt. Wind Speed and Wind Gust is provided through testtags.php by $current.windSpeed and $current.windGust respectively. Clientraw.txt field 002 and 140 are used to dynamically update current Wind Speed and Wind Gust respectively. Field 002 is fed by $current.windGust and field 140 is fed by $current.windSpeed. Consequently, dynamic updates current wind speed and current wind gust swap the two values. Solution is to swap the values assigned to fields 002 and 140 in clientraw.txt

Comments (1)

  1. Log in to comment