Skip to content

Commit 719c94c

Browse files
author
xss
committed
Revert "Temporary fix for issue with gateway uploding lat lon alt as strings"
This reverts commit cd01c81.
1 parent efecac9 commit 719c94c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

js/format.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@ function formatData(data) {
4848
var aprsflag = false;
4949
dataTempEntry.callsign = {};
5050
maximumAltitude = 0;
51-
52-
// Temporary fix to block bad data from DG4NOB_WSPR_GW
53-
// This needs to be removed ASAP.
54-
// Basically this gateway was uploading fields like lat, lon, alt, everything really
55-
// as strings instead of numbers. Not sure how that got through sondehub, but it did
56-
// and caused a lot of the stuff below to break because strings dont have toPrecision
57-
if(data[key][i].software_name=='DG4NOB_WSPR_GW'){
58-
continue;
59-
}
60-
6151
if (vehicles.hasOwnProperty(data[key][i].payload_callsign)) {
6252
maximumAltitude = vehicles[data[key][i].payload_callsign].max_alt;
6353
if (data[key][i].datetime == vehicles[data[key][i].payload_callsign].curr_position.gps_time) {

0 commit comments

Comments
 (0)