rich menga books gear search about contact
***Secret FSR Fender guitars? Yes, they exist, and they're right here

Amazon links are affiliated. Learn more.

metar

It's amazing how much CRAP you have to go thru just to get a simple thing to work.

This is what I wanted to get to work: Show the current temperature for Tampa, in text, on the sidebar of my blog.

Simple enough, right?

Pff.. you wish. 🙂

NOAA provides METAR data access to anyone who wants it. All you have to know is the ICAO location indicator for region (which I do) and then put together a lil' PHP script to grab the data.

The problem is that the METAR data is different dependent on what ICAO location indicator you use.

So anyway I've been messing around with some PHP scripts I found to do the utterly simple thing of showing the current temperature in Fahrenheit.

I cannot believe how much CRAP I'm having to do just to have that tiny lil' bit of data.

So you may be asking at this point "Um.. why? You can just use free weather graphics from other sites."

I don't want graphics. I want plain text. From NOAA. Directly. It loads really really fast, doesn't slow down my site and never goes down.

If I get it to work you'll see it on the sidebar.

-- edit --

I got it to work. Yippy-ki-yay. You can see it on the sidebar. Don't know if I'll keep it around or not but it's cool to have.

image
A classy guitar t-shirt for classy people

image
Best ZOOM R8 tutorial book
highly rated, get recording quick!

080222

More articles to check out

  1. The classiest little Casio, AQ230
  2. Old internet humor has not aged well
  3. Where can a middle aged guy get plain sneakers these days?
  4. An HSS guitar I can actually recommend
  5. The 1,000 year disc, M-DISC
  6. The watch you buy when your smartwatch breaks
  7. This is the cheapest way to get guitar picks
  8. This is the Squier I'd buy had I not just bought one
  9. Plywood might be one of the best electric guitar tonewoods
  10. Why isn't The Whoopee Boys a cult classic?