When I mention I’ve been coding most of you have no clue what I’m talking about. A little explanation today. Coding is among the most rewarding and frustrating things I do!
First, an acknowledgment. I have a mentor in Greg Senia from Shelton. The amount of help he’s given me is immeasurable. I’d be dead in the water without him.

Coding simply means writing instructions a computer program can read. Each program has its own little language with strict rules. They’re all similar, but all different.
Spelling counts and only 100% passes. Keys you didn’t know existed like “|” and “`” and “{}” and “[]” become critical.
Most of what we do with computers and cellphones is done in real time. We’re in control. The programs I write run autonomously, sometimes without a keyboard or monitor, triggered by a clock. They won’t run years without any intervention, but they’re pretty dependable day-to-day.
My goal is animated maps at HD quality. Some of these short movies contain 120 separate maps. Each map is rendered individually and sandwiched between a basemap and overlay. The mp4 HD movie is made next. Once created it’s scanned to produce the optimum 256 color colortable for the animated gif. Phew.
My code has to communicate with three separate programs and the computer’s Linux operating system. Files and values are passed back and forth as the different programs perform different parts of the process. One of my scripts takes nearly a half hour to run while gobbling up a few gigs of data, writing over 7,000 separate maps and producing more than fifty animated HD movies.
TV stations purchase expensive systems to do this. This seemed like a better idea for me. It’s a ton of work and extremely unforgiving but the payoff is huge.
The programs I’m using, GrADS, ffmpeg and QGIS are all open source and free as is the Linux operating system, the cartography and weather databases and even the “Open_Sans” font family I’m using.
These programs are thinly used. Help is often tough to find. A few weeks ago I spent a full night looking for a problem causing a crash every time a certain program ran. Greg found it within thirty seconds. He’s a lot more experienced. Beyond that, my text editor conspired by breaking up long lines in a way which hid the cause. A true FML night.
Tonight Greg figured out how to label the correct time and time zone on forecast maps, stumbled upon a bug that would have randomly bit us later and showed me how to re-write all my code as a series of modules.
Yeah — rewrite all my code. I’m working toward long term efficiency, but it will cause pain today.
He’s given me some sample code and hints at approaching problems. Now I have to make it happen.
Write once. Run many.
Still to come, radar maps in real time and numbers on my forecast temperature maps. I am very pleased with how this is working out. Take a look at some samples below. The high quality mp4’s have around ten times the resolution!