Apr 072010

I’ve gone ahead and removed the unused model that was discontinued last year and added the GEFS and SREF models. I’ve also discovered why some of the valid dates will not stay the same when you hold down ‘shift’ when changing model runs. I’ll have to create a new property for the model that holds how far apart the model runs are from one another, rather than simply using the next hour in the run.

As always, you can check out the latest version at http://www.kwixs.net/ncep/

Apr 062009

I’ve gone ahead and updated the code to support templated image URLs. This makes for supporting a wider range of image sources much easier. This also means that it will be supporting more than just NCEP images, so the name and location will be changing soon. I may leave the NCEP version up just for those images on NCEP.

Because of the possible sources for images, I’ll be creating a new interface so you can add/remove any source you want from the viewer. I doubt those in the Plains will really want the DTX WRF runs.

And that’s the other addition to this version, the DTX WRF Hemispheric resolution runs are now available. Currently it only supports the latest run, so there’s no way to look at the previous run and the current, but new version are being worked on by DTX so stay tuned on that front. I may also incorporate some sort of archiving locally so I can support this feature even if DTX does not.

As always, let me know if there are any bugs or additions you’d like to see.

Feb 082009

I’ve gone ahead and added support for image links so you can share the images more easily. An idea is to allow the user to cache the image to the server so that they can get it later and will last longer than 24 hours, when the next day’s run is done.

I’ve also made the menu smaller so that more image fits on the screen. I may change this back but for now it works.

I’m also looking into making the script aware of the model runs’ start and stop times. I’m not sure if I want to do this for each image, assume an integral of time for each image to finish or simply wait until the whole run is complete (which would still be an assumption). The benefit to this is allowing the user to change model runs that are a day behind and still keep the valid date the same. Right now this only works with runs of the same day where if you do this to a run of the previous day you will be behind 24 hours.

Of course, if I start using the server-side for this then all is moot since I’ll be able to check the modified-date on the image itself. This would also be a good time to start thinking about caching the images to relieve the strain on the NCEP servers.

Feb 032009

It came to my attention that the viewer was not working in IE7. From what I can tell, the options property of SELECT elements, does not mean all the OPTION tags below the SELECT. Instead, it’s a collection of that SELECTS properties.

In any case, I changed how I was getting the collection of OPTION tags and all was well. IE7 is now working.

Feb 012009

I’ve whipped up little JavaScript based viewer for the weather forecast models provided by the NCEP (National Centers for Environmental Prediction). It’s primary benefit is that you can use the keyboard to change various aspects of what you’re looking at.

It’s on my KWiXS playground so things may come and go on it. I’ll release a finished version in a few weeks when I get some time to find the bugs.

Take a look and feel free to comment here on what you’d like to see fixed, changed, or added.