AirRocker
00e03aa947
Regional forecast: skip points with a null grid instead of requesting gridpoints/null
...
api.weather.gov returns HTTP 200 for offshore marine stations (forecastOffice
NH2) but with gridId, gridX and gridY all explicitly null -- those locations
have no land grid. getAndFormatPoint copied those fields through unchecked, so
it returned a truthy object with null fields. The caller's `if (!point)` guard
cannot catch that, and the request is built as
https://api.weather.gov/gridpoints/null/null,null/forecast
https://api.weather.gov/gridpoints/null/null,null/stations?limit=10
both of which 404.
Validate the grid fields rather than just the wrapper object and return null
when any are missing, so the affected city is skipped and drops off the
regional map -- the same outcome the module already produces for a point that
fails to load.
Reproduces against the live API with stations KGHB ("GB172") and KVAF
("East Breaks 643"), and is visible in tests/index.mjs on Houston and San
Antonio, whose regional maps include Gulf platforms.
2026-07-27 16:11:13 -05:00
Matt Walsh
5ec61be62a
expand custom script options to mjs
2026-07-25 19:59:01 -05:00
Matt Walsh
3a7185b5a6
Merge pull request #231 from limelightdev/fix/hide-pressure-row-nan
...
Fix pressure row showing NaN in current conditions
2026-07-24 23:17:22 -05:00
Matt Walsh
2e87d174f1
test regional map layout in pixels close #199
2026-07-24 23:10:16 -05:00
Nick Jabbour
4d634777e7
fix pressure row showing NaN in current conditions
...
Some locations such as Denver return no pressure reading, which appears as "NaN" in the Current Conditions display. Hide the pressure row by default and only reveal it when the value is a valid number.
2026-07-25 02:59:18 +00:00
Matt Walsh
bc2d34ccd1
better regional city selection
2026-07-24 14:49:13 -05:00
Matt Walsh
ce5cbce02f
more regional cities to choose from
2026-07-24 13:46:42 -05:00
Matt Walsh
3018c5ecbc
fix no-data large icon url
2026-05-28 22:35:05 -05:00
Matt Walsh
a5451e1779
update media query string parameters close #221
2026-05-28 18:31:30 -05:00
Matt Walsh
5f366c2b71
spc outlook styling and background portrait close #167
2026-05-17 22:32:13 -05:00
Matt Walsh
922cc21579
portrait spc additional data #167
2026-05-15 21:27:39 -05:00
Matt Walsh
24cb8cfc7b
fix propigation of settings when changing modes #210 #188 #167
2026-05-11 14:12:51 -05:00
Matt Walsh
c3764f566b
portrait full screen sizing close #210
2026-05-11 14:00:26 -05:00
Matt Walsh
47b33988e6
css cleanup
2026-04-28 16:27:01 -05:00
Matt Walsh
5bbc032c5e
radar portrait #167
2026-04-22 22:23:10 -05:00
Matt Walsh
0395e2cd08
portrait almanac #167
2026-04-22 21:36:29 -05:00
Matt Walsh
033bed96b9
Merge branch 'screen-enhance' of github.com:netbymatt/ws4kp into screen-enhance
2026-04-22 19:50:24 -05:00
Matt Walsh
5bbf487dd6
portrait extended forecast #167
2026-04-22 19:42:44 -05:00
Matt Walsh
8c4d04840d
portrait local forecast #167
2026-04-20 16:25:43 -05:00
Matt Walsh
38d5132281
portrait regional forecast #167
2026-04-20 15:13:23 -05:00
Matt Walsh
0f1c12bf67
progress/menu #167
2026-04-20 14:21:32 -05:00
Matt Walsh
cd2035490a
portrait hourly graph #167
2026-04-19 22:14:30 -05:00
Matt Walsh
125490c158
portrait latest observations #167
2026-04-19 14:58:54 -05:00
Matt Walsh
ad05f4c580
portrait current conditions #167
2026-04-19 14:39:59 -05:00
Matt Walsh
e37c58a0ab
split webpack builds
2026-04-18 14:03:06 -05:00
Matt Walsh
5adf74feee
Merge branch 'main' into screen-enhance
2026-04-15 09:40:02 -05:00
Matt Walsh
62fbe1787f
switch local forecast to mixed case for better readability and to match the latest captures from the late '00s
2026-04-14 08:52:36 -05:00
Matt Walsh
994c9240b8
shorten permalinks close #206
2026-04-13 16:19:26 -05:00
Matt Walsh
27d75ba62d
current observations don't show like when the same close #207
2026-04-13 14:54:18 -05:00
Matt Walsh
63e089451d
restructure wide/enhanced settings close #205
2026-04-13 14:36:15 -05:00
Matt Walsh
a41b0da196
more generalized fix for mapclick enhanced timestamps close #203
...
moves changes made in 0b47cf79c1 to the mapclick processing for benefit of other mapclick calls
2026-04-09 12:18:56 -05:00
Matt Walsh
38d1455a4b
fix custom text scroll
2026-04-09 11:29:49 -05:00
Matt Walsh
30ec847ed5
Hide cursor in kiosk
...
via @iapetusz
2026-04-09 11:22:36 -05:00
Matt Walsh
d2bf8f3f99
fix radar tiles
2026-04-08 23:01:42 -05:00
Matt Walsh
f4289e6329
Merge branch 'main' into screen-enahnce/magic-number-code
2026-04-08 22:56:20 -05:00
Matt Walsh
0b47cf79c1
don't overwrite timestamps when enhancing with mapclick
2026-04-08 22:41:42 -05:00
Matt Walsh
dae5b20bc6
fix radar round/floor mismatch in calculations close #200
2026-04-08 11:39:25 -05:00
Matt Walsh
5dc214c6a5
filter station list upon receipt
2026-04-08 09:57:18 -05:00
Matt Walsh
ec1169e07b
redraw on entering/leaving enhanced close #198
2026-04-08 09:24:54 -05:00
Matt Walsh
eee4519095
almanac #188 #196 #194 #193
2026-04-07 14:17:26 -05:00
Matt Walsh
38cdb46c85
enhance current weather, latest observations #188 #196 #193 #194
2026-04-07 13:50:37 -05:00
Matt Walsh
e70639d7a6
local forecast enhanced-wide #188 #196 #193 #194
2026-04-07 10:38:12 -05:00
Matt Walsh
63d27d1a26
fix wide-enhanced radar tiles #188 #196 #193 #194
2026-04-06 16:53:11 -05:00
Matt Walsh
97ac0a1656
radar expanded, to do fix number of tiles
2026-04-06 16:41:03 -05:00
Matt Walsh
5fffc495ae
regional map enhanced #188 #193 #196
2026-04-06 00:35:24 -05:00
Matt Walsh
9f6b90919c
hourly enhanced #188 #195 #196 #193 #194
2026-04-05 23:58:50 -05:00
Matt Walsh
778b7f4456
almanac, current weather, extended forecast, hazards #193
2026-04-04 11:36:31 -05:00
Matt Walsh
443114f555
Add new screen enhancement settings close #195
2026-04-04 11:09:21 -05:00
Matt Walsh
15b68eba2f
fix extended forecast day names close #190
2026-03-26 14:44:13 -05:00
Matt Walsh
933a289d03
update dependencies
2026-03-26 14:12:38 -05:00