currentUS and metarCustom Blocks Not Working
Posted: Wed Oct 18, 2023 12:04 am
Greetings everyone. In the process of finalizing my new weather website at my new home in Oklahoma (used to live in the Houston area; new site is at https://www.nicholscreekwx.com). I'm utilizing a stock and then a customized currentUS block to show METAR observations for airports in my immediate vicinity, and then some in other locations that I am interested in following. I know the list is sort of long, but it has always seemed to perform well on cache expiration (or maybe I just don't notice slower load times because it is further down on my page; they are in the right column below the Storm Prediction Center's convective outlook block, and the severe weather probability block).
Things have been working great for the past several weeks with no noticed trouble as I've been tweaking the site. However, this morning I noticed that both of the blocks were empty, and remained empty across several page refreshes. Then, poof, the data started coming in. The problem is that while it looks like it is pulling data for the ICAO codes I'm requesting, instead of labeling them with the airport's name/code, it shows "Unknown Station" for each line item.
Also, I haven't tested in a few days, but the metarCustom block returns (or at least shows) no data on the lines. I've tried ICAO codes for airports all over the place, and nada. Coincidence?
FYI, I did delete the cache files for the two currentUS blocks, and I'm seeing the same thing ("Unknown Station"). Also, for a while this afternoon, all of the locations dropped off again before everything repopulated with data, but still with the "Unknown Station" labels. In case it matters, for the Current Regional Observations block (the one I customized) is pulling the following airport codes: KOKC,KPWA,KHSD,KRCE,KTIK,KGOK,KOUN,KEND. The stock currentUS block right below is pulling these codes: KIAH,KDWH,KSGR,KGLS,KAMA,KMLC,KBRO,KHRL,KPIL,KBTR,TJSJ.
I do know that aviationweather.gov launched their new website yesterday. Wondering if that might have something to do with the trouble with either or both of the blocks?
I don't mind popping the hood and throwing some code at the trouble, but to be honest, this one has me a little stumped. Anyone having the same trouble, or have any thoughts, ideas, suggestions? Any help/guidance is much appreciated! Thanks in advance!
Things have been working great for the past several weeks with no noticed trouble as I've been tweaking the site. However, this morning I noticed that both of the blocks were empty, and remained empty across several page refreshes. Then, poof, the data started coming in. The problem is that while it looks like it is pulling data for the ICAO codes I'm requesting, instead of labeling them with the airport's name/code, it shows "Unknown Station" for each line item.
Also, I haven't tested in a few days, but the metarCustom block returns (or at least shows) no data on the lines. I've tried ICAO codes for airports all over the place, and nada. Coincidence?
FYI, I did delete the cache files for the two currentUS blocks, and I'm seeing the same thing ("Unknown Station"). Also, for a while this afternoon, all of the locations dropped off again before everything repopulated with data, but still with the "Unknown Station" labels. In case it matters, for the Current Regional Observations block (the one I customized) is pulling the following airport codes: KOKC,KPWA,KHSD,KRCE,KTIK,KGOK,KOUN,KEND. The stock currentUS block right below is pulling these codes: KIAH,KDWH,KSGR,KGLS,KAMA,KMLC,KBRO,KHRL,KPIL,KBTR,TJSJ.
I do know that aviationweather.gov launched their new website yesterday. Wondering if that might have something to do with the trouble with either or both of the blocks?
I don't mind popping the hood and throwing some code at the trouble, but to be honest, this one has me a little stumped. Anyone having the same trouble, or have any thoughts, ideas, suggestions? Any help/guidance is much appreciated! Thanks in advance!