Skip to content

Commit 650adbf

Browse files
Mark JessopMark Jessop
authored andcommitted
Updates to skewt library
1 parent 599517d commit 650adbf

File tree

3 files changed

+1786
-4
lines changed

3 files changed

+1786
-4
lines changed

css/skewt.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/skewt.js

Lines changed: 1783 additions & 1 deletion
Large diffs are not rendered by default.

js/tracker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,7 @@ function skewTdraw (callsign) {
25262526
}
25272527

25282528
_temp = null;
2529-
_dewp = -999.0;
2529+
_dewp = -1000.0;
25302530
_pressure = null;
25312531

25322532
// Extract temperature datapoint
@@ -2550,7 +2550,7 @@ function skewTdraw (callsign) {
25502550
// Calculate the dewpoint
25512551
_dewp = (243.04 * (Math.log(_rh / 100) + ((17.625 * _temp) / (243.04 + _temp))) / (17.625 - Math.log(_rh / 100) - ((17.625 * _temp) / (243.04 + _temp))));
25522552
} else {
2553-
_dewp = -999.0;
2553+
_dewp = -1000.0;
25542554
}
25552555
}
25562556

0 commit comments

Comments
 (0)