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

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
Best ZOOM R8 tutorial book
highly rated, get recording quick!

080222

More articles to check out

  1. Ibanez does a "Negative Antigua" finish
  2. The guitar some buy in threes because they can: Grote GT-150
  3. You're not allowed to change a brake light in a new car?
  4. Unexpected surprise, Casio F201
  5. Why the Epiphone Explorer is better than the Gibson (for now)
  6. You should surround yourself in guitar luxury
  7. Forgotten Gibson: 1983 Map Guitar
  8. Casio MTP-V003, the one everyone missed
  9. Just for the look: Peavey Solo guitar amp
  10. Spacehunter, that '80s movie when 3D was a thing